Re: kernel cmdline: root=/dev/sdb1,/dev/sda1 "fallback"?

From: H. Peter Anvin
Date: Thu Jan 18 2007 - 05:47:45 EST


Tomasz Chmielewski wrote:
H. Peter Anvin wrote:
Tomasz Chmielewski wrote:

All right.
I see that initramfs is attached to the kernel itself.

So it leaves me only a question: will I fit all tools into 300 kB (considering I'll use uClibc and busybox)?


You don't need to use busybox and have a bunch of tools.

The klibc distribution comes with "kinit", which does the equivalent to the kernel root-mounting code; it's in the tens of kilobytes, at least on x86. If you're using ARM, you can compile it as Thumb.

Hmm, I'm having problems compiling klibc-1.4 on ARM (using gcc-4.1.1):


Could you send me your kernel .config, as well as what version of the kernel you're building against?

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/