installing freebsd on another disk

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Oct 29 06:06:42 PST 2003


Michael Grant <mgrant at 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...]


More information about the freebsd-questions mailing list