handbook/boot: fix unload + load example
The unload + load example in the 12.2.3 section doesn't seem to work. The original problem was reported in https://reviews.freebsd.org/D24960. Correct the example by using fully qualified paths since this is how it works now. Tested in 12.1, 12.2 and 13-current. Approved by: docs (gbe@) Differential Revision: https://reviews.freebsd.org/27277
This commit is contained in:
parent
c825f24fdf
commit
c4a6a8d0ed
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54707
1 changed files with 10 additions and 8 deletions
|
@ -449,19 +449,21 @@ boot:</screen>
|
|||
previous or another, specified kernel:</para>
|
||||
|
||||
<screen><userinput>unload</userinput>
|
||||
<userinput>load <replaceable>kernel.old</replaceable></userinput></screen>
|
||||
<userinput>load <replaceable>/path/to/kernelfile</replaceable></userinput></screen>
|
||||
|
||||
<para>Use <filename>kernel.GENERIC</filename> to refer to the
|
||||
default kernel that comes with an installation, or
|
||||
<filename>kernel.old</filename>, to refer to the previously
|
||||
installed kernel before a system upgrade or before configuring
|
||||
a custom kernel.</para>
|
||||
<para>Use the qualified
|
||||
<filename>/boot/GENERIC/kernel</filename> to refer to
|
||||
the default kernel that comes with an installation, or
|
||||
<filename>/boot/kernel.old/kernel</filename>, to refer to the
|
||||
previously installed kernel before a system upgrade or before
|
||||
configuring a custom kernel.</para>
|
||||
|
||||
<para>Use the following to load the usual modules with another
|
||||
kernel:</para>
|
||||
kernel. Note that in this case it is not necessary the
|
||||
qualified name:</para>
|
||||
|
||||
<screen><userinput>unload</userinput>
|
||||
<userinput>set kernel="<replaceable>kernel.old</replaceable>"</userinput>
|
||||
<userinput>set kernel="<replaceable>mykernel</replaceable>"</userinput>
|
||||
<userinput>boot-conf</userinput></screen>
|
||||
|
||||
<para>To load an automated kernel configuration script:</para>
|
||||
|
|
Loading…
Reference in a new issue