Cannot read partitions

Dotan Cohen dotancohen at gmail.com
Tue Oct 2 20:29:16 UTC 2007


On 02/10/2007, Derek Broughton <news at pointerstop.ca> wrote:
> Dotan Cohen wrote:
>
> > On a recently converted windows machine, I had three NTFS partitions in
> > /media: /media/hda1
> > /media/hdb1
> > /media/hdb5
> >
> > After installing Ubuntu, the user could read each of these partitions
> > (but could not write to them). /media/hda1 was the old Windows root
> > filesystem, with no files worth saving, so today I converted it into
> > jfs with gparted. Now, I can not read /media/hdb1 and /media/hdb5.
> > When we click those folders in Konqueror (she prefers KDE) we get a
>
> Naturally :-)

Hehe.

> > message that the user has no permissions. However, even after running
> > "sudo chmod lirondah /media/hdb1" and "sudo chgrp lirondah
> > /media/hdb1" running "ls -l" shows that the files still belong to
> > root.
> >
> > Also, running "sudo mount -a" shows this error:
> > mount: special device /dev/disk/by-uuid/04DCED11DCECFE34 does not exist
> >
> > That is the UUID for /dev/hda1, the partition that I changed to jfs.
>
> It can't be.  UUIDs are set on a _filesystem_, not a partition.  Since you
> changed it from NFTS to jfs, it has a different UUID now.

I figured as much. But I cannot find out what it is.

> > What must I chagne to be able to mount this jfs partition?
>
> Change it to /dev/hda1, or add a label and use that instead of uuid, or find
> the correct uuid (available from hal and various other places).

I'd rather not use a label as I've had problems with them in the past
(on Fedora, not Ubuntu, though). How can i get the correct UUID from
hal?

Thanks!

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת


More information about the ubuntu-users mailing list