From owner-freebsd-questions Fri Jan 26 14: 2:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp6.xs4all.nl (smtp6.xs4all.nl [194.109.6.48]) by hub.freebsd.org (Postfix) with ESMTP id 0F24837B401 for ; Fri, 26 Jan 2001 14:02:30 -0800 (PST) Received: from xs4.xs4all.nl (rene@xs4.xs4all.nl [194.109.6.45]) by smtp6.xs4all.nl (8.9.3/8.9.3) with ESMTP id XAA06987; Fri, 26 Jan 2001 23:02:26 +0100 (CET) From: rene@xs4all.nl Received: (from rene@localhost) by xs4.xs4all.nl (8.9.0/8.9.0) id XAA26527; Fri, 26 Jan 2001 23:02:25 +0100 (CET) Date: Fri, 26 Jan 2001 23:02:25 +0100 To: freebsd-questions@freebsd.org Subject: resize partitions on a crippled system? Message-ID: <20010126230225.B26400@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hoi ;) I'm still bugged by this 3.x -> 4.x upgrade. I've succeeded in building world using the following CVSup file; *default host=cvsup.nl.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix *default compress src-all But then, installworld (which is advised to do before rebuilding a kernel by the handbook) fails with: ===> gnu/usr.bin/as install -c -s -o root -g wheel -m 555 as /usr/libexec/aout install -c -o root -g wheel -m 444 as.1aout.gz /usr/share/man/man1aout ===> gnu/usr.bin/ld install -c -s -o root -g wheel -m 555 ld /usr/libexec/aout install -c -o root -g wheel -m 444 ld.1aout.gz /usr/share/man/man1aout ===> gnu/usr.bin/perl ===> gnu/usr.bin/perl/libperl install -c -o root -g wheel -m 444 libperl.a /usr/lib install: libperl.a: No such file or directory *** Error code 71 Stop. *** Error code 1 Not that I let that stop me. Oh no. I figured that it had installed quite a lot if not enough ;-), so I just went ahead and recompiled generic using /usr/src:make buildkernel KERNEL=GENERIC. Again, building went fine, but installing failed. This time for a logical reason. When I first installed the 3.x system, I let the installer decide on partition sizes. It gave me; Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/da0s1a 30 28 0 99% / procfs 0 0 0 100% /proc /dev/da0s1f 1810 900 764 54% /usr /dev/da0s1e 29 10 16 39% /var And this should also explain why my installkernel fails; I ran outta diskspace. :( Short question: Is there any way I can resize that /dev/da0s1a by snooping bytes off /dev/da0s1f without losing allocated data? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message