On 28/11/99 Micha Feigin wrote:
I am tring to run linux and windows 98 together on the same drive using
lilo.
I installed lilo on a partition containing the kernel.
I then set the active partition mark to that partition.
As long as windows isn't started then this setup works greate (the lilo
boot prompt comes up and I can chose betwin linux and windows).
The problem is that when ever windows starts it moves the active partition
mark back to its partition.
Is there a way to stop this behaviour?
just install lilo on the MBR then the active partition flag becomes
irrelevant, lilo gets control immediately.
boot=/dev/hda ## change to your hard disk device
map=/boot/map
install=/boot/boot.b
vga=normal
prompt
timeout=40 ## 4 seconds till auto boot of default image
default=linux
image=/vmlinuz
label=linux
read-only
root=/dev/hda1 ## change to your real root partition
image=/vmlinuz.old
label=linux.old
read-only
root=/dev/hda1
other=/dev/hda4 ## change to the partition holding win98
label=win
table=/dev/hda ## change to the same value as boot=
rerun lilo and lilo will now be loaded by the BIOS immediately. LILO
does not care about active partitions and will follow the lilo.conf
file whatever image you pick (linux, linux.old, win) it will load.
the only time you will have problem is if you reinstall win98 in
which case it will overwrite the MBR without asking and you will have
to use your boot floppy (which you already made right? :) ) to boot
linux and reinstall lilo. AFAIK win98 does not do anything stupid
like reinstalling the MBR every time it boots...
Ethan Benson
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/