Secondary HDD mounting in /media/username under wrong folder name

by wjandrea   Last Updated November 09, 2017 20:02 PM

I have my Ubuntu installed on an SSD, and a secondary HDD called Earth that I've set to automatically mount at startup. The thing is, when it mounts, the folder is labelled "Earth1" instead of "Earth". There is still a folder in /media/username called "Earth" but when I attempt to open it, it gives the error, "This location could not be displayed. You do not have the permissions necessary to view the contents of 'Earth'." So right now a whole bunch of programs are trying to access files in /media/username/Earth but returning errors.

This has been happening since I had a problem with Unity and had to reset some of my user settings. I'm currently logged in as admin, and I've checked the startup command and everything's fine there.

Tags : mount hard-drive

Answers 2

Correcting the line in /etc/fstab should help. If you have used the disk utility to setup the auto mount options, you should see a line which contains the mount point (here /media/username/Earth) Check if the line exists. If not, use the disk utility to set it up again. Looks like the directory /media/username/Earth exists and it is not specified as the mount point, so when the auto mounter sees the directory Earth already existing, it creates another directory Earth1 and mounts the partition there.

October 30, 2014 04:47 AM

You may need to set user permissions by chowning the earth volume to your user name. This sounds complicated but is insanely easy & teaches you some CLI skills. (Not to be confused with chmod.)

October 30, 2014 13:07 PM

Related Questions

Seagate hard disk not getting detected Ubuntu 12.04

Updated October 30, 2017 02:02 AM

Detect and mount devices

Updated May 25, 2018 10:02 AM

Mounting external HDD (Ubuntu 16.04 LTS)

Updated February 21, 2017 17:02 PM

How to repair an external harddrive?

Updated April 09, 2015 01:00 AM