Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 11:24:46 -0700
From:      Ed Flecko <edflecko@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   /boot is full after running "make installkernel" on FreeBSD 8.0
Message-ID:  <AANLkTil7rb8_YNbGPfwsNt1_Zn4hdOr9hTpGwVwTEbrF@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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