/boot is full after running "make installkernel" on FreeBSD 8.0
Chip Camden
sterling at camdensoftware.com
Thu Jul 1 18:57:29 UTC 2010
On Jul 01 11:24, Ed Flecko wrote:
> Hi folks,
> I'm running FreeBSD 8.0, and I'm trying to simple stay current with
> all security patches. It's a clean install of FreeBSD 8.0 on a 50G
> drive, and I let sysinstall select the default partition configuration
> when I did the install.
>
> I've taken the following steps:
>
>
> # csup -4 /etc/stable-supfile
> # cd /usr/src
> # make buildworld
> # make buildkernel
> # make installkernel
>
> After the make installkernel command, the / partition shows 106%
> capacity (and it started as 500M).
>
> Here's my before and after running "make installkernel"
>
> Before:
>
> Filesystem Size Used Avail Capacity Mounted on
> /dev/da0s1a 496M 253M 203M 55% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/da0s1e 496M 12K 456M 0% /tmp
> /dev/da0s1f 44G 3.0G 37G 8% /usr
> /dev/da0s1d 1.9G 10M 1.8G 1% /var
>
> After:
>
> Filesystem Size Used Avail Capacity Mounted on
> /dev/da0s1a 496M 485M -29M 106% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/da0s1e 496M 12K 456M 0% /tmp
> /dev/da0s1f 44G 3.0G 37G 8% /usr
> /dev/da0s1d 1.9G 10M 1.8G 1% /var
>
> # cd /
> # du -h -d2 | grep M
>
> 2.0K ./tmp/.XIM-unix
> 33M ./usr/bin
> 18M ./usr/include
> 37M ./usr/lib
> 20M ./usr/libexec
> 267M ./usr/local
> 20M ./usr/sbin
> 37M ./usr/share
> 511M ./usr/src
> 450M ./usr/ports
> 10M ./var/db
> 10M ./var
> 1.7M ./etc
> 1.1M ./bin
> 233M ./boot/kernel
> 233M ./boot/kernel.old
> 466M ./boot
> 7.4M ./lib
> 4.3M ./rescue
> 4.4M ./sbin
>
> It looks like the both kernels are eating up the entire /
>
> Right?
>
> What am I doing wrong? The isn't normal, is it?
>
> Thank you,
> Ed
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
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.
--
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100701/c6d9c954/attachment.pgp
More information about the freebsd-questions
mailing list