Linux

Linux Mount Error: Causes and Step-by-Step Solution

In this guide, you'll learn how to systematically diagnose and fix filesystem mounting errors in Linux. We cover common causes—from incorrect partitions to fstab issues—and provide working commands for resolution.

Updated at February 14, 2026
15-30 min
Medium
FixPedia Team
Применимо к:Ubuntu 22.04+Fedora 38+Debian 11+Arch Linux

Why Won't the Disk Mount in Linux?

Mount errors are one of the most common issues when working with external drives, secondary disks, or partitions. Symptoms can vary: from the concise mount: /dev/sdb1: special device /dev/sdb1 does not exist. to detailed messages like NTFS signature is missing. or wrong fs type, bad option, bad superblock.

The causes are usually straightforward:

  • An invalid or outdated partition (e.g., after a write failure).
  • A corrupted filesystem (improper unmounting, power failure).
  • An error in /etc/fstab — incorrect UUID, filesystem type, or mount options.
  • Permission conflict — you're trying to mount a device without sudo or the mount point belongs to another user.
  • A filesystem in an uninitialized state (e.g., an NTFS volume left in Windows hibernation).

We'll walk through the path from quick diagnosis to solving complex cases. You'll need a terminal and administrator privileges (sudo).

Step 1: Determine if the System Sees Your Device

The first and most important step is to check if the Linux kernel recognizes your device.

lsblk

The command output will show all block devices. Look for your disk (typically /dev/sdX for SATA/USB or /dev/nvmeXnY for NVMe). Ensure there is a partition under it (e.g., sdb1). If there's no partition, the disk might be uninitialized or its partition table is damaged.

If the device is not in lsblk:

  1. Check the physical connection (cable, USB port).
  2. Try a different port or cable.
  3. For NVMe: ensure the disk is installed in the correct slot.
  4. Run sudo dmesg | tail -30 immediately after connecting — the log should show lines about the new device.

Step 2: Understand the Specific Error

Try mounting manually, replacing /dev/sdX1 with your partition and /mnt/point with an existing empty directory (create it: sudo mkdir -p /mnt/point).

sudo mount /dev/sdX1 /mnt/point

Common Error Messages and Their Meanings:

Error MessageLikely CauseWhat to Do
wrong fs type, bad option, bad superblockFilesystem is corrupted, wrong type specified, superblock errorCheck the filesystem (fsck/ntfsfix), explicitly specify the type (-t ntfs-3g, -t exfat)
Permission deniedInsufficient privileges or the mount point is protectedUse sudo. Check permissions on /mnt/point (ls -ld /mnt/point).
No such file or directoryPartition doesn't exist (not in lsblk?) or mount point wasn't createdVerify the device name and create the mount point.
Filesystem is mounted or device is busyPartition is already mounted elsewhereFind where it's mounted (mount | grep sdX1) and unmount it (umount /other_point).
NTFS signature is missingNot an NTFS partition, or the partition is uninitializedCheck the partition type (sudo fdisk -l /dev/sdX). You might need to create a partition.
Hibernated, volume is in an unsafe state (for NTFS)Windows left the disk in hibernationUse the remove_hiberfile option (see below).

⚠️ Important: All fsck, ntfsfix, and forced mount (-o remove_hiberfile) commands must be run on an unmounted partition! Ensure the partition is not mounted anywhere.

Step 3: Diagnosis via System Log (dmesg)

If the error message isn't informative, check the kernel logs. They contain low-level errors from the controller driver or filesystem driver.

sudo dmesg | tail -30

Look for lines containing your device's name (sdb, nvme0n1p1). You might see:

  • I/O error — issues with the disk (media, cable, controller).
  • blk_update_request: I/O error — read/write failure.
  • unable to read boot sector — superblock is corrupted.
  • unknown partition table — no partition table.

If you see I/O errors, that's a hardware problem. Try a different cable/port, test the disk on another computer. If errors persist, the disk may be failing.

Step 4: Check and Repair the Filesystem

For ext2/3/4 (standard for Linux):

# 1. Ensure the partition is NOT mounted
sudo umount /dev/sdX1 2>/dev/null || true

# 2. Run the check
sudo fsck -y /dev/sdX1

The -y option automatically answers "yes" to repair prompts. For critical data, make a backup first if possible.

For NTFS (disks from Windows):

Install ntfs-3g if you haven't already (sudo apt install ntfs-3g / sudo dnf install ntfs-3g).

sudo umount /dev/sdX1 2>/dev/null || true
sudo ntfsfix /dev/sdX1

ntfsfix is not chkdsk, but it clears the NTFS transaction log and fixes basic errors. For a full repair, Windows is still required.

If the disk is hibernated by Windows:

sudo mount -t ntfs-3g /dev/sdX1 /mnt/point -o remove_hiberfile

This command deletes the hibernation file (hiberfil.sys) and unlocks the volume. Any data from the Windows hibernation session will be lost.

For exFAT/FAT32:

sudo umount /dev/sdX1 2>/dev/null || true
sudo fsck.exfat /dev/sdX1   # for exFAT
sudo dosfsck /dev/sdX1      # for FAT32

