Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2005 12:19:33 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org, gabriel <normal1.lists@gmail.com>
Subject:   Re: 5.3 and building world
Message-ID:  <200503061219.33249.kstewart@owt.com>
In-Reply-To: <efb858205030612017bb8c1f@mail.gmail.com>
References:  <efb8582050306111723586d1c@mail.gmail.com> <200503061159.56088.kstewart@owt.com> <efb858205030612017bb8c1f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 06 March 2005 12:01 pm, gabriel wrote:
> Yep, I know enoguh to read through the handbook, the problem lies in
> the fact that if I use make buildkernel KERNCONF=MYKERNEL I get a
> stop error which says I have to buildworld first (even though I have
> before this step). Thats the reason for the question. But thanks
> anyway

Ah, you didn't say that. If you cvsup, you have to do the buildworld 
first. You need to figure out why buildkernel can't find the obj files 
in /usr/obj. If you already have a current installed world with a 
generic kernel, you can use the config MYKERNEL way of building a new 
kernel.

Kent

>
> Cheers!
>
> On Sun, 6 Mar 2005 11:59:55 -0800, Kent Stewart <kstewart@owt.com> 
wrote:
> > On Sunday 06 March 2005 11:17 am, gabriel wrote:
> > > Alright so when upgrading to 5.3 from 5.2 I cvsuped the source
> > > which obviously got GENERIC overwritten. My question is, besides
> > > the instructions on /usr/src/Makefile(?) is there another way to
> > > update the source and be able to specify a custom kernel?
> >
> > There is a whole chapter on configuring your own kernel. They show
> > you how to cp GENERIC to your own name and then use it. See
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelcon
> >fig.html
> >
> > They show you both the config way and the new build[install]kernel
> > way of maintaing your kernel. I log everything and have the
> > individual commands in shell scripts so that a mistake won't do
> > something unexpected.
> >
> > Kent
> >
> > > Cheers!
> >
> > --
> > Kent Stewart
> > Richland, WA
> >
> > http://users.owt.com/kstewart/index.html

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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