From owner-freebsd-questions@FreeBSD.ORG Mon Aug 14 16:07:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E8D516A4DA for ; Mon, 14 Aug 2006 16:07:14 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web52114.mail.yahoo.com (web52114.mail.yahoo.com [206.190.48.117]) by mx1.FreeBSD.org (Postfix) with SMTP id A960F43D77 for ; Mon, 14 Aug 2006 16:07:09 +0000 (GMT) (envelope-from ipfreak@yahoo.com) Received: (qmail 55921 invoked by uid 60001); 14 Aug 2006 16:07:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fPhnNnk4EYcciJ3K9C1NF/x9MwtBnZhAXyYAfqMRzfYyj/+COfyDF9h6X0rtAXDIO0pql9pZy/7qyKCrKl3ZK1O79lssofE8AnJ66WKf+qezGbW61EL++wcPDeh+tcVB9ELj+eqMwSD9LDffRlm1xcXblvr3YOPp0wuHuld7NTs= ; Message-ID: <20060814160708.55919.qmail@web52114.mail.yahoo.com> Received: from [72.73.17.151] by web52114.mail.yahoo.com via HTTP; Mon, 14 Aug 2006 09:07:08 PDT Date: Mon, 14 Aug 2006 09:07:08 -0700 (PDT) From: gahn To: freebsd general questions In-Reply-To: <20060814133306.GA8795@gothmog.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: quick way fall back to the original kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 16:07:14 -0000 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 wrote: > On 2006-08-14 11:20, dick hoogendijk > 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