root fs on a LVM cause kernel panic
Hi everyone,
I am using LVM 1.0.1-rc4 and Linux 2.4.13.
I read the lvmcreate_initrd man page and followed the instructions to create the kernel image with LVM support. However, I am unsuccessful to make it working properly. The system boot and is showing its messages, including the message about LVM support in the kernel and while it is trying to mount the root filesystem, I am getting a kernel panic message saying the "root=" stanza should be provided with a valid device for the root filesystem.
What am I doing wrong? Is there anything missing? Any way to get extra debugging messages?
Signature · 13 lines
================================ Daniel Savard CIDS Inc. 551, boul. Sir Wilfrid Laurier suite 105 Beloeil, (Qu�bec) Canada J3G 4J1 T�l: (450) 467-8014 Internet: [email protected] ================================
Quoted 9 lines · Daniel Savard
I read the
lvmcreate_initrdman page and followed the instructions to create the kernel image with LVM support. However, I am unsuccessful to make it working properly. The system boot and is showing its messages, including the message about LVM support in the kernel and while it is trying to mount the root filesystem, I am getting a kernel panic message saying the "root=" stanza should be provided with a valid device for the root filesystem.What am I doing wrong? Is there anything missing? Any way to get extra debugging messages?
Did you add the initrd image to the kernel stanza in lilo.conf and re-run lilo? It sounds like your kernel is booting, but the VGs are not active.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/