From owner-freebsd-questions@FreeBSD.ORG Mon Aug 14 13:33:26 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 BA34016A4DA for ; Mon, 14 Aug 2006 13:33:26 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B25943D6E for ; Mon, 14 Aug 2006 13:33:23 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.7/8.13.7/Debian-2) with ESMTP id k7EDX7TM009018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Aug 2006 16:33:08 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.7/8.13.7) with ESMTP id k7EDXApK008874; Mon, 14 Aug 2006 16:33:11 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.7/8.13.7/Submit) id k7EDX6kY008873; Mon, 14 Aug 2006 16:33:06 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 14 Aug 2006 16:33:06 +0300 From: Giorgos Keramidas To: dick hoogendijk Message-ID: <20060814133306.GA8795@gothmog.pc> References: <20060813200753.85753.qmail@web52111.mail.yahoo.com> <20060814092042.GA881@arwen.nagual.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060814092042.GA881@arwen.nagual.nl> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.832, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.57, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions 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 13:33:26 -0000 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