Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 22:11:44 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        marcd@internode.on.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Installing to a new drive from existing sources 
Message-ID:  <200011250411.eAP4BiS39344@grumpy.dyndns.org>
In-Reply-To: Message from marcd@internode.on.net  of "Sat, 25 Nov 2000 13:44:45 GMT." <XFMail.001125134445.marcd@internode.on.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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