Date: Thu, 4 Feb 1999 17:19:53 -0600 (CST) From: Eduardo Viruena Silva <mrspock@esfm.ipn.mx> To: Greg Lehey <grog@lemis.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can two versions of FreeBSD coexist in a single disk? Message-ID: <Pine.OSF.3.96.990204171556.5703A-100000@Gina.esfm.ipn.mx> In-Reply-To: <19990204121122.Z1179@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Feb 1999, Greg Lehey 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): I did not use FDISK or similar. It just happened. Partitions are not overlaped. > > 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. > I think I understood what happened... it was because I used slice "a" of both partitions? do they overlap ALWAYS? can FreeBSD distinguish between them? > 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 > ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | | 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?Pine.OSF.3.96.990204171556.5703A-100000>