Going back to generic kernel

Jason C. Wells jcw at highperformance.net
Tue Dec 23 19:52:16 UTC 2008

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.


More information about the freebsd-questions mailing list