From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 13:01:27 2003 Return-Path: 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 BEA9216A4BF for ; Mon, 25 Aug 2003 13:01:27 -0700 (PDT) Received: from webserver.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 1290443FD7 for ; Mon, 25 Aug 2003 13:01:25 -0700 (PDT) (envelope-from oremanj@webserver.get-linux.org) Received: (qmail 9589 invoked by uid 1000); 25 Aug 2003 20:01:47 -0000 Date: Mon, 25 Aug 2003 13:01:47 -0700 From: Joshua Oreman To: Avleen Vig Message-ID: <20030825200147.GA9558@webserver> References: <001c01c36a7f$7856a140$04fea8c0@moe> <20030825185254.GF558@silverwraith.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030825185254.GF558@silverwraith.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Looking for detailed documentation: Install to existing filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 20:01:27 -0000 On Mon, Aug 25, 2003 at 11:52:54AM -0700 or thereabouts, Avleen Vig wrote: > On Sun, Aug 24, 2003 at 03:36:41PM -0500, Charles Howse wrote: > > Hi, > > I've posted this request to 'questions' with no response, so now I'll > > ask 'hackers'. > > > > I'm a hobbyist, and for my personal education, I would like to learn how > > to install FBSD from an existing filesystem, rather than from FTP or CD. > > > > My intention is to copy the files to a directory on the second HDD of my > > present FBSD system, and point sysinstall to that partition/directory > > during the install. > > This may not answer the questions you posed, but it may be a good start > for you. > > You have two options i can think of, if you want to mimic a traditional > /stand/sysinstall installation process. > 1) install an FTP server, and choose an FTP install. > 2) export the hard drive over NFS, and use that. > > Or, a better way which I would recommend: > download the source code, and put if on the second drive. We'll assume > /usr/src and /usr/obj are mounted on the *second* hard drive. > > Run something like this: > cd /usr/src > make buildworld * > * the '' is a flag I don't recall off the top of my head, but > * it lets you change which drive / other mounted location, the new > * build is installed to. Maybe someone else can help here? > make buildkernel > > then when you want to install to a third hard drive, mount it as the > location give in '' to make on the previous step, then run: > make > make installkernel > make installworld > mergemaster > > that should isntall the compiled sources to the new drive pretty > quickly. Wrong. The process would be something like: cd /usr/src make buildworld make buildkernel KERNCONF= mount /dev/ /mnt/point make installkernel make installworld DESTDIR=/mnt/point mergemaster reboot -- Josh > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"