Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2005 10:12:04 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-stable@freebsd.org, freebsd-amd64@freebsd.org
Subject:   Re: Failure on today's CVS (stable, AMD)
Message-ID:  <790a9fff050120081229a3ec6a@mail.gmail.com>
In-Reply-To: <20050119214229.GE1168@manor.msen.com>
References:  <20050119214229.GE1168@manor.msen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Jan 2005 16:42:29 -0500, Michael R. Wayne
<freebsd@wayne47.com> wrote:
> 2) More importantly, I recovered by loading /boot/kernel.old/kernel
>   and the box is up BUT I am concerned that the NEXT time that I
>   do "make installkernel" I'll stomp on kernel.old losing this fallback
>   procedure.  I can certainly copy /boot/kernel.old to /boot/kernel.save
>   but is there something else I should save?  Or is there another
>   suggested procedure?
> 
When I have a bad kernel I do the following after booting the good kernel.

cd /boot
rm -rf kernel
cp -rp kernel.old kernel
cp -rp kernel.old kernel.good

This way I can reboot the box without going into the loader to load kernel.old.

Scot



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