this post was submitted on 07 May 2025
9 points (90.9% liked)
Linux Mint
2548 readers
1 users here now
Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.
Want to see the latest news from the blog? Set the Firefox homepage to:
where is a current or past release. Here's an example using release 21.1 'Vera':
https://linuxmint.com/start/vera/
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Looks like Mint creates a mount point for your drive automatically, similarly to how it treats USB flash drives. If it's something that's always plugged in, you could make an entry into
/etc/fstab
, just gotta make a directory for it first e.g.mkdir /1tbdrive
.Thank you - that fstab directory doesn't seem to exist in the etc directory. Or maybe I just cannot see it. I tried but permissions seem to be a problem, even though I'm signed in as the admin user and used sudo.
Do you know how I can create that directory? Is it these instructions https://www.geeksforgeeks.org/how-to-mount-and-unmount-drives-on-linux/ ?
It's a file, you can edit it with vim or nano or whatever text editor you have. The instructions you gave have a section towards the bottom, right before the section on unmounting, but it seems incomplete. Try this:
Make a new directory
sudo mkdir /1tbdrive
Use
blkid
to get the UUID of the device.blkid
Edit the fstab file.
sudo nano (or vim or whatever) /etc/fstab
Make a new line at the bottom, in this format:
UUID=(the UUID you got from blkid) [TAB] /1tbdrive [TAB] (the format of the drive, e.g. ext4, btrfs, etc) [TAB] defaults 0 0
The [TAB]s indicate pressing the tab button. After this is done, reboot your computer and you should have your drive mounted automatically.