Disks not auto-mounting at startup

I've got 2 partitions with shared data and windows that don't seem to be auto-mounting at startup.

If I click on the drive in Files app then it says 'Unable to find /media/john/OS'

But if I go to 'Other Locations' and then click on the drive that seems to trigger the mounting and I can then click on the drive through the shortcut and it works fine.

I've set the drives to auto-mount in Disks app:

and this is what it looks like in /etc/fstab:

UUID=30e11b05-a719-499a-a826-8ad812084307 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B6A9-AF0D  /boot/efi       vfat    umask=0077      0       1
/dev/disk/by-uuid/1d6156a6-a0c5-42da-b803-ea2bdb5b4cfc none swap sw 0 0
/dev/disk/by-uuid/400A69680A695C42 /mnt/400A69680A695C42 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=data 0 0
/dev/disk/by-uuid/5E3810A5838F2350 /mnt/5E3810A5838F2350 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=windows 0 0

Any ideas how I can get this working?

No sir, I feel your pain though as no help from the forum. Good luck though!!

The strange thing is that you can mount it manually. If you can't, it could be Windows hibernation "taking over" the partition.

Is this a Bookmark you created? Are you sure you are pointing to the correct destination? Try deleting the bookmark and creating it again.

"/media/..." appears to be an external drive. Pendrive/SD Card, etc.

1 Like

it looks like you are using Gnome disks app and auto-mount is on. That's OK. Also try to bookmark this this partition in the same Gnome disks app. So, partition should be bookmarked and with auto-mount on.
Bookmarking this partition should add small star image on it and everything should look like in the attached image (sorry, I'm far from my computer, so it's just a picture from internet)
I had the same problem with auto-mounting, and it helped.

This makes sense. The default mount location used is under /media/<username>/<drive label>. As per your screenshot, you're using /mnt/<drive UUID>. Which is fine, but if you already had a bookmark for the previous location it would explain why it fails at first.

I assume you mean this thread?

It was created a day ago. Please, be patient.

1 Like

Thanks all. I think I have it sorted now. Mounted again in /mnt/ and it's accessible right on boot. I think the mistake I made was mounting in /media/, which I'm guessing is treated differently as regards auto-mounting?

All part of the learning process!