Re: need some clarifications concerning rootf mounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux