From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:52:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 775971065675 for ; Tue, 23 Dec 2008 19:52:16 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (s5.stradamotorsports.com [64.81.163.123]) by mx1.freebsd.org (Postfix) with ESMTP id 4A8FE8FC22 for ; Tue, 23 Dec 2008 19:52:16 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from [192.168.1.17] ([192.168.1.17]) by mx1.highperformance.net (8.14.3/8.14.3) with ESMTP id mBNJqFlj014789; Tue, 23 Dec 2008 11:52:15 -0800 (PST) (envelope-from jcw@highperformance.net) Message-ID: <4951416F.8090201@highperformance.net> Date: Tue, 23 Dec 2008 11:52:15 -0800 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> In-Reply-To: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Going back to generic 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: Tue, 23 Dec 2008 19:52:16 -0000 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