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:

linuxmint.com/start/

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
 

I'm running Mint, and have an external USB drive plugged in. It is not powered - it gets its power from the mini-PC.

Occasionally I get this message and I've no idea why. It might be after rebooting the machine but I'm not sure (sorry).

The only thing I did with the drive is rename it (to "1tbDrive"). Could that be the problem? (I did that in the Disks application).

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 month ago (2 children)

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.

[–] [email protected] 2 points 1 month ago (1 children)

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/ ?

[–] [email protected] 2 points 1 month ago

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.