Page 1 of 1

Applying a label to an ntfs partition (Solved)

Posted: Mon Sep 08, 2008 7:58 am
by T J Tulley
I've been studying all the relevant manuals and have successfully labelled my partition sdd1, which is not at present mounted. It doesn't appear in /etc/mtab, but is shown in /etc/fstab by the line:
LABEL=SATABkps /media/sdd1 ntfs-3g rw,uid=1000,nodev,relatime,blksize=4096 0 2.
(ntfs-config is installed).
Its presence in fstab has not resulted in it being mounted but it may not have been labelled when the PC booted this morning.

In response to the command $ ls /dev/disk/by-label lah the report includes the line:
lrwxrwxrwx 1 root root 10 2008-09-08 11:15 SATABkps -> ../../sdd1

which indicates an unknown path.

after running /$ updatedb, the command /$ locate -b /SATABkps produces no response.

Why? The partition appears in "Computer" when I open that in the desktop screen, with its new name, but it refuses to mount directly in spite of its permissions.
$ sudo mount -t ntfs-3g /dev/sdd1 and $ sudo mount -t ntfs-3g /SATABkps also fail.

I shall be most grateful for advice.

Re: Applying a label to an ntfs partition

Posted: Sun Sep 14, 2008 7:59 am
by tawan
if the permissions on the drive are root, then it wont automaticallly mount. If you change the permissions to be for you, it should mount when you log on (i think)

Re: Applying a label to an ntfs partition (Solved).

Posted: Sun Sep 14, 2008 9:41 am
by T J Tulley
Thanks phonicboom - I have got it mounted now - probably by changing the permissions and/or ownership - can't remember.
It appears as Line 19 in fstab, as shown in my post "A little bit of light on fstab!" in the Newbie forum.