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

James Bailie jimmy at mammothcheese.ca
Thu Jul 1 19:22:08 UTC 2010


Try rm -r /boot/kernel.old
I bet that's the problem.
--
James Bailie
http://www.mammothcheese.ca

-----Original Message-----
From: Ed Flecko <edflecko at gmail.com>
Sender: owner-freebsd-questions at freebsd.org
Date: Thu, 1 Jul 2010 11:24:46 
To: <freebsd-questions at freebsd.org>
Subject: /boot is full after running "make installkernel" on FreeBSD 8.0

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"


More information about the freebsd-questions mailing list