svn commit: r331209 - head

John Baldwin jhb at freebsd.org
Fri Mar 23 16:38:53 UTC 2018


On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote:
> On Wed, Mar 21, 2018 at 10:34:15PM -0600, Warner Losh wrote:
> > On Wed, Mar 21, 2018 at 10:03 PM, Alexey Dokuchaev <danfe at freebsd.org>
> > wrote:
> > > On Mon, Mar 19, 2018 at 09:20:40AM -0700, John Baldwin wrote:
> > > > ...
> > > > How does this fit with the recommended installation steps of doing
> > > > 'make installkernel' and rebooting before doing a 'make installworld'?
> > >
> > > Rebooting?  I vaguely recall recommended procedure was to switch to single
> > > user mode prior to `installworld', but personally I've never bothered and
> > > installed kernel, [mm -p,] world, mm -Fi, reboot.  Am I missing something?
> > 
> > Old advice was to do the installworld in single user, as that's the safest
> > (and also ensures you have a new kernel and don't install before rebooting).
> > However, we've had enough experience to see that usually an installworld +
> > reboot is sufficient.
> 
> Right, but John had mentioned extra reboot *between* installkernel and
> installworld, which I've never heard of before.

>From the end up of src/UPDATING:

        To rebuild everything and install it on the current system.
        -----------------------------------------------------------
        # Note: sometimes if you are running current you gotta do more than
        # is listed here if you are upgrading from a really old current.

        <make sure you have good level 0 dumps>
        make buildworld
        make kernel KERNCONF=YOUR_KERNEL_HERE
                                                        [1]
        <reboot in single user>                         [3]
        mergemaster -Fp                                 [5]
        make installworld
        mergemaster -Fi                                 [4]
        make delete-old                                 [6]
        <reboot>

See also https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Often you can take shortcuts, but this is the only process we guarantee will
always work.  (We will also sometimes add additional shims to make some of the
common shortcuts work, but we don't guarantee that.)

-- 
John Baldwin


More information about the svn-src-head mailing list