В Tue, 19 Oct 2010 15:58:35 +0200 Jack Engqvist Johansson <j...@skysel.com> пишет:
> On Tue, Oct 19, 2010 at 3:38 PM, Ivan Klymenko <fi...@ukr.net> wrote: > > В Tue, 19 Oct 2010 13:53:34 +0200 > > Jack Engqvist Johansson <j...@skysel.com> пишет: > > > >> On Tue, Oct 19, 2010 at 8:30 AM, Ivan Klymenko <fi...@ukr.net> > >> wrote: > >> > В Tue, 19 Oct 2010 00:53:31 +0200 > >> > Jack Engqvist Johansson <j...@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 > >> > > >> > >> $ df -h > >> Filesystem Size Used Avail Capacity Mounted on > >> /dev/ad4s1a 496M 490M -34M 108% / > >> devfs 1.0K 1.0K 0B 100% /dev > >> /dev/ad4s1e 496M 26M 430M 6% /tmp > >> /dev/ad4s1f 137G 13G 113G 10% /usr > >> /dev/ad4s1d 2.8G 162M 2.4G 6% /var > >> procfs 4.0K 4.0K 0B 100% /proc > >> linprocfs 4.0K 4.0K 0B 100% > >> /usr/compat/linux/proc > >> > >> > >> Nautilus: 4258945024 bytes (Free space) > >> /root: 14.2 KB (Used space) > >> > >> > > > > show me the output the following commands from the root account: > > du -chd0 /bin > > du -chd0 /boot > > du -chd0 /etc > > du -chd0 /lib > > du -chd0 /libexec > > du -chd0 /root > > du -chd0 /sbin > > > > bsd# du -chd0 /bin > 1.2M /bin > 1.2M total > bsd# du -chd0 /boot > 14M /boot > 14M total > bsd# du -chd0 /etc > 1.7M /etc > 1.7M total > bsd# du -chd0 /lib > 7.5M /lib > 7.5M total > bsd# du -chd0 /libexec > 514K /libexec > 514K total > bsd# du -chd0 /root > 457M /root > 457M total !!!!!! do not use the Root account to work in the system! !!!!!! Create another account for this... go to this directory (/root) and delete the files that take up much space and you're free ~ 450Mb... > bsd# du -chd0 /sbin > 4.6M /sbin > 4.6M total > > С уважением, Иван! ------------------------------------------ Мы можем все - что можем себе представить! jabber: fi...@jabber.ru skype: freedom_fidaj youtube channel: http://www.youtube.com/freedomfidaj mob.: +380938326345 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"