Date: Thu, 4 Feb 1999 12:11:22 +1030 From: Greg Lehey <grog@lemis.com> To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can two versions of FreeBSD coexist in a single disk? Message-ID: <19990204121122.Z1179@freebie.lemis.com> In-Reply-To: <Pine.BSF.4.05.9902031350170.742-100000@Michelle.esfm.ipn.mx>; from Eduardo Viruena Silva on Wed, Feb 03, 1999 at 01:50:43PM -0600 References: <Pine.BSF.4.05.9902031350170.742-100000@Michelle.esfm.ipn.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mrspock@esfm.ipn.mx> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990204121122.Z1179>