Finish upgrading remote server without physically being there?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Mar 2 22:01:54 UTC 2011


Damien Fleuriot <ml at my.gd> writes:

> On 3/2/11 7:07 PM, Lowell Gilbert wrote:

>> 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 :)

My point was not to do installworld until after the new kernel had been
shown to boot.  Unless the "make installworld" was supposed to happen
before the first "reboot" in that procedure, I think we're in full
agreement.  


More information about the freebsd-questions mailing list