A while ago I asked how to use LILO to easily boot multiple DOS-like
operating systems. I have finally got it working. For your information,
here's how to do it.
LILO must be rebuilt with its REWRITE_TABLE option enabled. To do this,
first create "/etc/lilo.defines". Mine looks like this:
-DIGNORECASE -DVARSETUP -DREWRITE_TABLE
Then, untar LILO, build it, and install it.
tar xfz lilo-20.tar.gz
cd lilo
make spotless
make
cp lilo /sbin/
cp boot.b /boot/
cp chain.b /boot/
Finally, make the necessary changes to "/etc/lilo.conf". Mine looks
like this (note the CHANGE-RULES and CHANGE sections):
serial=2,2400N8
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=300
change-rules
reset
type=FAT12
normal=0X01
hidden=0X11
type=FAT16SMALL
normal=0X04
hidden=0X14
type=FAT16LARGE
normal=0X06
hidden=0X16
type=FAT32
normal=0X0B
hidden=0X1B
image=/boot/vmlinuz-2.0.32
label=linux
root=/dev/hda5
read-only
image=/boot/vmlinuz-2.0.32.original
label=origlinux
root=/dev/hda5
read-only
other=/dev/hda1
label=win95
table=/dev/hda
change
partition=/dev/hda1
activate
set=FAT16LARGE_normal
partition=/dev/hda3
deactivate
set=FAT16LARGE_hidden
other=/dev/hda3
label=dos
table=/dev/hda
loader=/boot/chain.b
change
partition=/dev/hda1
deactivate
set=FAT16LARGE_hidden
partition=/dev/hda3
activate
set=FAT16LARGE_normal
--
Dave Mielke | home: 1-613-726-0014 | Nortel Technologies | dept: 7H65
856 Grenon Ave. | work: 1-613-765-4671 | P.O. Box 3511, Stn. C | mail: stop 274
Ottawa, Ontario | fax: 1-613-763-9727 | Ottawa, Ontario | locn: 5E.1.L19
Canada K2B 6G3 | e-mail: [EMAIL PROTECTED] | Canada K1Y 4H7 | esn: 39-54671