> It states that the Linux swap
> partition must not be a primary partition but rather
> a logical partition. My understanding of Logical
> partitions was that they are partitions created
> within an extended partition. 

Yep.

> The problem with that is that I recall reading when
> checking about the gotchas about installing
> OpenSolaris side by side with Linux that there should
> be no extended partition as OpenSolaris does not
> support it.

You can't install OpenSolaris into a logical / extended
partition.  For OpenSolaris a primary fdisk partition 
must be used.  OpenSolaris doesn't allow access to
extended partitions[*], with the exception of limited
support in mount_pcfs.

[*] but I think that'll change; a few weeks ago some bits
for improved extended partition support have been
integrated into the core OS and should appear in build 119.
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6644364


OpenSolaris shouldn't access the linux swap, anyway.
So it doesn't matter for OpenSolaris that linux swap 
is inside an extended partition; that way it is hidden
from OpenSolaris (Hmm, it is hidden until the above
mentioned improved extended partition support is
there, I guess...).

> Ubuntu originally installed itself inside
> and extended partition and I did some partition
> juggling copying the partition off and back again
> using and external hard drive so that the drive did
> not contain any extended partitions. I fixed Ubuntu's
> boot loader to take into account the changes. All
> worked fine.

I guess this was not necessary, in case it was done 
to help installing OpenSolaris...

All you need is some unassigned disk space for a
primary Solaris fdisk partition.


> Does this mean that the Linux swap needs to be in an
> extended partition but just the Linux main partitions
> need to stay as primary partitions (I.e. because
> Solaris doesn't support extended partitions and so
> the Boot Loader of Solaris would not be able to boot
> Linux if the Linux partition were inside an extended
> partition. But the Linux swap doesn't matter because
> it would only get used when Linux was running and
> could happily read it from the extended partition.)
> Am I on the right track here? I can try and do that
> if you think that will work.

Solaris' boot loader is GRUB, and I suspect that GRUB
is able to boot a linux from an logical / extended partition.

OTOH, the problem with Linux and (old) Solaris
using the same fdisk partition id exists for Linux swap
slices only.
-- 
This message posted from opensolaris.org

Reply via email to