installworld to directory other than /

2003-01-22 Thread Alexey Koptsevich

Hello,

I would like to make installworld to some directory other than /, e.g.,
to directory /new, while the old system is working. The only way to do
that which I can think of is
 - copy /, /usr and /var to /new
 - chroot /new
 - make installworld from there
Is there more easy/elegant way?

Thanks,
Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: installworld to directory other than /

2003-01-22 Thread Matthew Seaman
On Thu, Jan 23, 2003 at 01:31:42AM +0300, Alexey Koptsevich wrote:
 
 Hello,
 
 I would like to make installworld to some directory other than /, e.g.,
 to directory /new, while the old system is working. The only way to do
 that which I can think of is
  - copy /, /usr and /var to /new
  - chroot /new
  - make installworld from there
 Is there more easy/elegant way?

Simple:

# make installworld DESTDIR=/new

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message