[klibc] play with initrd in early user space

jason huzhijiang at gmail.com
Thu Jun 1 22:21:43 PDT 2006


> I suspect the easiest way to do what you want is to make sure you have a
> shell (e.g. dash) in your initramfs, and then replace /init with a shell
> script that just runs an interactive shell:
>
> #!/bin/sh
> exec sh
>
> The only reason you need a shell script at all is that sh will get
> confused if it is invoked as /init, because of the arguments passed to it.
>
>        -hpa
>

Yep, I can boot into a shell indeed (dash), but the key problem is How
can I access to the initrd. Can I simply append a "initrd=initrd.gz"
to kernel while using EUS? If I can, then how to access the content of
initrd.gz.



-- 
Yours,
jason



More information about the klibc mailing list