-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mathias Weigt wrote:
| Donnie Berkholz wrote:
|> What exactly do you want more detail about?
|
|
| "They boot to an initrd containing busybox, then proceed to mount
| necessary bits from a read-only NFS export and other bits via tmpfs
| where they need to write, then pivot_root into the new NFS root."
|
| I'd like like some instructions how to do these things you wrote above.
| If you don't like to write a huge essay, I don't mind getting  it step
| by step.

A linuxrc file does all sorts of stuff. linuxrc is a file within an
initrd that gets automatically executed when booting into the initrd.
The initial, skeletal linuxrc downloads a more complex script called
linuxrc.real from the NFS server and executes that.

The more complex script mounts a number of NFS exports (/ and so on),
then mounts tmpfs for the areas that need write permissions (chunks of
/var and so forth). Another option here would be a unionfs, but I
haven't looked into it.

Originally, I got both of them from xmerlin (another dev), and modified
them a bit to fit my circumstances. I'll look around a bit to see
whether I can find them, and send them along.

Another thing you'll want to look into at this point is using initramfs
instead of initrd. initramfs is initrd's successor and operates a bit
differently.

Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDf//4XVaO67S1rtsRAs96AKCx9wBPSplknmDund3Pj98CufCu0gCePpP8
aVhbOADoW+2ZBSLkmdxaCNw=
=4Hi0
-----END PGP SIGNATURE-----
--
[email protected] mailing list

Reply via email to