Date: Fri, 12 Mar 2004 09:20:17 -0600 From: "Darryl Hoar" <darryl@osborne-ind.com> To: "'Robert Downes'" <nullentropy@lineone.net> Cc: freebsd-questions@freebsd.org Subject: RE: Building new kernel help Message-ID: <00a901c40845$86baef20$0701a8c0@darryl> In-Reply-To: <4051CC8B.6070106@lineone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a901c40845$86baef20$0701a8c0>
