Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 19:28:11 +0200
From:      platanthera <platanthera@web.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Correct steps to recompile kernel
Message-ID:  <200405201928.11735.platanthera@web.de>
In-Reply-To: <20040520163907.7064.qmail@web40302.mail.yahoo.com>
References:  <20040520163907.7064.qmail@web40302.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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