Re: Initrd Question

H. Peter Anvin
2004-02-13T17:12:32Z

Followup to: <E1ArfAQ-00007f-7Z@localhost>
By author: der.eremit@email.de
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@zytor.com
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!!