From owner-freebsd-stable@FreeBSD.ORG Wed Aug 6 04:36:40 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03B6E106566B for ; Wed, 6 Aug 2008 04:36:40 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id B0D5F8FC1B for ; Wed, 6 Aug 2008 04:36:39 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so1450026ana.13 for ; Tue, 05 Aug 2008 21:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YfafGbnsYrcpeNXCynxVtTomFUjGL1YCkxfrmfHjKG8=; b=sxUS8GhZ97eCgm6/aXklhwUtDsImIfQkpLSETuzCwkOrA8oVfe8xd6j4bAgtok3LWS M9jMEvuxvYzs3v/892c9Xdl3n3Znd/CiqGwI5c2BggsK2eWyZc6/IDxA/LX00tbiqYUI RbtXharZOXEpeHTyjgak5VD+hpDsWqHEao7es= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ItlofX0nJPnRWTnQK2B0o0nKbw3wp5gSRa3vLAZvmJUOcaprgq9xnbUwtgpcRhmc5Q +WXn76wJVQNhVPMTZDODe032mlpOMxdGrOa+YmY8frAgT/diOAx5/Wlr4LJou+2xkgJg x08rzEFV64fefiHt2CpQkJxb7g+FUL3VyLWK0= Received: by 10.100.140.10 with SMTP id n10mr2639615and.129.1217995803660; Tue, 05 Aug 2008 21:10:03 -0700 (PDT) Received: by 10.100.105.12 with HTTP; Tue, 5 Aug 2008 21:10:03 -0700 (PDT) Message-ID: Date: Wed, 6 Aug 2008 14:10:03 +1000 From: "Morgan Reed" To: "Nick Barnes" In-Reply-To: <49120.1217868483@thrush.ravenbrook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49120.1217868483@thrush.ravenbrook.com> Cc: freebsd-stable@freebsd.org Subject: Re: 5.x to 6.x or 7.x with 64MB / X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 04:36:40 -0000 On Tue, Aug 5, 2008 at 2:48 AM, Nick Barnes wrote: > It occurs to me that if ad0s1a is insufficient then I could use ad0s1g > as swap, and repurpose ad0s1b as a new /. Is it straightforward to > installworld/mergemaster to somewhere other than / ? The DESTDIR directive will allow you to redirect your installworld to a different location, as for mergemaster IIRC this can be done (been a while since I was working on my embedded stuff that needed all this FreeBSD 6.something in about 8MB) but I can't remember what switches. It might be worth considering building /bin and /sbin dynamically (20oddMB to about 500kB), mind I can't remember where the required libs would be, if they're in /lib it'd be all good, if they're in /usr/lib you're stuck. All things considered I think your best option is to move / to a different partition. Should be relatively painless to do from a LiveCD, mount everything, duplicate / to somewhere else, modify fstab and the bootloader config, reboot.