Re: Initrd Question

From: H. Peter Anvin
Date: Fri Feb 13 2004 - 12:13:34 EST


Followup to: <E1ArfAQ-00007f-7Z@localhost>
By author: der.eremit@xxxxxxxx
In newsgroup: linux.dev.kernel
>
> Now you're saying the kernel ignores real-root-dev, while a moment
> before you state that it is important to set real-root-dev because
> otherwise the kernel does something. Which is it?
>

You have to set root=/dev/ram0 in the boot loader, so that the kernel
will spawn /sbin/init with pid 1. Otherwise it spawns /linuxrc with a
non-1 pid, for dumb historical reasons.

Thus, setting it in the script is too late to do any good.

-hpa
--
PGP public key available - finger hpa@xxxxxxxxx
Key fingerprint: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
"The earth is but one country, and mankind its citizens." -- Bahá'u'lláh
Just Say No to Morden * The Shadows were defeated -- Babylon 5 is renewed!!
-
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/