[klibc] Re: [PATCH - RFC] Move initramfs configuration to "General setup"

Grzegorz Kulewski kangur at polcom.net
Mon Aug 8 07:19:50 PDT 2005


On Mon, 8 Aug 2005, Sam Ravnborg wrote:

> At present the configuration items for initramfs is located in:
> Device drivers | Block Drivers | xxx
>
> This is maybe not the most natural place to have it.
> So with the following patch it is moved below "General setup",
> and relevant config items are collected in a file with a new
> home in usr/.
>
> The original reason why I looked into this is the upcoming merge of klibc
> and I missed a good place to include the KLIBC relevant config options.
> With the Kconfig file added to usr/ is will be a simple menuconfig
> in here for all the KLIBC relevant config options.
>
> Any comments?

>From my recent experiments it looks like in order to be able to use 
initramfs not compiled into the kernel image but loaded from separate file 
by GRUB or LILO one must also build initrd into the kernel.

Am I right? If so, could somebody split initramfs and initrd (not only at 
configuration level but also at code level)? Shouldn't they be separated 
(and possibly initrd removed after some time)? In the mean time it should 
be documented in *config help.

Also somebody should add more documentation about initramfs (generating, 
writing scripts, producing image, the right method for chroot / pivot_root 
/ ...). It took me whole week to find it out myself and I still have some 
doubths...


Thanks,

Grzegorz Kulewski



More information about the klibc mailing list