Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 12:00:28 -0600
From:      jpaetzel@hutchtel.net
To:        "Brent" <bierblb@netins.net>, <freebsd-questions@FreeBSD.ORG>, Tim McMillen <timcm@umich.edu>
Subject:   Re: Installworld (HELP!!)
Message-ID:  <3A6D725C.32732.2B6E2B@localhost>
In-Reply-To: <01012310234906.12411@tim.elnsng1.mi.home.com>
References:  <004d01c08548$5c3b3ee0$6100000a@vladsempire.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> >
> > Someone help me out if I have my head stuck firmly up my nether
> > regions, but from Brent's first post it isn't clear to me whether he
> > did a make world.
> 
> Read chapter 19 of the handbook again.
> Make world is the overall make target.  It was split up into make 
> buildworld and make installworld, because install world can be 
> dangerous on a multiuser machine.  So dropping down to single user to 
> do installworld results in less downtime than doing the whole thing in 
> single user mode.
> 
> >
> > After updating the sources the following three things need to be
> > done:
> >
> > #make world
> 
> You are mixing and matching build targets.
> 
> > #make buildworld KERNEL=MYKERNEL
> > #make installworld KERNEL=MYKERNEL
> 
> These are incorrect.   For rebuilding a kernel after updating sources 
> and a build world, the correct commands are:
> # cd /usr/src
> # make buildkernel KERNEL=MYKERNEL
> # make installkernel KERNEL=MYKERNEL
> 
> These are from chapter 7 of the handboook.
> 
> 
> > This sequence DOES compile the kernel, does it not?  Please let me
> > know if I am mistaken.  
> 
> It does if you specify the buildkernel/installkernel targets.   You 
> were close, just the wrong targets.
> 
> > I used to think that I knew what was going
> > on, but after the recent discussion of the different ways to compile
> > a new kernel, I am not sure anymore.
> 
> 	The only confusion is that there are two methods of building the 
> kernel. One is used when the source tree has not been updated, the 
> other is used when it has.  That is written in the appropriate section 
> in chapter 7, but many people miss it.
> 
> 						Tim
> 
> 
> 

Thanks for the reply.  I think that I know why my system got hosed 
up the other day now.  That's what I get for going from memory on 
something that I haven't done very much.

Josh




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6D725C.32732.2B6E2B>