Page MenuHomeFreeBSD

D14336.diff
No OneTemporary

D14336.diff

Index: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
+++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
@@ -3898,7 +3898,7 @@
<acronym>NFS</acronym> by adding the following to
<filename>/etc/exports</filename>:</para>
- <programlisting>/b -ro -alldirs</programlisting>
+ <programlisting>/b -ro -alldirs -maproot=root</programlisting>
</step>
<step>
@@ -3937,25 +3937,19 @@
</step>
<step>
- <para>Rebuild the &os; kernel and userland (refer to <xref
- linkend="makeworld"/> for more detailed
- instructions):</para>
-
- <screen>&prompt.root; <userinput>cd /usr/src</userinput>
-&prompt.root; <userinput>make buildworld</userinput>
-&prompt.root; <userinput>make buildkernel</userinput></screen>
+ <para>Install the base system into
+ <filename>${NFSROOTDIR}</filename>, either by
+ decompressing the official archives or by rebuilding
+ the &os; kernel and userland (refer to
+ <xref linkend="makeworld"/> for more detailed
+ instructions, but do not forget to add
+ <option>DESTDIR=<replaceable>${NFSROOTDIR}</replaceable></option>
+ when running the
+ <command>make installkernel</command> and
+ <command>make installworld</command> commands.</para>
</step>
<step>
- <para>Install &os; into the directory mounted over
- <acronym>NFS</acronym>:</para>
-
- <screen>&prompt.root; <userinput>make installworld DESTDIR=${NFSROOTDIR}</userinput>
-&prompt.root; <userinput>make installkernel DESTDIR=${NFSROOTDIR}</userinput>
-&prompt.root; <userinput>make distribution DESTDIR=${NFSROOTDIR}</userinput></screen>
- </step>
-
- <step>
<para>Test that the <acronym>TFTP</acronym> server works and
can download the boot loader which will be obtained via
<acronym>PXE</acronym>:</para>
@@ -4026,7 +4020,16 @@
<filename>/etc</filename> and <filename>/var</filename> will
be created and mounted and the contents of the
<filename>cpio.gz</filename> files will be copied into
- them.</para>
+ them. By default, these file systems have a maximum capacity
+ of 5 megabytes. If your archives do not fit, which is
+ usually the case for <filename>/var</filename> when binary
+ packages have been installed, request a larger size by putting
+ the number of 512 byte sectors needed (e.g., 5 megabytes
+ is 10240 sectors) in
+ <filename>${NFSROOTDIR}/conf/base/etc/md_size</filename> and
+ <filename>${NFSROOTDIR}/conf/base/var/md_size</filename>
+ files for <filename>/etc</filename> and
+ <filename>/var</filename> file systems respectively.</para>
</sect2>
<sect2 xml:id="network-pxe-setting-up-dhcp">

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 3:11 PM (12 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15605575
Default Alt Text
D14336.diff (2 KB)

Event Timeline