Kernel Compilation...
Adam Nealis
adamnealis at yahoo.co.uk
Mon Jan 2 10:17:58 PST 2006
--- Crispy Beef <crispy.beef at ntlworld.com> wrote:
> Adam Nealis wrote:
>
> *snip*
>
> >>
> >>Here's what I did:
> >>
> >>1. Install from CD (6.0-RELEASE)
> >>2. Got latest kernel src with sysinstall
> >
> >
> > Hmm. cvsup might be better. Having said that, when I cvsup'd 6.0-RELEASE
> > after installing from CD, there were only one or two files updated. But
> > my version went from 6.0-RELEASE to 6.0-RELEASE-p1.
> >
> > The other thing is you don't appear to have run buildworld. This step
> > uses the 6.0-RELEASE source in /usr/src to build userland and gcc and
> > so on. I'm not sure, but I think you have to use the compilation tools
> > from buildworld to create your new kernel.
>
> I wasn't aware that I needed to do a buildworld too, am limited on the amount
> of disk space I have, the whole disk is 6Gb with a 1Gb /home and over 3Gb
> /usr. Is that going to be enough? /tmp and /var are quite small.
All the stuff is built in /usr/obj. On my system, the 6.0-STABLE build
I did yesterday looks like this:
{frank:adam:~} df /usr/obj/
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0s2e 507630 405354 61666 87% /usr/obj
However, I have trimmed some stuff from userland and the kernel. With 3GB
free in /usr you should have plenty of space.
> Will go through the Makefile and see what happens this time round.
Good luck!
__________________________________
Yahoo! for Good - Make a difference this year.
http://brand.yahoo.com/cybergivingweek2005/
More information about the freebsd-questions
mailing list