Installing to a custom location with buildworld/DESTDIR
gary at sonic.pattersonsoftware.com
Sat Sep 23 18:22:02 PDT 2006
On Sat, 23 Sep 2006 16:08:42 +0100
"Chris" <phatfish at gmail.com> wrote:
> I have an encrypted disk setup where i want to install a fresh system using
> buildworld/buildkernel on my current install. I looked around and it seems
> that the bellow commands should do what i want. But I'm not sure if it is
> the best way to do it, or if the procedure is out of date (I'm running 6.1).
> cd /usr/src
> setenv DESTDIR /mnt/root
> make buildworld && make buildkernel KERNCONF=MYKERNEL
> cd /usr/src/etc; make distribution
That's all I do, but you'll need to install world and kernel too.
More information about the freebsd-questions