From owner-freebsd-stable@freebsd.org Mon Sep 5 00:47:36 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC818B73257 for ; Mon, 5 Sep 2016 00:47:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BBD48AF for ; Mon, 5 Sep 2016 00:47:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u850lRqe033547 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 4 Sep 2016 18:47:27 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u850lQ3Z033544; Sun, 4 Sep 2016 18:47:26 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 4 Sep 2016 18:47:26 -0600 (MDT) From: Warren Block To: Matt Smith cc: "Julian H. Stacey" , freebsd-stable@freebsd.org Subject: Re: omitting make installkernel in an upgarde between 2 x 10-stable In-Reply-To: <20160904162101.GA1172@xtaz.uk> Message-ID: References: <201609041137.u84BbQoB062773@fire.js.berklix.net> <201609041435.u84EZT7K068273@fire.js.berklix.net> <20160904162101.GA1172@xtaz.uk> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 04 Sep 2016 18:47:27 -0600 (MDT) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2016 00:47:36 -0000 On Sun, 4 Sep 2016, Matt Smith wrote: > On Sep 04 16:35, Julian H. Stacey wrote: >> Hi, Reference: >>> From: "Julian H. Stacey" >>> Date: Sun, 04 Sep 2016 13:37:26 +0200 >> >> "Julian H. Stacey" wrote: >>> Hi stable@ people >>> In a jail, uname -r 10.3-RELEASE-p4, I started >>> cd /usr/src ; make buildworld, >>> then realised per >>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >>> I will not be able to >>> make installkernel ; reboot >>> preceeding >>> make installworld >>> Am I on route to shooting myself in the foot ? >> >> It survived. No shot foot :-) > > Just to let you know. I have done this for years on versions 4 through to 10 > and never had a single problem. Only on minor version upgrades though from > say 10.2 to 10.3. My procedure is: > > make -j4 buildworld && make -j4 buildkernel > make installkernel > make installworld > mergemaster > shutdown -r now > make delete-old > make delete-old-libs > > I do this because I don't have a keyboard or monitor on the machine during > normal use. This has *always* worked fine. However for a major version > upgrade from say 10.x to 11.x I have always done it the correct and proper > way using single user mode via the console. Can't recall the last time I did single user. It might have been more than a decade now. Here is what I do: http://www.wonkity.com/~wblock/docs/html/buildworld.html (And no, "kernel" is not a mistake.)