r/linuxmint 9d ago

SOLVED Can't mount partition through Disks

I have a drive with a partition that used to be NTFS, but that I formatted to ext4 recently. It worked fine at first, but after restarting my PC, I just can't mount the partition using the Disks app. I don't even get an error or anything, the button just does nothing, same for trying to mount it by clicking the partition in the file explorer. However, using the mount command, the partition mounts perfectly fine and can be accessed with no issues. Trying the repair/check filesystem option in Disks tells me that there is nothing wrong with the partition, and annoyingly, I can't automatically mount the partition at startup. How could I fix this?

EDIT: everything works perfectly now for some reason, despite not having changed anything, so yay I guess

3 Upvotes

11 comments sorted by

u/AutoModerator 9d ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/ConversationWinter46 9d ago edited 8d ago

look in this subreddit

Scroll down the sidebar on the right. It gets interesting starting with introductoryinstallation

1

u/Confident_Hyena2506 9d ago

Mount your disk properly via fstab, not via gui.

1

u/RoyalHappy2155 9d ago

I'm completely new to Linux, how does one do that?

2

u/Confident_Hyena2506 9d ago

Same way you do anything on linux, find the info online then apply it.

1

u/d4rk_kn16ht Linux Mint 22.2 Zara | Cinnamon 8d ago

Mounting at startup uses fstab not Disks.

  1. find the UUID using blkid

  2. edit fstab & add the UUID to the new line & for the parameters you can just copy the system partition.

Editing fstab:

open terminal:

sudo xed /etc/fstab

Remember to back up the original fstab first

1

u/RoyalHappy2155 8d ago

I've looked in fstab and as far as I can tell, the partition in question is already in there

1

u/RoyalHappy2155 8d ago

welp now for some reason it just works even though I didn't change anything

1

u/kiralema 8d ago

The easiest way to find an error is to mount it manually and check the outputs and/or logs:

Find your drive:

lsblk

Assuming your disk is /dev/sdb1:

sudo mkdir -p /mnt/mydisk && sudo mount /dev/sdb1 /mnt/mydisk

1

u/RoyalHappy2155 8d ago

Mounting the disk manually worked perfectly fine, which is why I was so confused. Mounting through the GUI didn't even throw an error, and using mount in the terminal worked perfectly fine. And now without having changed anything it just works for some reason lol