[kde-linux] 20090721KL -- Dolphin And Partitions

David Jarvie djarvie at kde.org
Wed Jul 22 14:44:41 UTC 2009


On Wed, July 22, 2009 8:03 am, Bruce MacArthur wrote:
> On Wednesday 22 July 2009 00:11, JD wrote:
>> So, your devices on jaunty are:
>>
>> /dev/sda6               /       ext3            0 1
>> /dev/sda11              /home   ext3            0 2
>> /dev/sda10              /opt    ext3            0 2
>> /dev/sda7               /root   ext3            0 2
>> /dev/sda8               /tmp    ext3            0 2
>> /dev/sda12              /usr    ext3            0 2
>> /dev/sda9               /var    ext3            0 2
>> /dev/sda1               none    swap            0 0
>> /dev/sda5               none    swap            0 0
>
> Jaunty did NOT (automatically) create all those partitions!  Instead, I
> studied one book about Ubuntu Linux in its discussion of partitioning,
> and tried to set things up well.  I think that I have one Primary
> partition for openSUSE and another similar partition for Jaunty.  The
> rest are "sub-partitions".  Also, be aware that MY openSUSE will never
> need to mount Jaunty partitions -- only the reverse is needed.  To the
> best of my knowledge, "BSD partitions" (thankfully!!!) have nothing to
> do with this installation.
>>
>>
>> Your devices on opensuse are:
>> /dev/sda2       /       /       acl,user_xattr  1 1
>> /dev/sda3       /home   /home   acl,user_xattr  1 2
>> /dev/sda1       swap    swap    defaults        0 0
>>
>> Now, which devices do you wish to be visible to  both OS'es??
>
> I think that I need sda2 and sda3 visible to both.  openSUSE needs them
> to run at all, and Jaunty needs them to bring some data over to the
> Jaunty installation.  NOTHING that is presently Jaunty-only needs to be
> visible to openSUSE.

Partition names (/dev/sda5 etc) are unique on any one disk, which is why
the OpenSUSE ones have different names than the Jaunty ones. So there is
no risk of confusion by adding them to the other distro's /etc/fstab.

You just need to add entries for the OpenSUSE partitions into Jaunty's
/etc/fstab. There is no need to modify OpenSUSE's fstab if you don't need
to see Jaunty partitions from OpenSUSE. In order to mount the partitions
in Jaunty, create their mount points:

sudo mkdir /opensuse
sudo mkdir /opensuse/home

It's not clear what filesystem type is used on OpenSUSE. Mount them
manually in Jaunty:

sudo mount -o acl,user_xattr /dev/sda2 /opensuse
sudo mount -o acl,user_xattr /dev/sda3 /opensuse/home

Then look in /etc/mtab to find what filesystem types these partitions use.
If the relevant entries show ext3, you would need to add the following
lines in Jaunty to make them mount automatically at boot:

/dev/sda2       /opensuse       ext3  acl,user_xattr  0 2
/dev/sda3       /opensuse/home  ext3  acl,user_xattr  0 2

I hope this helps.

-- 
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm




More information about the kde-linux mailing list