Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106113958
D14336.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D14336.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D14336: Precisions/caveat for 30.8 Diskless Operation
Attached
Detach File
Event Timeline
Log In to Comment