Root partition on logical volume and kernel without module support
I have some questions.
I tried to boot my debian linux (etch) which have his root (/) partition on a logical volume (lvm version 2) with a kernel which don't have "module support" compiled in.
All drivers I need are in the kernel and of course support for lvm and raid too.
I got a kernel panic and here was the message i've obtained:
VFS: Cannot open root device "mapper/vgvm-lvracine" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) :scratch:
My first question is :
Is it possible to boot linux with a kernel with no modules support actived and a partition on a logical volume?
The system boot perfectly with this kernel when the root partition is not on a logical volume and all my volumes group are found.
I think it's because the /etc/init.d/S20lvm is expected to find all volumes group.
In my case , i need a script who detect my volume group before the kernel try to mount the root partition.
Perhaps a initrd image who don't have modules but just the scripts and commands (as vgscan,vgchange...) to detect volumes group?
So my second question is :
Is this type of initrd images exist?
And my third question is :
How can i make this initrd image ?
Thanks for advance for any answers.
While you don't specify your distribution, I suggest reading this Root-on-LVM2 howto here: http://gentoo-wiki.com/HOWTO_Install...root_partition
|All times are GMT -5. The time now is 02:11 PM.|