[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lilo config is busted, need help fixing it



On boot lilo does not find the root device.  I can use root=/dev/sda2
at the lilo boot prompt and it will boot correctly.  So clearly it's
pointing at the incorrect root device.  I've double checked the
lilo.conf file and it says:

boot=/dev/sda

root=/dev/sda2

which is correct.  the lilo command runs without warnings or errors.

I ran lilo -v 3 -t and it produced the following:

Boot image: /boot/vmlinuz-2.6.32-5-amd64
Device 0x0802: BIOS drive 0x80, 255 heads, 30515 cylinders,
               63 sectors. Partition offset: 120583890 sectors.
Using Volume ID 5879D4A8 on bios 80
Setup length is 27 sectors.
Mapped 4708 sectors.
Mapping RAM disk /boot/initrd.img-2.6.32-5-amd64
Device 0x0802: BIOS drive 0x80, 255 heads, 30515 cylinders,
               63 sectors. Partition offset: 120583890 sectors.
Using Volume ID 5879D4A8 on bios 80
RAM disk: 9407 sectors.
Added Lin_2.6.32img5
    <dev=0xe0,hd=227,cyl=57,sct=204>
    "ro root=802"

I immediately noticed that dev=0xe0

brw-rw---- 1 root disk 8, 0 Sep 23 20:45 /dev/sda
brw-rw---- 1 root disk 8, 1 Sep 13 05:17 /dev/sda1
brw-rw---- 1 root disk 8, 2 Sep 13 05:20 /dev/sda2
brw-rw---- 1 root disk 8, 3 Sep 13 05:22 /dev/sda3
brw-rw---- 1 root disk 8, 4 Sep 13 05:17 /dev/sda4

shouldn't dev=0x82 !!??

Anybody know how I can fix this ?

Thanks,

Brian


Reply to: