Date: Thu, 22 Mar 2018 08:52:47 -0700 From: John Baldwin <jhb@freebsd.org> To: Alexey Dokuchaev <danfe@freebsd.org> Cc: Warner Losh <imp@bsdimp.com>, 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: <3226647.aiAOVF4eaK@ralph.baldwin.cx> In-Reply-To: <20180322043938.GA8311@FreeBSD.org> References: <201803191527.w2JFRr7B058668@repo.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 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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3226647.aiAOVF4eaK>