need some clarifications concerning rootf mounting

Rahul Bedarkar rpal143 at gmail.com
Mon Aug 20 04:02:09 EDT 2012


You haven't build your root file system. I believe we give path to
root file system in CONFIG_INITRAMFS_SOURCE.
There are different ways to build root file system, like buildroot.
http://buildroot.uclibc.org/

-Rahul B.

On Thu, Aug 16, 2012 at 3:01 PM, stl <st.lambert02 at gmail.com> wrote:
> Thanks for your answer.
>
> Ok, here is what I have exactly done:
>
> - compiled with my uClibc cross-compiler a simple hello world program.
> - written a basic config file in linux-2.6.37/usr, creating a dev/console, a
> /init from /usr/hello and some other dirs.
> - edited the .config file with CONFIG_INITRAMFS_SOURCE =
> ......./usr/config_file and selected CONFIG_INITRAMFS_COMPRESSION_GZIP=y
> - built the kernel
> - launched vmlinux and received the "kernel panic: junk in compressed
> archive" error message
>
> In the source code, initrd_start ans initrd_end appears.
> if i want to use initramfs support (and not initrd support), should I do
> something special in "setup_arch()" in order to initialize these symbols?
>
> thakns in advance



More information about the Kernelnewbies mailing list