I had Ubuntu 13.10 for a while and recently upgraded to Ubuntu 14.04. There is a problem in the mount point name of my hard disk. I had a partition name stuff
and for some reason after upgrading the distro it changed to stuff1
automatically. This is creating problems when I try to use KTorrent. It says that the disk containing the data is not mounted. When I try to use the move data option by right-clicking any torrent, it says that I do not have the required permission to access the disk.
Meanwhile all my data is present in stuff1
as it was in stuff
but I don't know how to resolve the issue.
Best Answer
Changing your mountpoint needs three actions: changing the entry in
/etc/fstab
(be careful), creating the directory where it should be mounted (if necessary, but in your case it possibly exists already), and you will probably want to change the partition label as well (if necessary), to have the right name appear in the devices overview in nautilus.No need to say that you ALWAYS need to make backups before you change anything.
if it is a data only partion:
1. Edit the existing entry in fstab
Run in terminal:
Lookup the entry with mountpoint: "stuff1", change it to "stuff" (check first if there is no entry with "stuff" already), do not touch the rest. In the line, you can see in what directory the partition is mounted (the section that ends with "stuff").
2. Create a directory to mount into
Create (if necessary) in the same directory a folder named "stuff", but as said, it probably exists already":
On next restart, you will find your documents in "stuff".
3. Changing the partition label:
There is a chance that you need to change the partition label. You can check that by looking in the device overview in nautilus. If that is "stuff" already, skip step 3. If not: the best is to do it with Gparted, which you will have to install. Open Gparted. In the partition overview, right-click on the partition with label "stuff1", choose "unmount". When it is unmounted, right-click again and choose "label". Rename it to "stuff". After renaming the label of the partition, close Gparted and run:
Probably you will also have to rename the nautilus bookmark: open a nautilus window, from the menu, choose
Bookmarks > Bookmarks
. Rename the bookmark.