Re: Installing RELEASE_8 alongside RELEASE_7 on respective slices

From: Alexey Shuvaev <shuvaev_at_physik.uni-wuerzburg.de>
Date: Wed, 28 Oct 2009 13:43:22 +0100
On Tue, Oct 27, 2009 at 10:25:51PM -1000, a.agarwal_at_jach.hawaii.edu wrote:
> Hi there,
> 
> (Please CC me as I am not currently subscribed with this address.)
> 
> Currently I have RELEASE_7 installed on one slice, and have copied
> the file structure from there to a different slice which currently
> contains the RELEASE_8 source ...
> 
>   (Actual partition names may be different as I type them from
>   memory.)
> 
>   ad4s2a  /         base RELEASE_7 install /{,boot,root,usr} etc.
>   ad4s3a  /current  contains copy of / & RELEASE_8 source
>   ad4s4a  /misc     will contain what would have gone in
>                     /{usr/ports,usr/local,home}
> 
> ... swap partition is on ad4s2.
> 
> While running RELEASE_7 system, I want to install RELEASE_8 such that
> it puts/overwrites the files in /current.  How do I go about that
> without affecting / with RELEASE_7 installation?
> 
One of the possible ways (compile from sources):
Say, /path/to/src8 is path where your RELEASE_8 sources are and
/path/to/root8 is path where you have mounted partition dedicated to RELEASE_8.

cd /path/to/src8
make buildworld
make buildkernel
make DESTDIR=/path/to/root8 installkernel
make DESTDIR=/path/to/root8 installworld
make DESTDIR=/path/to/root8 distribution

You have to manualy edit /path/to/root8/etc/fstab and figure out how
will you boot new system.
Also note that it is better to make new partition clean before
the above mentioned procedure (you don't need the copy of RELEASE_7).
It is also irrelevant where do you have RELEASE_8 sources.

HTH,
Alexey.
Received on Wed Oct 28 2009 - 11:43:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC