Re: NFS-mounted, read-only /dev unusable in 2.6

From: Frank Steiner
Date: Tue Aug 03 2004 - 09:45:54 EST


Dick Streefland wrote:
Frank Steiner <fsteiner-mail@xxxxxxxxxxxxxx> wrote:
| Or is there any other way to get an initial console or
| output any messages from an init script if one boots via nfsroot
| and / (and thus, /dev) is only exported read-only from the
| server?

You can boot with a ramdisk as root, initialized with an initrd, and
then perform all NFS mounts manually in the init script. You can use
pivot_root to switch to an NFS root to get rid of the ramdisk.

I'm hoping for an easier solution, because it's a lot of work just
to get the console messages onto the screen. But maybe I have to go
through this :-)



--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
-
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/