Hi, I am trying to set up a triple-boot system with linux, windows 2000, and dos 8 from windows 98 se. I have my hard drive set up like this:
----------------------------------------------------------------------------
16MB Boot linux primary1 type 83 (linux)
----------------------------------------------------------------------------
16MB dos 8 primary2 type 06 (fat16)
----------------------------------------------------------------------------
10GB win2k primary3 type 0c (fat32 lba) BOOTABLE
----------------------------------------------------------------------------
3.2GB extended primary4 type 0f (extended lba)
--------------------------------------
3.1GB extended hda5 type 83 (linux)
--------------------------------------
128MB extended hda6 type 82 (linux swap)
----------------------------------------------------------------------------
What I want to do is to boot either linux or win2k, and also be able to boot the dos partition so that I can play old DOS games that do not work under windows 2000. I had tons of trouble getting the two fat partitions working, because often when I booted with a win98 boot disk, fdisk would see both partitions, and say they were C: and D:, but format would not see D:, and say invalid drive letter. I finally have it working, sort of, but here is the problem:
Since the fat32 drive is bootable, dos 8 assigns it C:, and itself D:. However no matter what settings I change in msdos.sys on the dos 8 drive, it WILL NOT BOOT OFF OF D:! This is very annoying. HostWinBootDrv=D changes NOTHING, and if I set the other two windows paths to D:\, it makes no difference. On each bootup, if I pick the dos 8 partition from lilo, dos 8 loads, but then asks for command.com. I have to tell it D:\COMMAND.COM, and it works, but doesn't load autoexec.bat or config.sys. Is there any way at all to get it to load automatically off of D? I know I could start messing around with the partitions again, but it'd be much easier if I could just tell it what
drive to boot off of. From what I've read researching this, this is the boot sequence:
IO.SYS loads
MSDOS.SYS loads (How does IO.SYS know where to find it?)
COMMAND.COM (IO.SYS should know to look in HostWinBootDrv, but for some reason it doesn't. Also, I tried copying msdos.sys and io.sys to C:\, but it made no difference. So this problem doesn't have to do
with IO.SYS not finding the MSDOS.SYS and it's settings)
CONFIG.SYS (IO.SYS should look for it in HostWinBootDrv, right?)
AUTOEXEC.BAT (Ditto)
Maybe there is even some hex editing that needs to be done, but does anyone here have any idea why IO.SYS so blatantly ignores the MSDOS.SYS HostWinBootDrv setting? BTW, setting it to A works, so maybe it has some limits (only A and C maybe). Any way to get around this with hex editing the io.sys?
Thanks for any ideas (hopefully :) )
Also, before you suggest this :), Setting either both partitions to bootable, or just the dos 8 partition, or neither, makes the error go away, BUT dos 8 then thinks that the win2k partition is COMPLETELY EMPTY (9.8GB free). Like I said, I've tried alot of different combinations :)
Marcin Mirski