Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 12:51:17 +0930
From:      Greg Lehey <grog@lemis.com>
To:        gkaplan <gkaplan@castle.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: disk partitioning
Message-ID:  <19990929125116.X96948@freebie.lemis.com>
In-Reply-To: <37F18382.58B03368@castle.net>; from gkaplan on Tue, Sep 28, 1999 at 11:12:02PM -0400
References:  <199812270206.DAA19785@qix> <37F0E951.99D97361@castle.net> <37F18382.58B03368@castle.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[Format recovered--see http://www.lemis.com/email/email-format.html]

On Tuesday, 28 September 1999 at 23:12:02 -0400, gkaplan wrote:
> Is it possible to install two different versions of freebsd on the
> same physical disk?

Yes.

> For example suppose I wanted to run current and stable but not at
> the same time, would the install object?

Do you mean sysinstall?  I don't think I'd use that.

> Could I get around this by a temporary change to the partition type
> while doing a second install?

Possibly.  But I think you could just tell it not to use that slice or
partition.

I run multiple systems on my test machine, all in the same slice:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   163840        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 307*)	/ (-CURRENT)
  b:   163840   163840    4.2BSD     1024  8192    16   # (Cyl.  307*- 615*)	/ (3.3-STABLE)
  c:  4194685        0    unused        0     0         # (Cyl.    0 - 7884*)	(whole disk)
  d:   163840   327680    4.2BSD     1024  8192    16   # (Cyl.  615*- 923*)	/ (3.2-STABLE)
  e:   614400   491520    4.2BSD     1024  8192    16   # (Cyl.  923*- 2078*)	/usr (-CURRENT)
  f:   614400  1105920    4.2BSD     1024  8192    16   # (Cyl. 2078*- 3233*)	/usr (3.3-STABLE)
  g:   614400  1720320    4.2BSD     1024  8192    16   # (Cyl. 3233*- 4388*)	/usr (3.2-STABLE)
  h:  1859965  2334720    4.2BSD     1024  8192    16   # (Cyl. 4388*- 7884*)	/home

Note that there's no swap there; that's on a different disk.  Also,
you can use the same swap partition for each system, and in this
configuration I use the same /home partition for each system.

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?19990929125116.X96948>