From owner-freebsd-questions Fri Jan 26 15:31:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id AF88237B401 for ; Fri, 26 Jan 2001 15:31:27 -0800 (PST) Received: (qmail 63032 invoked by uid 100); 26 Jan 2001 23:31:21 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14962.2249.390492.601277@guru.mired.org> Date: Fri, 26 Jan 2001 17:31:21 -0600 (CST) To: rene@xs4all.nl Cc: questions@freebsd.org Subject: Re: resize partitions on a crippled system? In-Reply-To: <13440593@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rene@xs4all.nl types: > 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: In that case, the handbook is out of date. Please provide a URL so it can be fixed. > ===> 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? No. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message