From owner-svn-doc-all@FreeBSD.ORG Tue Mar 4 20:54:37 2014 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9463A533; Tue, 4 Mar 2014 20:54:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 802959A6; Tue, 4 Mar 2014 20:54:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s24KsbME007369; Tue, 4 Mar 2014 20:54:37 GMT (envelope-from dru@svn.freebsd.org) Received: (from dru@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s24Ksbrt007368; Tue, 4 Mar 2014 20:54:37 GMT (envelope-from dru@svn.freebsd.org) Message-Id: <201403042054.s24Ksbrt007368@svn.freebsd.org> From: Dru Lavigne Date: Tue, 4 Mar 2014 20:54:37 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44122 - head/en_US.ISO8859-1/books/handbook/advanced-networking X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 20:54:37 -0000 Author: dru Date: Tue Mar 4 20:54:36 2014 New Revision: 44122 URL: http://svnweb.freebsd.org/changeset/doc/44122 Log: 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. Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Tue Mar 4 20:28:29 2014 (r44121) +++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Tue Mar 4 20:54:36 2014 (r44122) @@ -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="laggp - Diskless Operation + Diskless Operation with <acronym>PXE</acronym> @@ -4005,9 +3998,6 @@ ifconfig_lagg0="laggp - 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 r , 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 r root-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 - - - - + PXE Booting with an <acronym>NFS</acronym> Root File System @@ -4398,6 +4361,7 @@ cd /usr/src/etc; make distribution for more information about the &os; booting process. + Setting Up the &man.chroot.8; Environment for the