>I know that LILO can boot Linux from a second hard drive, but can it boot
>Windows from one? I ask because I currently have a drive bootable with each
>operating system, and would like, if possible, to keep Windows entirely on
>the slave (/dev/hdb1). All attempts so far have given "Invalid system disk"
>when trying to boot Windows.
If no FAT partitions are on hda, you can copy the bootsector from
/dev/hdb1 to the file /boot/bootsect.b1 with dd, change the embedded
disk number from 0x80 to 0x81 and add to lilo.conf:
other=/boot/bootsect.b1
label=win
For FAT16 the disk number is at offset 36, for FAT32 it is at offset
64.
Or copy http://inet.uni2.dk/~svolaf/bootdos.bin to /boot/bootdos.bin
and add to lilo.conf:
other=/boot/bootdos.bin
label=win
Still if no FAT partitions are on hda. This will boot the first
primary FAT partition found.
Another solution which I did not test recently is this:
other=/dev/hdb1
label=win
map-drive = 0x81
to = 0x80
map-drive = 0x80
to = 0x81
table=/dev/hdb
--
Svend Olaf