8
submitted 8 months 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).

top 10 comments
sorted by: hot top controversial new old
[-] swab148@lemm.ee 5 points 8 months 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 8 months 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 8 months 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.

[-] 8263ksbr@lemmy.ml 4 points 8 months ago

There is an option for auto mounting a disk, even at boot level. I had this problem before with my backup disk.

You could open the "disk" program, select your disk, use the properties button (cog wheel i believe) go to mount options and there should be two check boxes. One is for this auto mounting at boot level (or something like that) turn that off.

[-] Paddy66@lemmy.ml 3 points 8 months ago

Now this is good advice for normies like me - using the Disks app. Much better than command line stuff. I changed the settings there and hopefully that has sorted it. Thank you!

[-] 8263ksbr@lemmy.ml 3 points 8 months ago* (last edited 8 months ago)

Hope it helps, would like to know if it was the solution.

Linux does have some amazing and well designed GUI applications. Of course one could do the same in the terminal. It's up to ones preference what to use when.

[-] hanrahan@slrpnk.net 1 points 5 months ago

The people who are into using the CLI have likely already been using Linux for a long time, most of the rest of is who have more recently migrated, or want to migrate want to use the GUI. I am one of the latter :)

[-] kutsyk_alexander@lemmy.world 2 points 8 months ago

Can you share a content of /etc/fstab file? It is the first place I would check in your situation.

[-] Paddy66@lemmy.ml 1 points 8 months ago

Hi, here's the contents (I think! I'm new to linux...)

[-] that_leaflet@lemmy.world 1 points 8 months ago

I get this occasionally. If the directory the drive gets mounted to already exists, it can’t mount it.

Usually this happens if the drive bugs out and improperly dismounts.

Rebooting should get rid of the directory.

this post was submitted on 07 May 2025
8 points (100.0% liked)

Linux Mint

2992 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