This issue is about INTERNAL hard drives. NOT USB drives.
During my time using Ubuntu I have noticed that after updates, or sometimes vicariously at the whim of my system, my hard drives seem to change where they decide to mount in semi-random fashion. This is wrecking havoc with my symlinks and is quite frankly getting very tiresome. As I understand it 13.04 SHOULD mount my internal HDD at /media/[drive]
and my removable drives at /media/[username]/[drive]
.
Well NOW suddenly my system has decided to mount ALL my drives at /media/[username]/[drive]
. I used to be able to open the file manager and unmount them and when I remounted them they would 'fix' themselves and remount at /media/[drive]
. I can no longer do that for some unknown reason. My internal drives now INSIST on being mounted at /media/[username]/[drive]
.
I have looked at my /ect/fstab
and at the information in 'Disks' (see Is there a program to mount all of my drives automatically?) and none of it matches. Also in 'Disks' my drives are set to mount automatically but they don't. I always have to manually mount them.
To fix that I found https://help.ubuntu.com/community/AutomaticallyMountPartitions. Plus 'Disks' says that my disks are mounting at /mnt/[UUID]
which they are not doing.
I am now thoroughly confused.
Do I use Disks OR fstab? Do I put the automount in Disks or in the startup applications. How do I get them to mount by UUID in the CORRECT location. There are TOO many methods and none match and NONE seem to talk to one another. Is there a definitive way, preferably with a GUI as I am not a CLI comfortable type, that I can use to fix this mess and get all my drives to automount on startup AND mount in the correct place CONSISTENTLY? This is driving me nuts!
Here is the info as per my system:
fstab
:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=68bff081-9b80-4d38-8383-8dcf9f77850c / ext4 errors=remount-ro 0 1
UUID=ada89abc-d3d6-4f5c-a4ed-176295a20842 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Now most of this is gibberish to me. I can pull out of this is that it is my root drive, the swap partition and a floppy drive. I have NO issues with this one. But my other 3 drives are NOT here!
Disks:
/dev/sda
Mount Point: /mnt/BE44C6F844C6B307
Identify As: /dev/disk/by-uuid/BE44C6F844C6B307
nosuid,nodev,nofail,x-gvfs-show
Mount on Startup checked YES (which it does NOT do)
Automatic Mount Options set to ON. (which it does NOT do)
/dev/sdb
Mount Point: /
Identify As: UUID=c642a00c-410d-4463-9da4-7c002541b81a
errors=remount-ro
Mount on Startup checked YES (which it DOES do)
Automatic Mount Options set to OFF. (But it DOES mount at startup automatically)
This is my root filesystem and matches my fstab so I guess that's why it automounts at startup.
/dev/sdc
Mount Point: /mnt/c642a00c-410d-4463-9da4-7c002541b81a
Identify As: /dev/disk/by-uuid/c642a00c-410d-4463-9da4-7c002541b81a
nosuid,nodev,nofail,x-gvfs-show
Mount on Startup checked YES (which it does NOT do)
Automatic Mount Options set to ON. (which it does NOT do)
/dev/sdd
Mount Point: /mnt/68787D0E787CDC6E
Identify As: /dev/disk/by-uuid/68787D0E787CDC6E
nosuid,nodev,nofail,x-gvfs-show
Mount on Startup checked YES (which it does NOT do)
Automatic Mount Options set to ON. (which it does NOT do)
I also added these drives to 'Startup Applications' each with the following commands as per https://help.ubuntu.com/community/AutomaticallyMountPartitions:
/usr/bin/udisks --mount /dev/disk/by-uuid/BE44C6F844C6B307
/usr/bin/udisks --mount /dev/disk/by-uuid/68787D0E787CDC6E
/usr/bin/udisks --mount /dev/disk/by-uuid/c642a00c-410d-4463-9da4-7c002541b81a
Devices sda, sdc, sdd are all listed as mounting at /mnt/[drive-uuid]
(system wide) but are actually mounting at /media/[username]/[drive]
(removable media) instead of /media/[drive]
(per-user). So which of these three SHOULD they mount at and how do I get them to ACTUALLY do it? System wide is fine but I would have to change 200 or so symlinks. Is there a way to do that in bulk?
Please help, thanks.