From owner-freebsd-questions@FreeBSD.ORG Thu May 20 10:28:19 2004 Return-Path: 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 B3EE216A4CE for ; Thu, 20 May 2004 10:28:19 -0700 (PDT) Received: from smtp.web.de (smtp05.web.de [217.72.192.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7652243D2D for ; Thu, 20 May 2004 10:28:19 -0700 (PDT) (envelope-from platanthera@web.de) Received: from [217.85.239.209] (helo=liza.hacienda.herti) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #91) id 1BQrL8-0003jz-00 for freebsd-questions@freebsd.org; Thu, 20 May 2004 19:28:18 +0200 From: platanthera To: freebsd-questions@freebsd.org Date: Thu, 20 May 2004 19:28:11 +0200 User-Agent: KMail/1.6.2 References: <20040520163907.7064.qmail@web40302.mail.yahoo.com> In-Reply-To: <20040520163907.7064.qmail@web40302.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405201928.11735.platanthera@web.de> Sender: platanthera@web.de Subject: Re: Correct steps to recompile kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 17:28:19 -0000 On Thursday 20 May 2004 18:39, Stephen Liu wrote: > Hi Bill, > > Tks for your advice. > > - snip - > > > > # cd /usr/src/sys/i386/conf > > > # cp GENERIC GENERIC.bak > > > # cp GENERIC MYKERNEL > > > # ee MYKERNEL > > > (modifying the kernel) > > > > This is good ... although making a backup of GENERIC > > is > > somewhat redundant. > > Noted with thanks. But in case of trouble where can I > get the old kernel back. When you install a new kernel the old one is backed up under /boot/kernel.old/ If you can't boot your new kernel, just press '6' in the boot loader menu to escape to the loader prompt, and then type unload load /boot/kernel.old/kernel boot regards