svn commit: r331209 - head

Warner Losh imp at bsdimp.com
Thu Mar 22 04:47:29 UTC 2018


On Wed, Mar 21, 2018 at 10:39 PM, Alexey Dokuchaev <danfe at 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 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.
>

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


More information about the svn-src-head mailing list