/boot is full after running "make installkernel" on FreeBSD 8.0

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu Jul 1 19:58:13 UTC 2010


Chip Camden <sterling at camdensoftware.com> writes:

> On Jul 01 15:10, Lowell Gilbert wrote:
>> Chip Camden <sterling at camdensoftware.com> writes:
>> 
>> > I've experienced the same thing on amd64 -- the default partition size
>> > for root is too small.  Rather than going to the trouble of correcting
>> > it, I just 'rm -r /boot/kernel.old' when it fails and then redo 'make
>> > installkernel', and all seems OK.
>> 
>> That's a little dangerous, because you're deleting your last known-good
>> kernel.  I'd feel better about recommending just removing the
>> unnecessary kernel modules (which for a lot of people, is all of them).
>
> Could you expand on that?  I'd prefer a less risky option, especially
> because I always get this paralyzing fear that I'll accidentally hit
> Enter after I've typed 'rm -r /'

A healthy fear, indeed.

For one thing, I'd certainly rather have someone 
do "rm /boot/kernel.old/*.ko" than "rm -r /boot/kernel.old".

Being even more selective is an obvious extension...


More information about the freebsd-questions mailing list