From owner-freebsd-questions Wed Sep 27 17:46:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sydney.worldwide.lemis.com (asbestos.linuxcare.com.au [203.17.0.30]) by hub.freebsd.org (Postfix) with ESMTP id CE1DE37B422 for ; Wed, 27 Sep 2000 17:46:10 -0700 (PDT) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.9.3/8.9.3) id LAA11510; Thu, 28 Sep 2000 11:45:43 +1100 (EST) (envelope-from grog) Date: Thu, 28 Sep 2000 11:45:43 +1100 From: Greg Lehey To: Stanley Hopcroft Cc: Questions@FreeBSD.ORG Subject: Re: How does one upgrade 3.x with 32MB / to 4.x ? Message-ID: <20000928114543.H11123@sydney.worldwide.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from Stanley.Hopcroft@IPAustralia.Gov.AU on Thu, Sep 28, 2000 at 11:14:31AM +1100 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 28 September 2000 at 11:14:31 +1100, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > I am writing to ask your recommendations upgrading 3.x hosts with 32 MB > root parititions that are more than 70% full, to 4.x. > > 4.x uses more than 27 MB. > > I have had a lot of trouble trying to use /stand/sysinstall UPGRADE > because the root file system fills up while the bin distribution is > being copied and unpacked. > > Often the machins I upgrade are standalone or have no means of > backup. In any case, I would rather do a fresh install if that were > the only way of getting back data. I think at some point you need to recognize the limitations of the upgrade process. I've been recommending large root partitions with /usr on the / partition for exactly this reason. Nowadays 3 to 4 GB seems a reasonable size, though there are good reasons for only having a single partition per disk. On the other hand, it is possible to run a 4.x system with only 32 MB / file system. In your case, you could consider copying the entire / file system to /usr, possibly with something like: # tar czlf /usr/root.tar.gz / Then perform a normal install, which should not overwrite the data on /usr, and manually recover what you need from the archive back to the root file system. It's painful, but possibly less so than a complete reinstall and repartition. How many systems are involved? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message