From owner-freebsd-questions Fri Nov 24 20:12: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (cm-24-246-28-166.toney.mediacom.ispchannel.com [24.246.28.166]) by hub.freebsd.org (Postfix) with ESMTP id 84AF137B479 for ; Fri, 24 Nov 2000 20:11:55 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.1/8.11.1) with ESMTP id eAP4BiS39344; Fri, 24 Nov 2000 22:11:44 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200011250411.eAP4BiS39344@grumpy.dyndns.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: marcd@internode.on.net Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: Installing to a new drive from existing sources In-reply-to: Message from marcd@internode.on.net of "Sat, 25 Nov 2000 13:44:45 GMT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Nov 2000 22:11:44 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG marcd@internode.on.net writes: > Hi > > I currently have 4.2Beta on my system (currently building 4.2-RELEASE). > > Anyway I want to install FreeBSD onto another hard disk that will go into > a second system. > > Is there anyway that I can do the install using the src that I have compiled? > without having to go through and do an install of an older version first? (I > though I had seen a mention of make release somewhere but can't see it mentioned > in the makefile options). It may be that "make installworld" does not do a 100% complete install. I forget. Seems like it (used to?) skip /stand/ for instance. As others have suggested you can take your current compiled sources one step further with "cd /usr/src/release; make release" but there are several more parameters needed, and the vn device has to be in your running kernel (its not in GENERIC). Release will build the exact files one would find on a CDROM, short of the precompiled ports. One way to achieve your goal would be to use dump piped into restore to simply copy your running system to the slices on the other drive then move that drive to the other machine. # dump -0af - / | ( cd /mnt/; restore -rf - ) # dump -0af - /var | ( cd /mnt/var; restore -rf - ) # dump -0af - /usr | ( cd /mnt/usr; restore -rf - ) Then again, its not such a bad idea to use "make buildworld" on the new machine as a stress test to make sure its working. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message