GNOME Partition Editor - evolved into problem with chmod

Kyle Smith kyle.smith at inforonics.com
Thu Apr 2 17:53:40 UTC 2009


Bret Busby wrote:
> On Thu, 2 Apr 2009, Matt Brown wrote:
>
>>
>> you can try this it might give you want you are looking for.
>>
>> ls -l /dev/disk/by-uuid
>>
>> On Thu, Apr 2, 2009 at 12:27 PM, Bret Busby <bret at busby.net> wrote:
>>> On Thu, 2 Apr 2009, Mihamina Rakotomandimby (R12y) wrote:
>>>
>>>>
>>>> Bret Busby wrote:
>>>>> The Debian fstab entry (I edited the fstab file, to incorporate the
>>>>> partition, from the Debian side) is
>>>>> "
>>>>> /dev/hdc8       /data           ext3    defaults        0       0
>>>>> "
>>>>
>>>> Ubuntu fstab uses UUID, this way.
>>>> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
>>>> proc            /proc           proc    defaults        0       0
>>>> # /dev/sda1
>>>> UUID=8ee9b4b5-98f9-4849-93bf-cec44029ae8e /public     ext3 defaults 
>>>>  0 0
>>>>
>>>> The UUID is from the "vol_id -u /dev/sda1" command
>>>>
>>>
>>> "Ah, there's the rub" (From Hamlet, I believe).
>>>
>>> As Ubuntu apparently uses the UUID instead of the device path, in the
>>> fstab, in the filesystem column, how do I get the UUID, to get a
>>> partition mounted?
>>>
>>> I have now managed to get the particular (hdc8) partition mounted, and
>>> writable, and written to, in Debian, but I now do not know how to get
>>> the file mounted in Ubuntu.
>>>
>>> If I try to get the UUID for the partition, by using the "vol_id -u"
>>> command, it returns "error opening device", I assume, because the 
>>> device
>>> is not mounted.
>>>
>>> So, as I cannot mount the device, without the UUID, how do I get the
>>> UUID, if the device is not mounted?
>>>
>>> Thank you in anticipation.
>>>
>>> -- 
>>> Bret Busby
>>> Armadale
>>> West Australia
>>> ..............
>>>
>
> Would that work, given that the partition is not mounted?
>
> -- 
> Bret Busby
> Armadale
They don't need to be mounted to be in the by-uuid directory.  It's just 
an association from uuid's to device files.  Looks something like this:

lrwxrwxrwx 1 root root 10 2009-04-02 05:58 
5973158c-b58c-496a-af16-9355ab5b2286 -> ../../sda3
lrwxrwxrwx 1 root root 10 2009-04-02 05:58 
731651fc-b3e5-4260-a7ed-6784fc668450 -> ../../sda2
lrwxrwxrwx 1 root root 10 2009-04-02 05:58 
8a237b1d-0ba2-43b2-b813-b906d7723edf -> ../../sda4
lrwxrwxrwx 1 root root 10 2009-04-02 05:58 B4EE1D64EE1D1FE2 -> ../../sda1


HTH,
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090402/c073560c/attachment.html>


More information about the ubuntu-users mailing list