How to load initramfs only on-demand?

Greg KH greg at kroah.com
Sat Mar 12 23:36:12 EST 2016


On Sat, Mar 12, 2016 at 04:29:08PM +0800, Woody Wu wrote:
> My question is, is there such a kernel parameter to do the job? Probably there
> is a non-parameter solution like passing the initramfs address in a register
> when a boot loader transfer control to the kernel, but this is not an option to
> me since my boot loader (u-boot) does not support doing this. Thanks.

You have the source to your bootloader, I suggest you fix that up to
support this if you want it, not much the kernel can do on it's own
here, sorry.

good luck!

greg k-h



More information about the Kernelnewbies mailing list