Re: waiting 10s before mounting root filesystem?

From: William Park
Date: Wed Dec 29 2004 - 16:02:15 EST


On Wed, Dec 29, 2004 at 07:34:07PM +0000, Paulo Marques wrote:
> William Park wrote:
> >[...] I read Documentation/initrd.txt and I don't understand it. If
> >I understand it right, I have to build a complete root filesystem
> >with all the stuffs necessary for mounting the second (real) root
> >filesystem. If I'm loading the kernel from floppy, then I only have
> >200k to work with. I'll try initrd.txt, step by step over the
> >holidays.
>
> Yes, but if you use "nash" as a script parser and compile everything
> you need static with dietlibc or uClibc (or some other small libc
> replacement), 200k will be plenty to accomplish what you want. You'll
> probably be able to find pre-compiled binaries like these on the net,
> if you search for them.
>
> Of course this is much more work than simply patch the kernel to wait
> a little, but with this training you'll be able to handle similar
> situations in the future were there is no patch to solve them.

I finally wrote a script to build 200MB root filesystem from Slackware
distribution (A, AP, N, X series). And, now, you're telling me to build
a 200kB root filesystem? I need beer...

--
William Park <opengeometry@xxxxxxxx>
Open Geometry Consulting, Toronto, Canada
Linux solution for data processing.
-
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/