On Thu, Dec 03, 2009 at 07:51:09PM +0100, Christopher Zimmermann wrote:
> Hi,
> 
> is it possible to install two OpenBSDs on the same disk? I'd
> like to try -current in a separate installation.
> As I understand disklabels I would need separate disklabels
> for each installation, because I need two separate root 'b'
> partitions.
> 
> So I would create two fdisk partitions one for each system,
> and the two disklabels would be stored on the LBR of these
> partitions.
> 
> Is this the way to go? Is it a bad idea? Any pitfalls?

This wouldn't work. How would boot(8) know which system you want to
load?

(And the root partition is, of course, 'a'. 'b' is swap.)

On the other hand, GRUB (from ports) can be used to set the partition
type appropriately and thereby boot either system. Note, though, that
without some error-prone trickery on the disklabel, you cannot share the
same portion of disk between your -stable and -current system.

                Joachim

Reply via email to