Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 22:47:27 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        John Baldwin <jhb@freebsd.org>, Kyle Evans <kevans@freebsd.org>, svn-src-head@freebsd.org,  svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r331209 - head
Message-ID:  <CANCZdfp1cMFbfiUA%2BtA1kFNs_7cQqf_gNaHEs%2B59cAFh=Kx1bQ@mail.gmail.com>
In-Reply-To: <20180322043938.GA8311@FreeBSD.org>
References:  <201803191527.w2JFRr7B058668@repo.freebsd.org> <4168709.idJmbTaMPK@ralph.baldwin.cx> <20180322040316.GB49350@FreeBSD.org> <CANCZdfos0HKK=zmUjtDPmc4Kjnxw32gtYQ%2BW60NQVn1GMpUKfQ@mail.gmail.com> <20180322043938.GA8311@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 21, 2018 at 10:39 PM, Alexey Dokuchaev <danfe@freebsd.org>
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@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.
>

We've done what we can to make it so you don't brick your system if you
don't do that, but the pedantic way is build everything, install a new
kernel, reboot single user, install world and bring it up multi-user,
though that leaves a copy of the old sh around that doesn't hurt anything.
The alternate way is to install kernel, reboot installworld, reboot, but
usually people skip the reboot after install kernel. You can usually get
away with it, but the ino64 showed that's not always possible (the forward
compat code wasn't committed for weeks and even then there's no guarantee
that it would).

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp1cMFbfiUA%2BtA1kFNs_7cQqf_gNaHEs%2B59cAFh=Kx1bQ>