Disable F8 Win98 Boot Disk Startup Menu Patching IO.SYS
#1
Posted 24 May 2008 - 07:21 AM
#2
Posted 24 May 2008 - 04:35 PM
You can use an XP or vista disk and use the recovery console on it, same thing as a 98 boot disk anyway.
As for doing what you want, i doubt anyone here knows, we all moved long gone from that OS. Is it really that important, why would you need to disable the F8 menu?
#3
Posted 24 May 2008 - 08:04 PM
I want to disable it for security reasons.
#4
Posted 24 May 2008 - 08:43 PM
BootKeys=0in msdos.sys. This disables the boot keys when booting from the hard drive. I'm not aware of anything you can change that will prevent boot keys from being used with a boot floppy or CD other than changing the boot order in the BIOS. That's only effective if your BIOS has password protection.
I'd also suggest that you post questions regarding 98 in the Windows 95/98/98SE/ME of this forum where you'll get far more useful and civilized answers.
Rick
#5
Posted 24 May 2008 - 11:50 PM
Also topic moved to 9x Forums, good luck
#6
Posted 25 May 2008 - 10:07 PM
I think you might solve your problem by using BCDW 1.50Z instead of JO.SYS to get the menu you want working from the CD and disable F8 via msdos.sys. I'm not saying it's going to be easy, but I think it can be done. HTH.
Obs.: As you're new to this forum, let me point out to you that the underlined parts in this post are clickable links.
This post has been edited by dencorso: 25 May 2008 - 10:08 PM
#7
Posted 25 May 2008 - 11:41 PM
In case of the Windows 9x MSDOS.SYS file there are some other problems related to removable media. The boot menu is always displayed, when there are no certain Windows files on the media and the MSDOS.SYS file does not contain just the ";SYS" line. This option tells IO.SYS to not to look for the windows files, and not to check registry files on boot. Adding any other line with settings will force the registry checks, back again. (Perhaps there is some way to prevent it, but I do not know how to do it).
#8
Posted 26 May 2008 - 12:38 AM
[Options] BootDelay=0 BootMulti=0 BootGUI=0 BootKeys=0 Logo=0
... with JO.SYS absent, of course!
This post has been edited by dencorso: 26 May 2008 - 12:39 AM
#9
Posted 26 May 2008 - 01:45 AM
http://www.boot-land...?showtopic=4754
jaclaz
#10
Posted 26 May 2008 - 01:47 AM
dencorso, on May 26 2008, 07:38 AM, said:
[Options] BootDelay=0 BootMulti=0 BootGUI=0 BootKeys=0 Logo=0
... with JO.SYS absent, of course!
I think I got lost somewhere in this thread.
Windows 98 boot DOS files are IO.SYS MSDOS.SYS and COMMAND.COM. I have not heard about JO.SYS, so far.
Without IO.SYS there is no Windows 98 boot possible, so there will be no F8 function, for sure.
So, what particular OS version are we speaking about?
This post has been edited by Sfor: 26 May 2008 - 01:50 AM
#11
Posted 26 May 2008 - 01:55 AM
There is an "original" one and a "free" version by Bart Lagerwej.
Read the referenced thread on boot-land.
jaclaz
This post has been edited by jaclaz: 26 May 2008 - 03:04 AM
#12
Posted 26 May 2008 - 02:36 AM
I've been using Windows 95 boot disks mostly and I did not pay attention to the differences between Windows 95 and 98.
The Windows 95 IO.SYS does not support the JO.SYS, while the Windows 98 IO.SYS calls JO.SYS if available. Also Windows 95 always checks for registry files if the MSDOS.SYS file has some settings in it. Windows 98 acts differently in this matter.
#14
Posted 26 May 2008 - 03:16 AM
#15
Posted 26 May 2008 - 04:00 AM
dencorso, on May 26 2008, 11:16 AM, said:
Apart the Chewbacca Defense, which was a nice read
1. A user posts a question
2. Noone is able to give him a simple and working solution
3. He finds the solution himself, the hard way (hexediting a system file)
The only thing he did I wouldn't have done is to post on three different forums the same question.
jaclaz
#16
Posted 26 May 2008 - 01:20 PM
jaclaz, on May 26 2008, 07:00 AM, said:
The only thing he did I wouldn't have done is to post on three different forums the same question.
jaclaz
And you certainly would've posted the solution, once you found it, I'm sure!
Well, now I'm already past rant mode, but I think I ought to tell what doesn't make sense to me, anyway, so let's see:
1) The *ONLY* reason I can think of for posting the same problem in 3 forums is sheer desperation.
Then again, one who is able to reverse-engeneer IO.SYS in two days had no reason to be so desperate...
2) Why reverse IO.SYS, which is system-critical and 222670 bytes long, when doing so to JO.SYS, which is not system-critical and is just 2048 bytes long ought to accomplish the desired result?
#17
Posted 26 May 2008 - 03:02 PM
http://www.boot-land.net/forums/index.php?...=4754&st=10
(though I don't seem to find the address in order to try and replicate it)
jaclaz
#18
Posted 26 May 2008 - 04:22 PM
Turns out that scrumpyjack used the original Win 98 FE IO.SYS 222390 05/11/1998 21:01, which is the only one to have 01 at offset 84DB...
Now, there are 4 Win 98 IO.SYSs:
Win 98 FE IO.SYS 222390 05/11/1998 21:01 (Win 98FE original)
Win 98 FE IO.SYS 222670 11/30/2001 15:31 (Win 98FE Q311561)
Win 98 SE IO.SYS 222390 04/23/1999 22:22 (Win 98SE original)
Win 98 SE IO.SYS 222670 12/01/2001 09:37 (Win 98SE Q311561)
In all four, just search for the hexadecimal string 3E 01 B4 01 CD 16 75 and change only the 01 marked in red to 00. It should work. I do, however, strongly advise the use of the Q311561 versions. It's still available from Microsoft (link), and Petr (link) localized it to lots of languages, including Italian, because, you see, Microsoft put the English version, by mistake, in most of the localized versions they offer. BTW, Petr remarks that both Q311561 versions are binarily identical.
I've tested it. That patch presents problems:
1) If, after selecting "boot from floppy disk", you don't press any key IO.SYS will wait forever for any key...
That is due to having substituted INT 16 service 01 for service 00 (it effectively consumes any keystroke, but will wait forever for a keystoke if there isn't any in the buffer). This is easy to solve: instead of scrumpyjack's patch, do patch the red bytes in 3E 01 B4 01 CD 16 75 XX to be 3E 01 B4 01 CD 16 90 90, and the wait is removed.
2) In the original patch, if, after selecting "boot from floppy disk", one presses and holds <Ctrl> until "Starting Windows ...", then press any key, IO.SYS will go straight to the boot menu. My proposed patch eliminates the need to press any key, but doesn't prevent IO.SYS from going to the boot menu when one holds <Ctrl>. And then there is also <Shift> to consider, which I did not test...
This post has been edited by dencorso: 06 June 2008 - 01:15 AM
#19
Posted 26 May 2008 - 09:09 PM
I didn't realise it was such a small world between the 3 forums as the net is a vast place. I also did that to test the knowledge of the forums. Apologies for that. It seems there's few DOS forums these days. I had failed to find any, seems they all died out. When you mention DOS they think of CMD box in XP! It nice to read the interesting comments as i didn't expect too much response especially after the first negative comment the mods deleted. I tried another forum trying to find users who have decent knowledge. I guess my impatience and asking a far out question and getting questions on why do that instead of help i decided to study and go it alone. Yes i should of waited longer for a response but i was uncovering more at the same time and i was trying to grasp assembler. As IO.SYS is DOS related i posted on Computing.net as i was hoping for DOS diehards such as Secret Doom, Laurence types of old with the tricks, knowledge would know but seems less frequent in these times. In the end my desperation helped me push forward and discover more. Rest assured i wont post on forums like that and i didn't post on anymore than what you know about.
Thank you all for helping and for dencorso's informative entertaining comments and Hello to Jaclaz here too
@dencorso
thank you for your help. yes the patch is not satisfactory and as i said on Jaclaz forum i need to improve, but just 1 byte disables all the main keys apart from the shift and needs to be held down. I scraped that. I will have a better solution. Your patch goes to the boot menu in essence making Jo.Sys still work which is what i what i accomplished with the patch i did. You say it will wait forever, yet if the key is pressed 2x or held down it works but is not ideal. I guess this is flooding the buffer is it not. If the menu in IO.SYS was really seen as disabled by IO.SYS, Jo.sys would not work which comes into effect when MSDOS.SYS is modified with BootKeys=0.
This post has been edited by scrumpyjack: 26 May 2008 - 10:35 PM
#20
Posted 26 May 2008 - 09:27 PM
@scrumpyjack: I said your patch will wait forever, unless any one key is ever pressed.
The alternative patch that I proposed does the same as yours, but does not wait for any key.
Here's the original code:
B4 01 mov ah, 1 CD 16 int 16h 75 XX jnz somewhere
Your patch changed mov ah, 1 to move ah, 0 (efectively causing ZF to be always 1), so the next jnz never executes.
But service 0 of INT 16 waits for a character.
My proposal was to substitute the actual jnz XX by nop nop, so that there is no jnz to execute. The effect is exactly the same. But my proposed patch doesn't wait for a character.
BTW, IO.SYS may be getting the state of <Ctrl> and <Shift> directly from the BIOS data area at 0:0417H and/or 0:418, instead of using INT16 to do it. But I think it's not: there is a routine using service 02 of INT16 just above the one you patched...
This post has been edited by dencorso: 27 May 2008 - 12:31 AM
- ← Help for replacement of Pentium III, 667MHz Processor?
- Windows 95/98/98SE/ME
- Software support for 98SE →



Help

Back to top









