Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 11:57:23 -0700
From:      Chip Camden <sterling@camdensoftware.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /boot is full after running "make installkernel" on FreeBSD 8.0
Message-ID:  <20100701185723.GD19474@libertas.local.camdensoftware.com>
In-Reply-To: <AANLkTil7rb8_YNbGPfwsNt1_Zn4hdOr9hTpGwVwTEbrF@mail.gmail.com>
References:  <AANLkTil7rb8_YNbGPfwsNt1_Zn4hdOr9hTpGwVwTEbrF@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Km1U/tdNT/EmXiR1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> I've taken the following steps:
>=20
>=20
> # csup -4 /etc/stable-supfile
> # cd /usr/src
> # make buildworld
> # make buildkernel
> # make installkernel
>=20
> After the make installkernel command, the / partition shows 106%
> capacity (and it started as 500M).
>=20
> Here's my before and after running "make installkernel"
>=20
> Before:
>=20
> 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
>=20
> After:
>=20
> 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
>=20
> # cd /
> # du -h -d2 | grep M
>=20
> 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
>=20
> It looks like the both kernels are eating up the entire /
>=20
> Right?
>=20
> What am I doing wrong? The isn't normal, is it?
>=20
> Thank you,
> Ed
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

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.

--=20
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com

--Km1U/tdNT/EmXiR1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iQEcBAEBAgAGBQJMLOUTAAoJEIpckszW26+Rm7gH/RMYzlHAaS1gpPAuYjycwp0Z
xzqeQzooZ5RspLdhASYBRym+RdjvCDov+pecdi9DD2ymMRXYbuh12UXaENpFfmWt
sU5xKdd4zKOnfOGjrFply4vo43l3wImzbUkDpt1XTV3hSDZ8fQiJJmtfbsVdX3pf
X4qL/UIHxU0IaOLq4thT1mwsaQL+SbxFozqBqFSlfqLBcTcmdKgF/tUizpYiDw+z
ZfoMQEcOA5shwZ2I8s5VSjszv/ChnMJ+VgIqViIz0AM2GmTeCtxDnKr34POVC1JI
P18kXMHq7auRVdN/Uz9TtyVTrLa1+/vSirjN3HqfeTjHaowPcbW0+llDNhtJ/aQ=
=cLo4
-----END PGP SIGNATURE-----

--Km1U/tdNT/EmXiR1--



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