Differences between current version and revision by previous author of NFSRoot.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 13 | Last edited on Thursday, July 28, 2005 10:18:30 pm | by MattBrown | |
Older page: | version 12 | Last edited on Thursday, April 7, 2005 4:17:36 pm | by JoshEngland | Revert |
@@ -1,8 +1,8 @@
[NFSRoot] is the term used to describe running an operating system with its root filesystem (/) mounted via [NFS].
Why would anyone do this? Thin-clients, kiosks, industrial uses, and so on. If you dont need to touch a local harddisk, you can save a lot in the way of moving parts.
-There is a very functional package called
[oneSIS | http://onesis.org] that makes running NFSroot
very easy and has excellent documentation.
+[oneSIS | http://onesis.org] is a package
that makes running [NFSRoot]
very easy and has excellent documentation.
Other places to look for similar information include the DisklessWorkstationNotes page, and the notes on [PXE] and so forth.
This set up uses [PXE] booting network cards, via [PXELinux], to load a kernel and then mount / via NFS. Its very debian oriented, although the principles could be adapted to any situation.
@@ -128,9 +128,9 @@
Note, that the default file is the the default configuration file for the client. PXE actually searches first of all for its IP address printed in hexadecimal, then drops a byte off, and continues looking for this until it has to give up and use the default file. This lets you add a config file for each host you boot via PXE.
This pxe config file sets the default boot option to nfs. It tells it to boot the kernel 'netboot-kernel' which it gets via tftp. It appends the specified kernel options to the kernel. These options are all, as far as I can tell, ABSOLUTELY required.
-Note that
you can specify NFS mount options via the nfsroot parameter. Simply append then
after the root dir. The syntax is nfsroot=[[<server-ip>:]<root-dir>[[,<nfs-options>]. You will need this, for example, to tell the client
to mount the filesystem using NFS v3. (You'll
want this if the client needs
to work with large files --
NFSv2, the default for Linux clients, has
a 2GB filesize limit.) In that case,
the correct option is
"v3".
+__
Note:__
you can specify NFS mount options via the nfsroot kernel
parameter. Simply append them
after the root dir. The syntax is nfsroot=[[<server-ip>:]<root-dir>[[,<nfs-options>]. You will need this if you want
to mount the filesystem using NFS v3 which is needed if you
want to work with large files. (In
NFSv2, the default for Linux clients, there is
a 2GB filesize limit.). To enable NFSv3 use
the "v3" option
.
! Set up NFS
You'll need to add something like the following lines to /etc/exports