Page 1 of 1
initrd with LVM
Posted: 9. Jun 2010, 12:19
by damNageHack
Please add LVM module to initrd. Otherwise, it is possible to use LVM partitons in setup but kernel will not be able to boot from a lvm volume, although lilo can find the kernel. Boot stops with kernel panic, VFS not found for root ...
I wondered that lilo can boot from LVM at all, very nice.

And setup seems to be fixed for LVM support, also great.

Re: initrd with LVM
Posted: 9. Jun 2010, 12:35
by Shador
You should know that Salix uses no initrd per default. You need to generate one yourself using mkinitrd containing all the needed modules. There's a document called README_LVM.txt, which explains all this more thoroughly, you might want to search for it.
Re: initrd with LVM
Posted: 12. Jun 2010, 18:09
by damNageHack
Shador wrote:You should know that Salix uses no initrd per default. You need to generate one yourself using mkinitrd containing all the needed modules.
Unfortunately, yes. You are right that I should know why and how.
Shador wrote:There's a document called README_LVM.txt, which explains all this more thoroughly, you might want to search for it.
Yeah, I remember that I found it more or less "randomly" sometimes ...
Maybe it is more like a problem that LVM is not supported "as default" but setup is (at least so) compatible to be able to "work with it". I am thinking of making some script or tool as an addition to setup but I am not clearly sure what the tool should do and what not
EDIT:
Shador wrote:You need to generate one yourself using mkinitrd containing all the needed modules.
Oh, I found out that there is a script that can help you in finding the correct parameters for mkinitrd. It is there:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
I got this hint from that very interesting discussion about mkinitrd:
http://www.linuxquestions.org/questions ... rd-751034/