From 1d4ca578f629bc528f98d94c35d2eb1f328ad0d9 Mon Sep 17 00:00:00 2001 From: Dru Lavigne Date: Tue, 4 Mar 2014 20:54:36 +0000 Subject: [PATCH] Initial prep work to merge Diskless Booting and PXE chapters as much of their content overlaps. The next few commits will merge the content into a readable flow. Sponsored by: iXsystems. --- .../handbook/advanced-networking/chapter.xml | 72 +++++-------------- 1 file changed, 18 insertions(+), 54 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml index af6d8e2e34..34b1e64a8a 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml @@ -37,14 +37,7 @@ - How to set up network booting on a diskless - machine. - - - - How to set up network PXE booting - with an - NFS root file system. + How to set up network PXE booting. @@ -3833,7 +3826,7 @@ ifconfig_lagg0="laggproto failover laggport bge0 - Diskless Operation + Diskless Operation with <acronym>PXE</acronym> @@ -4005,9 +3998,6 @@ ifconfig_lagg0="laggproto failover laggport bge0 - Setup Instructions - - Configuration Using <application>ISC DHCP</application> @@ -4101,10 +4091,11 @@ subnet 192.168.4.0 netmask 255.255.255.0 { same as the TFTP one. - + - - Booting with <acronym>PXE</acronym> + + Configuring the <acronym>TFTP</acronym> and + <acronym>NFS</acronym> Servers By default, &man.pxeboot.8; loads the kernel via NFS. It can be compiled to use @@ -4124,11 +4115,6 @@ subnet 192.168.4.0 netmask 255.255.255.0 { select the Boot from network option in the BIOS setup or type a function key during system initialization. - - - - Configuring the <acronym>TFTP</acronym> and - <acronym>NFS</acronym> Servers TFTP @@ -4213,10 +4199,10 @@ subnet 192.168.4.0 netmask 255.255.255.0 { &prompt.root; service mountd restart - + - - Building a Diskless Kernel + + Preparing the Root File System diskless operation @@ -4252,10 +4238,6 @@ options BOOTP_NFSROOT # NFS mount root file system using BOOTP info, and copy it to the place specified in /usr/local/etc/dhcpd.conf. - - - - Preparing the Root File System root file system @@ -4267,11 +4249,8 @@ options BOOTP_NFSROOT # NFS mount root file system using BOOTP inforoot-path in /usr/local/etc/dhcpd.conf. - - Using <command>make world</command> to Populate - Root - - This method is quick and will install a complete + Using make world to populate + root is quick and will install a complete virgin system, not just the root file system, into DESTDIR. Execute the following script: @@ -4288,18 +4267,14 @@ cd /usr/src/etc; make distribution /etc/fstab placed into DESTDIR according to the system's requirements. - - + - + Configuring Swap If needed, a swap file located on the server can be accessed via NFS. - - <acronym>NFS</acronym> Swap - The kernel does not support enabling NFS swap at boot time. Swap must be enabled by the startup scripts, by mounting a writable @@ -4312,30 +4287,21 @@ cd /usr/src/etc; make distribution /etc/rc.conf: swapfile=/path/to/swapfile - - + - + Miscellaneous Issues - - Running with a Read-only - <filename>/usr</filename> - diskless operation /usr read-only If the diskless workstation is configured to run - &xorg;, adjust the + &xorg; and is running with a read-only /usr, adjust the XDM configuration file as it puts the error log on /usr by default. - - - - Using a Non-&os; Server When the server for the root file system is not running &os;, create the root file system on a &os; @@ -4349,12 +4315,9 @@ cd /usr/src/etc; make distribution mount this directory onto a &os; machine, and use &man.devfs.5; to allocate device nodes transparently for the user. - - - - + PXE Booting with an <acronym>NFS</acronym> Root File System @@ -4398,6 +4361,7 @@ cd /usr/src/etc; make distribution loaded and the rest of the &os; bootup sequence proceeds. Refer to for more information about the &os; booting process. + Setting Up the &man.chroot.8; Environment for the