Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2006 09:07:08 -0700 (PDT)
From:      gahn <ipfreak@yahoo.com>
To:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: quick way fall back to the original kernel
Message-ID:  <20060814160708.55919.qmail@web52114.mail.yahoo.com>
In-Reply-To: <20060814133306.GA8795@gothmog.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for ur advice.

actually i did that; rename the current kernel and
name the "kernel.old to "kernel", which worked. but i
am looking for a command that could do that.

the reason is that i am trying to keep my kernel up to
date, but my understanding is that it could be done
only with the original kernel, right? or i am
mistaken...

as to kernel.safe, there is no this directory by
default (even boot manual has option for kernel safe).
i am wondering where the kernel.safe is...

but i do keep a copy of the orginal kernel in case i
loss track of kernel version...


--- Giorgos Keramidas <keramida@ceid.upatras.gr>
wrote:

> 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
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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