From owner-freebsd-questions@FreeBSD.ORG Sat Sep 23 23:08:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBF9816A415 for ; Sat, 23 Sep 2006 23:08:42 +0000 (UTC) (envelope-from phatfish@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4591743D45 for ; Sat, 23 Sep 2006 23:08:42 +0000 (GMT) (envelope-from phatfish@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1426609wxd for ; Sat, 23 Sep 2006 16:08:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=I1temypdQKQCasPwmnho3t47wzQ4Whveq48TAKGFrAAvWCGzRFYe6hWSo/GMvGYiqKULJ6CnRCRYTaWkRJUa36fEwUvR0BDwvrT/cDtiTn50cmPR2+wksUKZ91EMN6FE/05CYw0Rn7KgKKg5ntlZRXDBEeDWVAJAnqm8HK5Cg5E= Received: by 10.90.119.15 with SMTP id r15mr1061403agc; Sat, 23 Sep 2006 16:08:41 -0700 (PDT) Received: by 10.90.84.14 with HTTP; Sat, 23 Sep 2006 16:08:41 -0700 (PDT) Message-ID: <718eeb340609231608v7d5f7062g4c15d8f20d826274@mail.gmail.com> Date: Sun, 24 Sep 2006 00:08:41 +0100 From: Chris To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Installing to a custom location with buildworld/DESTDIR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 23:08:42 -0000 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