Re: initramfs [u]

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

 



Jacek Jab?o?ski wrote:
> Do You know any tool to create initramfs (not initrd)?

that is very easy:
create a directory tree with everything you want in it
(for example ld.so, a libc, some applications and
config files and scripts and device files and whatever)
and then use cpio to pack the files and directories
into a cpio archive. gzip if you want.

cpio has several formats, be sure to choose the right
one. more information in 

Documentation/early-userspace/*

btw: most people want initrd/initramfs etc. with some
small libc (klibc, dietlibc etc.). But normal libcs
works very fine as well. I have some initramfs that
are build from a few dozend debian packages. the result
is a few hundred mb big (uncompressed), but that is ok
as I can load and boot it via network and it works
great and has all the normal linux tools in it.

also see the klibc mailing list, there have been several
discussions about initramfs and I posted example code
there I think. so look at the archives, too.

Regards, Andreas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux