Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2008 11:52:15 -0800
From:      "Jason C. Wells" <jcw@highperformance.net>
To:        Zbigniew Szalbot <zszalbot@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Going back to generic kernel
Message-ID:  <4951416F.8090201@highperformance.net>
In-Reply-To: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com>
References:  <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Zbigniew Szalbot wrote:
> Hi friends,
>
> I have a test machine with a custom kernel, which I copied (as the
> handbook suggests) to /root/kernels/. However, I do not really need
> it.
>
> My question is how do I switch back to the generic kernel? Many thanks
> and all the best to you all!
>
>   
/root/kernels is not booted by default.  I doubt this is the kernel that 
is running.

To run generic again, simply install the generic kernel much the same 
way you did the custon kernel.

cd /usr/src
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC

or set KERNCONF in /etc/make.conf

If you tweaked /boot/loader.conf to load something other than 
/boot/kernel/kernel then you'll need to untweak it.


Later,
Jason



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