TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LILO/Dual Boot Question



Hello all!

I have a question for all you Linux gurus out there regarding Lilo:  Here's
my setup:

Intel P2-450
ABit BX6 rev 2
96MB RAM
Promise Technologies ATA/66 Controller Card
Maxtor 8.4 GB ATA/33 HD
WD 20.5 GB ATA/66 HD

The Maxtor is primary master on the motherboard, and the WD is primary
master on the card.

I installed RH onto a 2GB partition at the beginning of the Maxtor.  Win98
lives on the WD.  After installing RH, I downloaded the complete kernel
2.2.14 source, applied a patch off of kernel.org for the Promise card,
rebuilt the kernel, changed lilo.conf to reflect the new kernel, executed
/sbin/lilo, and restarted.

After the restart, Linux could see the WD drive (which it couldn't do before
the patch).  After Linux had finished loading, I changed lilo.conf once
again to add an entry to boot Win98.  After running /sbin/lilo once again, I
merrily restarted the computer, and typed dos at the LILO prompt.  The
computer promptly froze.  Restarting again, I changed a BIOS setting so that
the computer would try to boot off the Promise card first.  Win98 booted,
but I could not access Linux as Lilo was on the other hard drive.

Bottom line:  I want to be able to use Lilo to boot either Win98 or Linux,
but Lilo freezes when it tries to boot Win98.  If Lilo is bypassed, Win98
boots.  If Lilo is used and Linux is loaded, Linux recognizes the hard drive
with Win98 on it.

My Lilo.conf is as follows:
boot = /dev/hda
timeout = 50
prompt
  vga = normal
  read-only
map=/boot/map
install=/boot/boot.b
image = /vmlinuz
  label = linux
  root=/dev/hda1
  read-only
image = /vmlinuz.old
  label = previous
  root=/dev/hda1
other = /dev/hde1       # <- hde is the WD hard drive
  label = dos
  table = /dev/hde

Any help would be greatly appreciated!

Cheers,
Jeff