Peter Ruskin wrote:
>
> Mandrake Linux Cooker-i586 20020204 4:33
>
> Can boot from floppy but not from hard disk. Using lilo.
> /dev/hd{a,b,c,d} not fitted. Boot hdh1, root hdh5.
>
> All I get from lilo on first boot is a screenful of what looks like 04.
> So boot from floppy and run /sbin/lilo -v. No error messages but at boot
> I see just LI.
>
> lilo.conf...
> boot=/dev/hdh1
> map=/boot/map
> install=/boot/boot.b
> vga=791
> default=linux
> keytable=/boot/uk.klt
> lba32
> prompt
> timeout=100
> disk=/dev/hdf bios=0x80
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> image=/boot/vmlinuz
> label=linux
> root=/dev/hdh5
> initrd=/boot/initrd.img
> append="devfs=mount mem=nopentium"
> read-only
> [...]
>
> I couldn't understand why it said "disk=/dev/hdf bios=0x80", as I boot
> 8.1 from hdf1 with root on hdf5 - and lilo.conf for that says
> "disk=/dev/hde bios=0x80". So I tried changing Cooker's to that and
> reran lilo -- result is a screenful of rubbish again.
>
> I have hde, hdf, hdg, hdh and sda for hard disks.
>
> I'll have another look tomorrow but for the moment I'm baffled.
Lilo configuration was changed in latest install when I reported a bug
booting off hdd where there is no hdc (hdc = optical disk). Section 3.4.2 of
the lilo users guide might help. I could fix it by jumpering hdd to hdc or
using grub. Pixel changed it so it would work in the reccomended install. It
must be an unusual thing or I guess it would have been reported before now.
AFAICT "bios=0x8X" should be the number the bios uses to
refer to that disk. If the "disk=/dev/hdf bios=0x80" line isn't there lilo
attempts to "guess" it, e.g. for me it guessed 0x82 for hdd where it was
actually 0x81. For you, it might have guessed right :), try
removing the "disk=/dev/hdf bios=0x80" line from your lilo.conf, or changing
the 0x8X to the actual number of the disk. FWIW grub worked fine.
-WBD