From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 18:21:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA5651065673 for ; Wed, 2 Mar 2011 18:21:41 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E47E8FC0C for ; Wed, 2 Mar 2011 18:21:40 +0000 (UTC) Received: by bwz12 with SMTP id 12so447896bwz.13 for ; Wed, 02 Mar 2011 10:21:40 -0800 (PST) Received: by 10.204.156.21 with SMTP id u21mr338757bkw.136.1299090100083; Wed, 02 Mar 2011 10:21:40 -0800 (PST) Received: from dfleuriot.technique-admin.paris.hi-media-techno.com ([83.167.62.196]) by mx.google.com with ESMTPS id f20sm167346bkf.4.2011.03.02.10.21.38 (version=SSLv3 cipher=OTHER); Wed, 02 Mar 2011 10:21:39 -0800 (PST) Message-ID: <4D6E8AB1.3050706@my.gd> Date: Wed, 02 Mar 2011 19:21:37 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D6E6B16.7010508@my.gd> <4D6E6E51.8030708@my.gd> <4439n5bdlj.fsf@be-well.ilk.org> In-Reply-To: <4439n5bdlj.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 18:21:41 -0000 On 3/2/11 7:07 PM, Lowell Gilbert wrote: > Damien Fleuriot writes: > >> On 3/2/11 5:15 PM, Ed Flecko wrote: >>> Thanks Damien. >>> >>> :-) >>> >>> Two questions - >>> >>> 1.) If rebooting into single user mode isn't obviously a >>> requirement...I wonder why so many tutorials, books, etc. tell you to >>> do this? >>> >> >> Rebooting single user ensures that most daemons aren't launched, as well >> as stuff related to networking and so on. >> >> It's safer but not mandatory per se. >> >> I've done 7.4-PRE to 8.0-REL upgrades just fine without the single user >> step, AND the machine came back alive ;) > > I do this all the time too, but if the new kernel doesn't boot, you > end up in more trouble than needing an extra reboot. The reboot part is > definitely important -- you can reboot into multiuser mode and do the > installworld that way, but if you have the new utilities and have to > drop back to an old kernel, you may have to reinstall the base system. > No you don't. after you make installkernel cd /boot mv kernel test mv kernel.old kernel nextboot -k test reboot ... all goes well ... cd /boot mv kernel kernel.old mv test kernel reboot Bless nextboot :)