Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 00:08:41 +0100
From:      Chris <phatfish@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Installing to a custom location with buildworld/DESTDIR
Message-ID:  <718eeb340609231608v7d5f7062g4c15d8f20d826274@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

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

I get the feeling you may have to do something a little different to a
normal buildworld procedure when installing to another location. But i
couldn't seem to find much information on it, so any help is appreciated.

Thanks



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