Differences between version 10 and predecessor to the previous major change of NFSRoot.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 10 | Last edited on Tuesday, March 1, 2005 11:10:22 am | by IainHogg | Revert |
Older page: | version 7 | Last edited on Sunday, August 10, 2003 4:56:39 pm | by DanielLawson | Revert |
@@ -84,9 +84,9 @@
Make a directory for the tftp root dir. I usually use /tftpboot
Under debian, make sure you have the following entries in /etc/inetd.conf:
tftp dgram udp wait root /usr/sbin/in.tftpd -p -s /tftpboot
-This tells tftp to use /tftproot
as its root - all paths are now relative to this.
+This tells tftp to use /tftpboot
as its root - all paths are now relative to this.
! Set up DHCP
Make sure your dhcpd config file contains something like (for dhcp 2.x, default in Debian Woody):
@@ -107,13 +107,13 @@
! Set up PXE
Copy pxelinux.0 from the pxelinux distribution under /tftpboot
-Make the directory /tftproot
/pxelinux.cfg - this is where you'll store all your configurations.
+Make the directory /tftpboot
/pxelinux.cfg - this is where you'll store all your configurations.
-In /tftproot
/pxelinux.cfg create a file called 'default', and add something like the following to it:
+In /tftpboot
/pxelinux.cfg create a file called 'default', and add something like the following to it:
-/tftproot
/pxelinux.cfg/default:
+/tftpboot
/pxelinux.cfg/default:
default nfs
label nfs
kernel netboot-kernel
@@ -126,8 +126,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".
! Set up NFS
You'll need to add something like the following lines to /etc/exports