Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 11:21:58 +1000
From:      Gary Newcombe <gary@sonic.pattersonsoftware.com>
To:        phatfish@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing to a custom location with buildworld/DESTDIR
Message-ID:  <20060924012158.GA44535@sonic.pattersonsoftware.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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

Hi Chris,

That's all I do, but you'll need to install world and kernel too.

Cheers
Gary



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20060924012158.GA44535>