Move the installkernel information that I added down a bit, and clarify

Submitted by:	keramida
This commit is contained in:
Tom Rhodes 2002-07-16 02:11:35 +00:00
parent 05e2b69e86
commit 00f18547b5
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=13636

View file

@ -1007,12 +1007,6 @@ Script done, &hellip;</screen>
can then build a new kernel based on your normal kernel configuration
file.</para>
<note><para>If kern.securelevel is elevated, then installkernel may fail
due to the system immutable flag option. Because of this, the user
may be required to use &man.chflags.1; with with noschg option. This
will allow the install process to overwrite the currently installed
kernel.</para></note>
<para>If you are upgrading to &os; 4.0 or above then the old
kernel build procedure (as described in <xref linkend="kernelconfig">)
is deprecated. Instead, you should run these commands
@ -1024,6 +1018,15 @@ Script done, &hellip;</screen>
&prompt.root; <userinput>make buildkernel</userinput>
&prompt.root; <userinput>make installkernel</userinput></screen>
<para>Note that if you have raised <literal>kern.securelevel</literal>
above 1 <emphasis>and</emphasis> you have set either the
<literal>noschg</literal> or similar flags to your kernel binary, you
might find it necessary to drop into single user mode to use
<maketarget>installkernel</maketarget>. Otherwise you should be able
to run both these commands from multi user mode without
problems. See &man.init.8; for details about
<literal>kern.securelevel</literal> and &man.chflags.1; for details
about the various file flags.</para>
<para>If you are upgrading to a version of &os; below 4.0 you should
use the old kernel build procedure. However, it is recommended
that you use the new version of &man.config.8;, using a command line