From owner-freebsd-questions Wed Feb 3 17:41:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08305 for freebsd-questions-outgoing; Wed, 3 Feb 1999 17:41:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08300 for ; Wed, 3 Feb 1999 17:41:26 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA02880; Thu, 4 Feb 1999 12:11:23 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id MAA64224; Thu, 4 Feb 1999 12:11:22 +1030 (CST) Date: Thu, 4 Feb 1999 12:11:22 +1030 From: Greg Lehey To: Eduardo Viruena Silva Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can two versions of FreeBSD coexist in a single disk? Message-ID: <19990204121122.Z1179@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from Eduardo Viruena Silva on Wed, Feb 03, 1999 at 01:50:43PM -0600 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 3 February 1999 at 13:50:43 -0600, Eduardo Viruena Silva wrote: > On Wed, 3 Feb 1999 13:48:35 -0600 (CST), Eduardo Viruena Silva wrote: > > I have a hard disk with 2 slices in its partition table. In the first one > I have FreeBSD 2.2.8 and I have not touched the second one for anything. > > I received my FreeBSD 3.0 and I thought I could installed it in the > second slice... > > Everything worked ok during the installation. > > When the installation process rebooted my machine, the first slice > had lost its disklabel entry... I could not boot from the first slice > anymore... > > WHAT HAPPENED??? YOU OVERWROTE THE LABEL!!! > I did not make anything weird. I swear! Has anybody had the same > problem? I suspect you allowed the partitions to overlap. On the whole, it's better to avoid (Microsoft) partitions and just use a UNIX partition table. For example, on my test machine I run 2.2-STABLE and 4.0-CURRENT. I have divided the UNIX slice into the following partitions (this is the output from disklabel -r sd0): 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 81920 344064 4.2BSD 0 0 0 # (Cyl. 240*- 297*) b: 262144 81920 swap # (Cyl. 57*- 240*) c: 4226725 0 unused 0 0 # (Cyl. 0 - 2955*) e: 81920 0 4.2BSD 0 0 0 # (Cyl. 0 - 57*) f: 1900000 425984 4.2BSD 0 0 0 # (Cyl. 297*- 1626*) g: 1900741 2325984 4.2BSD 0 0 0 # (Cyl. 1626*- 2955*) Partition a is the root partition for panic, the -CURRENT machine Partition b is the swap partition for both machines Partition e is the root partition for daemon, the -STABLE machine Partition f is the /usr partition for daemon, the -STABLE machine Partition g is the /usr partition for panic, the -CURRENT machine To boot the machine, you just tell it which partition to load the kernel from. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message