From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 07:19:25 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 59C9516A4FF for ; Fri, 12 Mar 2004 07:19:22 -0800 (PST) Received: from ws1.cnweb.com (ws1.cnweb.com [207.91.1.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 58D9F43D1D for ; Fri, 12 Mar 2004 07:19:22 -0800 (PST) (envelope-from darryl@osborne-ind.com) Received: (qmail 26083 invoked from network); 12 Mar 2004 15:19:19 -0000 Received: from p245n23.ruraltel.net (HELO darryl) (24.225.23.245) by spkg.com with SMTP; 12 Mar 2004 15:19:19 -0000 From: "Darryl Hoar" To: "'Robert Downes'" Date: Fri, 12 Mar 2004 09:20:17 -0600 Message-ID: <00a901c40845$86baef20$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Importance: Normal In-Reply-To: <4051CC8B.6070106@lineone.net> cc: freebsd-questions@freebsd.org Subject: RE: Building new kernel help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: darryl@osborne-ind.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 15:19:25 -0000 I was following the handbook (/usr/share/doc). There are two methods in 5.1-release of building a kernel. Method 1. The /usr/sbin/config MYKERNEL cd ../compile/MYKERNEL make depend make make install Method 2. cd /usr/src make buildkernel KERNCONF=MYKERNEL make installkernel KERNCONF=MYKERNEL the handbook recommended method 1 if you had not cvsup. So, I did method 1. The thing that's throwing me is in 5.1-release, it brings up a character menu of choices when booting (complete with ascii art of the mascot). What option do I choose so I can do: boot kernel.old ? thanks, Darrl > -----Original Message----- > From: Robert Downes [mailto:nullentropy@lineone.net] > Sent: Friday, March 12, 2004 8:43 AM > To: darryl@osborne-ind.com; FreeBSD Questions > Subject: Re: Building new kernel help > > > Darryl Hoar wrote: > > >How do I boot the old kernel ? I built the new one with the > >/usr/sbin/config, make depend, make,make install sequence. > > > > > make depend? > > I'm afraid I'm not familiar with that method of kernel building. > (However, I've never used Linux.) > > I use the > > make buildkernel > make installkernel > > method. > > If your method has built a kernel in the same manner, though, > you might > be alright. When a new kernel is installed, the old one is renamed > kernel.old. > > If this is the case, then you should still be able to boot from the > previous kernel. When the loader prompt appears (press Enter to skip > countdown, any other key to get the loader propmt... hit any key but > Enter), type the following: > > boot /boot/kernel.old > > and if you do have the old kernel, it should boot, and > everything should > work as before. Then you should read the Handbook about > building kernels > in FreeBSD, and rebuild and install the GENERIC kernel. > > -- > Bob > >