From owner-freebsd-current@FreeBSD.ORG Wed Oct 28 12:43:26 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E6E5106566C for ; Wed, 28 Oct 2009 12:43:26 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id E64578FC0C for ; Wed, 28 Oct 2009 12:43:25 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id A52A25BC46; Wed, 28 Oct 2009 13:43:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id A2BD25BC3F; Wed, 28 Oct 2009 13:43:23 +0100 (CET) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 78CB25D6C5; Wed, 28 Oct 2009 13:43:23 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2FP1HF244) with ESMTP id 2009102813432247-225089 ; Wed, 28 Oct 2009 13:43:22 +0100 Received: by wep4035 (sSMTP sendmail emulation); Wed, 28 Oct 2009 13:43:22 +0100 Date: Wed, 28 Oct 2009 13:43:22 +0100 From: Alexey Shuvaev To: a.agarwal@jach.hawaii.edu Message-ID: <20091028124322.GA22422@wep4035.physik.uni-wuerzburg.de> Mail-Followup-To: a.agarwal@jach.hawaii.edu, freebsd-current@freebsd.org References: <20091028082551.GA27015@uluhe.jach.hawaii.edu> Mime-Version: 1.0 In-Reply-To: <20091028082551.GA27015@uluhe.jach.hawaii.edu> User-Agent: Mutt/1.4.2.3i Organization: Universitaet Wuerzburg X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2FP1HF244 | April 7, 2009) at 10/28/2009 01:43:22 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2FP1HF244 | April 7, 2009) at 10/28/2009 01:43:22 PM, Serialize complete at 10/28/2009 01:43:22 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: freebsd-current@freebsd.org Subject: Re: Installing RELEASE_8 alongside RELEASE_7 on respective slices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 12:43:26 -0000 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.