Re: [RFC][Patch] Allow not mounting a root fs

From: H. Peter Anvin
Date: Fri Jul 06 2007 - 13:16:35 EST


Andre Noll wrote:
> On 17:00, Bodo Eggert wrote:
>
>> I've put the complete system into initrams, and I just want the kernel to
>> run /sbin/init.
>
> Did you try to exec /sbin/init as the last thing in the init script
> of your initramfs? That worked for me some time ago.
>

Just add a symlink:

/init -> /sbin/init

-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/