Unable to mount NTFS drive on Ubuntu, Linux
Context
Windows migration to Linux; Ubuntu 24.04 LTS. Need access to data files in NTFS(Microsoft Windows propietary file system) drive.
Symptom
Could not access the drive. Error message: âFailed to mount âdrive-nameâ. Error mounting /dev/sda3 at /path/to/drive: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other errorâ.

Why it happened
Uncertain. Possibly system was not powered off properly, causing drive to be âflaggedâ preventing Linux from mounting it until flag is removed. Flag removal needs to be done by checking it on Windows(chkdsk). Windows system not available.
Fix
- Ran
dmesg | tail -n 80// to display the last 80 lines of the âkernel ring buggerâ which contains recent kernel messages and system events. Printed: âscheduled for check/dirty flag on NTFSâ, confirming above theory. - Getting drive filesystem info through lsblk(list block devices):
lsblk -f /dev/sda3. (â-fâ flag for information on filysystems) - Ran
sudo ntfsfix /dev/sda3for a âsoft/non-destructiveâ NTFS repair. temporary âfixâ to remove the flag and let us mount the drive. it does not replace and still needs Windows chkdisk. - Creating mounting point:
sudo mkdir -p /mnt/ssd-data/ - Mounting using nfts-3g driver:
sudo mount -t ntfs-3g /dev/sda3 /mnt/ssd-data/