Step 5: Manual Mounting with Correct Options

If the filesystem is repaired but standard mounting fails, try specifying parameters explicitly.

Example 1: Mount NTFS with current user permissions

sudo mkdir -p /mnt/ntfs_disk
sudo mount -t ntfs-3g /dev/sdX1 /mnt/ntfs_disk -o uid=$(id -u),gid=$(id -g),dmask=022,fmask=133
  • uid/gid — your user and group IDs (so you own the files).
  • dmask/fmask — permission masks for directories and files (022/133 = rwxr-xr-x for folders, rw-r--r-- for files).

Example 2: Mount a damaged ext4 as read-only

sudo mount -o ro /dev/sdX1 /mnt/backup

This is safe: you can copy data without risking further damage.

Example 3: Mount with character encoding specified (for FAT/exFAT with Russian names)

sudo mount -t exfat /dev/sdX1 /mnt/exfat -o iocharset=utf8,utf8

Example 4: Mount with journaling disabled (for debugging a damaged ext4)

sudo mount -t ext4 -o ro,noload /dev/sdX1 /mnt/readonly

The noload option doesn't load the journal, allowing you to read the filesystem even if the journal is corrupted.

Step 6: Check and Fix /etc/fstab

If the problem occurs at boot or with mount -a, fstab is likely the culprit.

  1. Find the UUID of your partition:
    sudo blkid /dev/sdX1
    

    Output: /dev/sdX1: UUID="1234-ABCD" TYPE="ntfs". Copy the UUID.
  2. Open fstab:
    sudo nano /etc/fstab
    
  3. Check the line for your partition. The correct format is:
    UUID=1234-ABCD   /mnt/point   ntfs-3g   defaults,uid=1000   0   0
    
    • UUID — a unique identifier that doesn't change when reconnecting.
    • Mount point — must exist.
    • Filesystem typentfs-3g, exfat, ext4, vfat (FAT32).
    • Optionsdefaults (rw,suid,dev,exec,auto,nouser,async) or your custom ones.
    • Dump (first number) — usually 0.
    • Fsck order (second number) — 0 for NTFS/exFAT, 1 for the root ext partition, 2 for others.
  4. Check fstab syntax without risk:
    sudo mount -a -v
    

    If there are no errors — the configuration is correct. If there are — fix the line and repeat.
  5. Common fstab errors:
    • Using /dev/sdX1 instead of UUID — the path can change.
    • Wrong filesystem type (e.g., ntfs instead of ntfs-3g).
    • Option user instead of usersuser allows only the owner of the mount point to mount, users allows any user.
    • Missing NTFS options (uid=...), causing files to be owned by root.

Step 7: Advanced Diagnostics (If Nothing Else Works)

Using debugfs (for ext2/3/4)

If the superblock is damaged, you can try to restore its backup.

sudo debugfs -R "stats" /dev/sdX1

If debugfs won't start, the superblock is severely damaged. Try specifying an alternate superblock (find its number via mke2fs -l /dev/sdX1 or dumpe2fs -h /dev/sdX1):

sudo debugfs -R "stats" -b 32768 /dev/sdX1  # example for block 32768

Partition analysis with parted

Ensure the partition has a valid filesystem and flags (e.g., boot for a bootable partition).

sudo parted /dev/sdX print

Check disk SMART status (for internal/external HDD/SSD)

sudo smartctl -a /dev/sdX  # for SATA/USB
sudo smartctl -a /dev/nvme0  # for NVMe

Pay attention to SMART overall-health self-assessment test result and attributes like Reallocated_Sector_Ct, Current_Pending_Sector, Uncorrectable_Error_Count.

If:

  • dmesg shows I/O error, medium error, sense key: Medium Error.
  • smartctl reports poor health or high reallocated sector counts.
  • Errors occur on different ports/computers.
  • The disk makes unusual noises (clicking, grinding) — stop using it immediately.

In this case, mounting is just a symptom. The disk needs replacement. Use ddrescue to create an image for data recovery if the data is important.

Final Check

After a successful mount:

  1. Check file permissions: ls -la /mnt/point. Ensure you can read/write.
  2. If mounting via fstab — reboot and check if the mount point appears automatically.
  3. For permanent use, create an fstab entry with the UUID and correct options to avoid manual commands.

If no method works, the disk might use an exotic filesystem (e.g., ZFS, Btrfs in a specific mode) or have a corrupted partition table (GPT/MBR). Specialized tools will be needed (zpool import, btrfs check, gdisk).

Remember: when working with potentially damaged media, first back up important data (in ro mode) if possible, and only then attempt repairs.

F.A.Q.

Why does the disk mount after reboot but not manually?
How to mount an NTFS disk without a password prompt?
What to do if mount says 'device is busy'?
Can I mount a corrupted NTFS system in Linux?

Hints

Check device and partition visibility
Analyze the exact error message
Check system logs (dmesg)
Check filesystem integrity
Manually mount with parameters
Fix /etc/fstab entry (if issue is there)

Did this article help you solve the problem?

FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community