From owner-freebsd-stable@freebsd.org Sun Sep 4 16:47:57 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 48787A9D795 for ; Sun, 4 Sep 2016 16:47:57 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 075F427F for ; Sun, 4 Sep 2016 16:47:56 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A1FF828430; Sun, 4 Sep 2016 18:47:47 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7776E28411; Sun, 4 Sep 2016 18:47:46 +0200 (CEST) Message-ID: <57CC5031.7070904@quip.cz> Date: Sun, 04 Sep 2016 18:47:45 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Matt Smith , "Julian H. Stacey" , freebsd-stable@freebsd.org Subject: Re: omitting make installkernel in an upgarde between 2 x 10-stable References: <201609041137.u84BbQoB062773@fire.js.berklix.net> <201609041435.u84EZT7K068273@fire.js.berklix.net> <20160904162101.GA1172@xtaz.uk> In-Reply-To: <20160904162101.GA1172@xtaz.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 04 Sep 2016 16:47:57 -0000 Matt Smith wrote on 09/04/2016 18:21: > 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 :-) It should work in most cases but there are always some edge cases where it can fail. > 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. I never did it in single user. There were some cases where it emitted warnings in the case of upgrade from 8.4 to 10.2 but it was fixed by second run of installkernel && installworld before "shutdown -r now" and then everything booted fine. Miroslav Lachman