I've been trying to get some drives to mount automatically so they show up in /media/$USER with their labels instead of just their sizes. However, after I restart my Ubuntu system, the drives are unmounted. I already have fstab entries that were created automatically, but they're not working. What can I do to ensure that these drives persistently mount after a reboot?
2 Answers
To make your drives mount automatically at boot time, you'll need to add specific entries to your `/etc/fstab` file. Simply running a mount command doesn't create a persistent setup. I recommend using the `gnome-disks` tool to manage fstab entries, but it's also good to back up your original fstab file before editing it. That way, you can restore it if anything goes wrong.
It seems like you already have some fstab entries that were created, which is great. Just ensure they are correctly formatted to mount properly on boot. If you're getting a 'Permission denied' error when trying to modify `/etc/fstab`, check if you have the necessary permissions and try running your command with `sudo` to grant the required access.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures