From owner-svn-src-head@freebsd.org Fri Mar 23 16:38:53 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37AE5F57DFF; Fri, 23 Mar 2018 16:38:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFA387D963; Fri, 23 Mar 2018 16:38:52 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 159B710A8BE; Fri, 23 Mar 2018 12:38:52 -0400 (EDT) From: John Baldwin To: Alexey Dokuchaev Cc: Warner Losh , Kyle Evans , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers Subject: Re: svn commit: r331209 - head Date: Thu, 22 Mar 2018 08:52:47 -0700 Message-ID: <3226647.aiAOVF4eaK@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <20180322043938.GA8311@FreeBSD.org> References: <201803191527.w2JFRr7B058668@repo.freebsd.org> <20180322043938.GA8311@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Fri, 23 Mar 2018 12:38:52 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2018 16:38:53 -0000 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 > > 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 buildworld make kernel KERNCONF=YOUR_KERNEL_HERE [1] [3] mergemaster -Fp [5] make installworld mergemaster -Fi [4] make delete-old [6] 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