Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 15:52:25 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        Jamie Paul Griffin <jamie@kode5.net>, freebsd-questions@freebsd.org
Subject:   Re: Issue with kernel building
Message-ID:  <20120820155225.56919a1f.freebsd@edvax.de>
In-Reply-To: <20530.16310.145421.540487@jerusalem.litteratus.org>
References:  <DUB109-W1405A43C7DAF2745B9971C4C4BA0@phx.gbl> <k0rtla$9n3$1@ger.gmane.org> <20120820131344.GA6963@kontrol.kode5.net> <20120820152020.fbe1ff20.freebsd@edvax.de> <20530.16310.145421.540487@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Aug 2012 09:46:30 -0400, Robert Huff wrote:
> 
> Polytropon writes:
> 
> >  > Very good point! I'd clear the /usr/src/obj directory as pointed out,
> >  > then build a generic kenel, install it and boot from it. Then you
> >  > know you've got a working kernel to fall back on.
> >  
> >  You could then make a copy of that kernel, e. g. from its initial
> >  installation location /boot/kernel to /boot/kernel.GENERIC.
> 
> 	Before doing this, make sure you have enough space on /.  On my
> -CURRENT system, /boot/kernel uses ~300 mb and /boot/modules another
> 35; I created / with 2 gb in part so it could hold multiple kernels.
> 	Running out of space on / is a Really Bad Idea(tm).

Excellent advice. I'd like to add "man src.conf" and maybe
tweaking /etc/make.conf to adjust kernel and world builds
for the case that more control over what should be built
and installed is desired, such as omitting debug symbols,
the exclusion of certain modules and so on.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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