LVM magic in initrd, or "making an initrd without modules"

Steffen Kluge kluge at fujitsu.com.au
Fri Jun 16 03:11:51 UTC 2006


Bump!

Any ideas anyone?

Cheers
Steffen.

On Thu, 2006-06-08 at 16:07 +1000, Steffen Kluge wrote:
> Hi all,
> I've built a custom kernel, based on the 2122 source. The distinctive
> feature of this kernel is the lack of support for loadable modules, all
> required drivers and features are compiled in.
> 
> I'm also using LVM on that system, which leads to the issue that the
> machine won't boot: the kernel panics after failing to find the root
> device. In grub.conf it is listed as root=/dev/VolGroup00/LogVol00.
> 
> I suspected that for booting with / on a logical volume some extra
> functionality would be required that needs to be put into the initrd.
> Unfortunately, I have been unable to make an initrd, mkinitrd insists on
> a module tree.
> 
> If I "steal" the initrd from the stock 2122 kernel, the machine boots
> fine. How can I make an initrd for a kernel with no modules and no
> module support? One that just contains the functionality to boot an LVM
> system?
> 
> Cheers
> Steffen.
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060616/441dd40f/attachment-0001.sig>


More information about the fedora-list mailing list