Issue with kernel building

Polytropon freebsd at edvax.de
Mon Aug 20 13:52:28 UTC 2012


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, ...


More information about the freebsd-questions mailing list