Skip site navigation (1)Skip section navigation (2)
Date:      29 Oct 2003 09:06:39 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Michael Grant <mgrant@grant.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: installing freebsd on another disk
Message-ID:  <44wuao3zps.fsf@be-well.ilk.org>
In-Reply-To: <20031028135128.GZ94831@grant.org>
References:  <20031028135128.GZ94831@grant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Grant <mgrant@grant.org> writes:

> I'd like to install freebsd on another disk from source.  Can I do
> something like?:
> 
> cd /usr/src
> make buildworld
> make PREFIX=/mnt installworld
> make PREFIX=/mnt kernel
> 
> If not $PREFIX, what's the right answer?
> 
> I'd try it and see...but I only have my one live box.  Thanks

DESTDIR is what you're looking for, but its use is a little tricky. 
I wouldn't recommend trying this if you don't have a system to spare.
[I suppose you could try it inside a jail...]



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