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

JD jd1008 at gmail.com
Wed Jul 22 05:11:04 UTC 2009



On 07/21/2009 07:36 PM, Bruce MacArthur wrote:
> On Tuesday 21 July 2009 12:40, Anne Wilson wrote:
>    
>> On Tuesday 21 Jul 2009 17:58:25 Bruce MacArthur wrote:
>>      
>>> Greetings --
>>>
>>> My computer has a single hard disk drive -- but many partitions.  A
>>> couple of those partitions are dedicated to openSUSE 10.2, and the
>>> rest are Kubuntu Jaunty (also known as Version 9.04).
>>>
>>> In the past, I have been able to use (Jaunty) Dolphin to view all
>>> partitions -- which meant I could copy files from one distro to the
>>> other.  I no longer SEEM to have that option.  Although I see how
>>> to modify the default start-up folder, I see nothing that would
>>> seem to help me restore the cross-partition view.  So I am blind!!!
>>>   Can anyone point out the obvious to me?  THANKS for your time with
>>> this message!!!
>>>        
>> In each distro, do you have fstab mounts for the partitions of the
>> other distro?
>>
>> Anne
>>      
>
> Hello, Anne --
>
> FIRST, Thank you for a quick and helpful reply.
>
> SECOND, a part of my delay in replying is due to problems that I created
> for myself in the process of trying to install a VHS-DVD
> player-recorder to use the "TV-AV" aspect of my computer monitor!  I am
> now back to normal.  MEANWHILE, I have been researching the issue that
> you have raised for me.  I am certain that the answer to your question
> is "No."  But I am not at all sure quite what I need to do!
>
> When I try to edit /etc/fstab in openSUSE, I see
>
> /dev/sda2 /                            /              acl,user_xattr 1 1
> /dev/sda3 /home                  /home     acl,user_xattr 1 2
> /dev/sda1 swap                    swap       defaults        0 0
> proc          /proc                     /proc       defaults        0 0
> sysfs         /sys                       /sys        noauto          0 0
> debugfs   /sys/kernel/debug debugfs noauto                  0 0
> usbfs       /proc/bus/usb         usbfs      noauto                 0 0
> devpts     /dev/pts                 devpts    mode=0620,gid=5  0 0
> /dev/fd0  /media/floppy        auto       noauto,user,synch    0 0
>
> The df shows
>
> /dev/sda2     18%     /
> udev               1%     /dev
> /dev/sda3     42%     /home
>
>
> Both commands produce radically different output in Jaunty (9.04). Part
> of this is obviously due to the partitioning which I did -- but part of
> it is a combination of other variables (such as versions, etc.)!  For
> example, edit  /etc/fstab  produces a LOT of comment-code, not to
> mention some really cryptic first-column device names!  Trying to
> minimize the confusion, let me present its output as follows. (If the
> names are important, I will gladly supply them!)
>
>                       proc          /proc                    proc     0 0
> /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
>                      /dev/scd0  /media/cdrom0  udf,iso9660 0 0
>                      /dev/fd0    /media/floppy     auto             0 0
>
> The first column in the preceeding listing is taken from the comments
> and seems to be something from "prior to installation".  The
> third-from-last column is --
> defaults
> relatime,error=remount -ro
> relatime
> relatime
> relatime
> relatime
> relatime
> relatime
> sw
> sw
> user,noauto,exec,utf8
> rw,user,noauto,exec,utf8
>
> The results of the df command are also much more extensive --
>
> /dev/sda6          9%     /
> tmpfs                 0%     /lib/init/rw
> varrun               1%     /var/run
> varlock              0%     /var/lock
> udev                  1%     /dev
> tmpfs                 1%     /dev/shm
> lrm                     1%     /lib/modules/2.6.28-11-g
> eneric/volatile
> /dev/sda11        2%     /home
> /dev/dsa10        1%     /opt
> /dev/sda7          4%     /root
> /dev/sda8          2%     /tmp
> /dev/sda12      10%     /usr
> /dev/sda9          5%     /var
>
> I really do NOT understand the fact that "tmpfs" appears TWO times above
> the "eneric/volatile" entry, but I did not copy this one in error!!!
>
>
> I notice that you mentioned that I should have fstab mounts for the
> partitions of EACH distro in the other.  This makes excellent good
> sense if I am going to be moving things in both directions.  I do not
> anticipate doing this -- the moves will be entirely from openSUSE to
> Jaunty.  Can I "get away with" adding openSUSE partitions to Jaunty's
> fstab -- or will things effectively blow-up in my face if I fail to
> balance the equation?
>
> THANKS for your time and assistance!!!!!
>
>


I had a similar situation.
Part of the problem for you "might" be that the 2 OS'es do not use
the same device names for the partitions in question. So,  you will
need to do some work to be sure (for example - that /dev/sdb3  in one
OS is the same as /dev/sdd3  in the other os). What I am trying to
point out is that the disk numbering scheme in the two OS'es might
not match. So once you are able to identify the device names
in both OS'es and map them  1 - 1 correctly, then adding them correctly
into both OS'es fstabs should be very trivial.

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

PS: I do not know how jaunty creates 12 partitions in a Linux disk!
     Jaunty seems to be using BSD partitioning scheme, no?? If that
     is the case, your opensuse will probably not be able to mount
     jaunty's non-standard Linux partitions. Standard Linux kernels
     simply do not write BSD partitions - even the config menu says
     it is dangerous to config and build the linux kernel with write
     support for BSD's UFS partitions.
     I do know that you could have for example 3 extended partitions
     and 4 sub-partitions in each extended partition. Perhaps that is
     what you did - in which case my comment re: BSD UFS does not
     apply.


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??

Also, in each OS, issue the command
fdisk -l /dev/sd?
for all disks visible to the OS. Look in /dev to see how
many sd devices there are. Save the outputs
and label them so a reader will know which OS the command
was run on.
This will help identify which disks have same partitioning scheme
and partition types, ..etc.

Cheers,

Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20090721/72f5c27b/attachment.html>


More information about the kde-linux mailing list