Re: XP and Sarge Dual Boot....
> /dev/hda1 Windows
> /dev/hda2 Linux (all of it)
> /dev/hda3 Swap
bootpart /list will list the partitions ordinally (or cardinally I
forget which), so...
Partition:
0 = /dev/hda1
1 = /dev/hda2
2 = /dev/hda3
Assuming you installed grub to /dev/hda2 during the install process
(choosing not to install to the MBR) you would type:
bootpart 1 c:\debian.mbr "Debian Linux"
This will create the appropriate boot.ini entries. You can change the
timeout (default 30 seconds) by editing the file directly or Right
Click My Computer -> Properties -> Advanced Tab -> Startup and
Recovery Settings button.
The c:\debian.mbr could be called anything (c:\sarge.mbr,
c:\linux.lnx). This is the relevant boot information from /dev/hda2
that boot.ini can use to boot Linux. When you select Debian Linux from
the boot.ini screen you will see the defaul Debian GRUB screen (which
will also include an entry to boot Windows). Below is my boot.ini.
Hopefully that will clear up any confusion. If you choose to remove
Linux 8(, just remove the relevant lines in boot.ini so it would not
appear in the boot list.
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /noexecute=optin /fastdetect
c:\debian.mbr="Debian Linux"
Reply to: