Filesystem full when installing custom kernel in FreeBSD
Ivan Klymenko
fidaj at ukr.net
Tue Oct 19 06:30:26 UTC 2010
В Tue, 19 Oct 2010 00:53:31 +0200
Jack Engqvist Johansson <jack at skysel.com> пишет:
> Hi,
>
> I just got succeeded with my compilation of a custom kernel for
> FreeBSD 8.1. But when I'm trying to install it, I got an error.
> File system is full!
>
> So I moved the old kernel to another partition, but got the same
> error. And I cannot move it back again.
> Whats wrong? How can I do to get a kernel again?
>
> Thanks.
> Best regards, Jack Engvist Johansson
>
>
>
> bsd# make installkernel KERNCONF=NECTRUS
> --------------------------------------------------------------
> >>> Installing kernel
> --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/NECTRUS; MAKEOBJDIRPREFIX=/usr/obj
> MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE=
> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> make KERNEL=kernel install
> thiskernel=`sysctl -n kern.bootfile` ; if [ ! "`dirname
> "$thiskernel"`" -ef /boot/kernel ] ; then chflags -R noschg
> /boot/kernel ; rm -rf /boot/kernel ; else if [ -d /boot/kernel.old
> ] ; then chflags -R noschg /boot/kernel.old ; rm -rf
> /boot/kernel.old ; fi ; mv /boot/kernel /boot/kernel.old ; sysctl
> kern.bootfile=/boot/kernel.old/"`basename "$thiskernel"`" ; fi
> mkdir -p /boot/kernel
> install -p -m 555 -o root -g wheel kernel /boot/kernel
>
> /: write failed, filesystem is full
> install: /boot/kernel/kernel: No space left on device
> *** Error code 71
>
> Stop in /usr/obj/usr/src/sys/NECTRUS.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> -----------------------------------------------------------------------------------------
>
Look how much space left on partition /
df -h
and is not used for the root account
More information about the freebsd-hackers
mailing list