How-To Fix Error mounting /dev/sdb1 at /media/
I recently had to do a hard shutdown (held the power button in until the system shut off) because my system froze. When I turned my system back on I wasn't able to access two of my internal hard drives using my Caja file manager. When I clicked on my 1.5 TB hard drive I received the following message, "Error mounting /dev/sdb1 at /media/* Volume: Unknown error when mounting /dev/sdb1." When I clicked on Local Disk 4.0 TB hard drive I received the following message, "Error mounting /dev/sdc2 at /media/* Volume: Unknown error when mounting /dev/sdc2."
You may also notice the error message saying, "unknown filesystem type NTFS."
You may also notice the error message saying, "unknown filesystem type NTFS."
I have three solutions below that should fix this problem if you ever encounter something similar.
Solution 1:
Run this command to show disks: lsblk
Many Linux distributions do not have lsblk command pre-installed. To install it use the following command: sudo apt install util-linux
Many Linux distributions do not have lsblk command pre-installed. To install it use the following command: sudo apt install util-linux
As you can see in the image above that my 1.5 TB hard drive is labeled sdb1 and my Local Disk 4.0 TB hard drive is labeled sdc2. (Why do drives show less space than advertised?)
Run this command to mount the drives: sudo ntfsfix /dev/sdb1
sudo ntfsfix /dev/sdc2
sudo ntfsfix /dev/sdc2
You'll need to include the path that matches your drive.
Solution 2:
Run this command to reinstall the Ubuntu NTFS driver: sudo apt install --reinstall ntfs-3g
Solution 3:
If your error contains: "wrong fs file type, bad option, bad superblock" then you should be able to fix it using Disks.
If your error contains: "wrong fs file type, bad option, bad superblock" then you should be able to fix it using Disks.
You should be able to access Disks in your menu, via Control Center or search for Disks.
When Disks loads, select the drive on the left that will not mount.
Click on the Gears icon or Additional partition options button to bring up a pop-up menu. Click on the Edit Mount Options... command in the menu.
Turn off or disable the User Session Defaults and click OK in the Mount Options dialog box.
Next, open your Terminal and enter the following: systemctl daemon-reload
Repeat Step 3 for each drive that gives an error message when trying to mount it.
One of these solutions should allow you to mount or access your drive or drives.
I hope this helps you fix your mounting error message on your system.
June 19, 2023