Root LVM + ReiserFS
Hi all,
I'm setting a RH 7.1 Linux box with kernel 2.4.4 + LVM 0.9.1beta7 + ReiserFS 3.x.0j and I have some trouble to boot from LVM volume ;(
I think my kernel is Ok, cause i can mount LVM/ReiserFS volume and the ramdisk made by lvmcreate_initrd with no problems at all. Besides, when i mount the ramdisk, i can see the correct /dev entries....
But when i try to boot on a LVM root device with a reiserFS filesystem, i have an error like:
VFS unable to mount device xx:xx
And the system hangs up...
Here is my lilo.conf:
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
default=custom
image=/boot/vmlinuz-2.4.2-2
label=linux
initrd=/boot/initrd-2.4.2-2.img
read-only
root=/dev/sda6image=/boot/custom
label=custom
read-only
root=/dev/sda6image=/boot/custom
label=custom2
append = "ramdisk_size=8192"
initrd=/boot/initrd-lvm-2.4.4.gz
read-only
root=/dev/rootVG/rootVOLAny ideas???
Your help will be very appreciated ;)
Regards,
Lionel
Quoted 8 lines · Lionel Cottin
But when i try to boot on a LVM root device with a reiserFS filesystem, i have an error like:
VFS unable to mount device xx:xxAnd the system hangs up...
Here is my lilo.conf:
Quoted 7 lines
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
default=custom
^^^^^^
Quoted 8 lines
image=/boot/vmlinuz-2.4.2-2
label=linux initrd=/boot/initrd-2.4.2-2.img read-only root=/dev/sda6image=/boot/custom
label=custom
^^^^^^
Quoted 5 lines
read-only root=/dev/sda6image=/boot/custom
label=custom2
^^^^^^^
Quoted 4 lines
append = "ramdisk_size=8192"
initrd=/boot/initrd-lvm-2.4.4.gz
read-only
root=/dev/rootVG/rootVOLIt should work (it works for me)
but my be you wanted to have custom2 as default (you need the initrd to activate the LVM)
Cu,
Goetz.