Date: Mon, 14 Aug 2006 16:33:06 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: dick hoogendijk <dick@nagual.nl> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: quick way fall back to the original kernel Message-ID: <20060814133306.GA8795@gothmog.pc> In-Reply-To: <20060814092042.GA881@arwen.nagual.nl> References: <20060813200753.85753.qmail@web52111.mail.yahoo.com> <df9ac37c0608132231v38be825eqc9c12e7d4103523b@mail.gmail.com> <20060814092042.GA881@arwen.nagual.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-08-14 11:20, dick hoogendijk <dick@nagual.nl> wrote:
> On 13 Aug Atom Powers wrote:
> > And, although I've never tried it, you sholud be able to `cp
> > /boot/kernel.old /boot/kernel` to restore the previous kernel.>
>
> I did. A few times. I just renamed the directories to "kernel" and
> "whatevername" ;-) Works like a charm..
Right.
I usually wait a few days to make sure there are no funny problems with
the CURRENT kernel I'm using, and then run:
# cd /boot
# rm -fr kernel.safe
# cp -Rp kernel kernel.safe
This way, I have /boot/kernel, /boot/kernel.old and /boot/kernel.safe.
By keeping kernel.safe out of the (kernel, kernel.old) way, I'm sure
that I won't accidentally lose my 'safe' kernels because I run "make
installkernel" at the wrong time.
HTH,
Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060814133306.GA8795>
