Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2009 13:43:22 +0100
From:      Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
To:        a.agarwal@jach.hawaii.edu
Cc:        freebsd-current@freebsd.org
Subject:   Re: Installing RELEASE_8 alongside RELEASE_7 on respective slices
Message-ID:  <20091028124322.GA22422@wep4035.physik.uni-wuerzburg.de>
In-Reply-To: <20091028082551.GA27015@uluhe.jach.hawaii.edu>
References:  <20091028082551.GA27015@uluhe.jach.hawaii.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 27, 2009 at 10:25:51PM -1000, a.agarwal@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.



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