thahn01
11-18-2003, 01:00 AM
Hi all,
this is surely a LILO problem, but I cannot figure out myself, what the
heck I am doing wrong.
I have installed the CD to /dev/hda10, a reasonably big partition.
Now there are several smaller partitions like>
/ ==> /dev/hda5
/usr ==> /dev/hda6
/var ==> /dev/hda8
/home ==> /dev/hda9 ...
which I want to use.
I have copied the files with cp -ax to their respective target partitions
and I think this should be allright.
Running lilo doesnt show any mistakes to me, so I am really struggling
why it always boots with /dev/hda10 as root device,despite the lilo.conf.hda5 that I have edited:
Important parts of lilo.conf.hda5:
---snip---
boot=/dev/hda
root=/dev/hda5
install=/mnt/hda5/boot/boot-menu.b
map=/mnt/hda5/boot/map
default=Linux-hda5
image=/mnt/hda5/boot/vmlinuz-2.4.22-xfs
label=Linux-hda5
initrd=/mnt/hda5/boot/initrd.gz
read-only
root=/dev/hda5
image=/boot/vmlinuz-2.4.22-xfs
label=Linux
initrd=/boot/initrd.gz
read-only
root=/dev/hda10
---snap---
lilo -C /mnt/hda5/etc/lilo.conf.hda5
produces the following output:
---snip---
...
Added Linux-hda5 *
<dev=0xe0,hd=20,cyl=66,sct=197>
"ro root=305 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"
...
Added Linux
Device 0x030a: BIOS drive 0x80, 255 heads, 4864 cylinders,
63 sectors. Partition offset: 55135143 sectors.
---snap---
After reboot, it will always boot into /dev/hda10.
What is wrong?
Tnx Thomas
this is surely a LILO problem, but I cannot figure out myself, what the
heck I am doing wrong.
I have installed the CD to /dev/hda10, a reasonably big partition.
Now there are several smaller partitions like>
/ ==> /dev/hda5
/usr ==> /dev/hda6
/var ==> /dev/hda8
/home ==> /dev/hda9 ...
which I want to use.
I have copied the files with cp -ax to their respective target partitions
and I think this should be allright.
Running lilo doesnt show any mistakes to me, so I am really struggling
why it always boots with /dev/hda10 as root device,despite the lilo.conf.hda5 that I have edited:
Important parts of lilo.conf.hda5:
---snip---
boot=/dev/hda
root=/dev/hda5
install=/mnt/hda5/boot/boot-menu.b
map=/mnt/hda5/boot/map
default=Linux-hda5
image=/mnt/hda5/boot/vmlinuz-2.4.22-xfs
label=Linux-hda5
initrd=/mnt/hda5/boot/initrd.gz
read-only
root=/dev/hda5
image=/boot/vmlinuz-2.4.22-xfs
label=Linux
initrd=/boot/initrd.gz
read-only
root=/dev/hda10
---snap---
lilo -C /mnt/hda5/etc/lilo.conf.hda5
produces the following output:
---snip---
...
Added Linux-hda5 *
<dev=0xe0,hd=20,cyl=66,sct=197>
"ro root=305 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"
...
Added Linux
Device 0x030a: BIOS drive 0x80, 255 heads, 4864 cylinders,
63 sectors. Partition offset: 55135143 sectors.
---snap---
After reboot, it will always boot into /dev/hda10.
What is wrong?
Tnx Thomas