7
submitted 2 years ago by Paddy66@lemmy.ml to c/linuxmint@lemmy.ml

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
[-] swab148@lemm.ee 5 points 2 years ago

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.

[-] Paddy66@lemmy.ml 2 points 2 years ago

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

[-] swab148@lemm.ee 2 points 2 years 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.

this post was submitted on 07 May 2025
7 points (88.9% liked)

Linux Mint

3665 readers
3 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 5 years ago
MODERATORS