Re: custom initrd question

From: Muli Ben-Yehuda (mulix_at_nonexisting.hamakor.org.il)
Date: Thu 05 Aug 2004 - 19:42:31 IDT


On Thu, Aug 05, 2004 at 06:31:59PM +0300, Shachar Shemesh wrote:

> I'm trying to create my own initrd for specific custom circumstances. As
> a part of these special circumstances, I wish the "linuxrc" script to
> perform the actual mounting of the new root filesystem.

That's what linuxrc usually does...

> If I specify that "root=/dev/ram0", then linuxrc isn't run at all. If I
> say anything else, it is going to try and mount the new root system
> itself, and fail (as it is already mounted).

If it's already mounted, it's because the linuxrc has mounted
it... I've been over this code in the kernel a few times recently, and
if I recall correctly, if you have initrd support compiled in, the
kernel relies on the initrd (which means the linuxrc) for mounting the
root FS. Can you show your linuxrc as Oleg suggested?

Cheers,
Muli

-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il




This archive was generated by hypermail 2.1.7 : Thu 05 Aug 2004 - 19:51:03 IDT