Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2008 14:10:03 +1000
From:      "Morgan Reed" <morgan.s.reed@gmail.com>
To:        "Nick Barnes" <Nick.Barnes@pobox.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 5.x to 6.x or 7.x with 64MB /
Message-ID:  <b024b3480808052110m7fc7312aq12c244e23c945598@mail.gmail.com>
In-Reply-To: <49120.1217868483@thrush.ravenbrook.com>
References:  <49120.1217868483@thrush.ravenbrook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 5, 2008 at 2:48 AM, Nick Barnes <Nick.Barnes@pobox.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b024b3480808052110m7fc7312aq12c244e23c945598>