Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2011 19:21:37 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: Finish upgrading remote server without physically being there?
Message-ID:  <4D6E8AB1.3050706@my.gd>
In-Reply-To: <4439n5bdlj.fsf@be-well.ilk.org>
References:  <AANLkTin39JjTsts2WwgDUV2QfZL745D0P3DqTkko8TFq@mail.gmail.com>	<4D6E6B16.7010508@my.gd>	<AANLkTin7sHXsLwBBUmHinDaB3FLOH25_CDy4v82gKFjw@mail.gmail.com>	<4D6E6E51.8030708@my.gd> <4439n5bdlj.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/2/11 7:07 PM, Lowell Gilbert wrote:
> Damien Fleuriot <ml@my.gd> 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 :)






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D6E8AB1.3050706>