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

Steffen Kluge kluge at fujitsu.com.au
Fri Jun 16 08:04:20 UTC 2006


On Fri, 2006-06-16 at 08:52 +0100, Paul Howarth wrote:
> > > 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?
> 
> What's the contents of the "init" script in your initrd?

I don't have one. I'm using the stock 2122 initrd, which is the same as
yours. And it works, despite all the insmods that fail, they are not
needed anyway.

What I'm after is a mkinitrd that will run and put all those bits into
an initrd init script regardless of whether the kernel has modules or
module support.

In short, loading modules isn't the only reason for using an initrd, but
mkinitrd acts as if it is.

Cheers
Steffen.

-------------- 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/5bd2eb8b/attachment-0001.sig>


More information about the fedora-list mailing list