VOOZH about

URL: https://bbs.archlinux.org/viewtopic.php?id=271650

⇱ [SOLVED]Mounting ntfs partition by ntfs3 failed / Newbie Corner / Arch Linux Forums


Arch Linux

You are not logged in.

#1 2021-11-27 10:11:28

d1s12t
Member
Registered: 2021-09-15
Posts: 2

[SOLVED]Mounting ntfs partition by ntfs3 failed

My kernel version is:

❯ uname -r
5.15.5-arch1-1

I wanted to mount a ntfs partition using ntfs3 driver, so I entered:

❯ sudo mount -t ntfs3 /dev/sdb1 /mnt/Data
mount: /mnt/Data: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

I tried to confirm if the driver was loaded:

❯ lsmod | grep ntfs
ntfs3 274432 0

Then I tried to fix the partition,but I got the same error:

❯ sudo ntfsfix /dev/sdb1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.

❯ sudo mount -t ntfs3 /dev/sdb1 /mnt/Data
mount: /mnt/Data: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

Then I mounted the partition without any option:

❯ sudo mount /dev/sdb1 /mnt/Data
❯ mount -l
......
/dev/sdb1 on /mnt/Data type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096) [数据]

As you can see,it drives by ntfs-3g not ntfs3. What can I do?

Last edited by d1s12t (2021-11-28 15:59:53)

Offline

#2 2021-11-27 10:21:34

V1del
Forum Moderator
👁 Image
Registered: 2012-10-16
Posts: 25,232

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

Check your dmesg for errors with ntfs3. Chances are the volume is still marked dirty, and ntfs3 will not mount a partition where that is the case without the force option. ntfsfix without any arguments will actively set the dirty bit, so that a chkdsk from Windows can do a real check/analysis. If you don't have that handy and want to clear the dirty bit despite ntfsfix not being entirely a good checking tool you can pass the -d argument to ntfsfix.

Offline

#3 2021-11-28 15:50:14

d1s12t
Member
Registered: 2021-09-15
Posts: 2

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

Thanks! You are right! Just need to enter the follow comands:

sudo ntfsfix -d /dev/sdb1
sudo mount -t ntfs3 /dev/sdb1 /mnt/Data

Last edited by d1s12t (2021-11-28 15:51:01)

Offline

#4 2023-10-27 08:15:45

soymadip
Member
Registered: 2023-10-27
Posts: 1

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

anyone new coming here for solve who is getting the same error, 
install "ntfs-3g" package & then use gnome-disks or similar application (or manually) to mount a NTFS filesystem.....

Offline

#5 2023-12-06 15:00:29

dongka
Member
Registered: 2022-05-23
Posts: 5

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

The following command is fine:
$ntfsfix --clear-dirty /dev/nvme0n1p4

but an error will be reported if you use etc/fstab auto-mount:
wrong fs type, bad option, bad superblock on /dev/nvme0n1p4, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

Offline

#6 2024-06-17 16:56:39

disy1o
Member
Registered: 2024-06-17
Posts: 1

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

soymadip wrote:

anyone new coming here for solve who is getting the same error, 
install "ntfs-3g" package & then use gnome-disks or similar application (or manually) to mount a NTFS filesystem.....

That worked!
Registered here to say thank you.

Offline

#7 2024-06-17 17:52:24

cryptearth
Member
Registered: 2024-02-03
Posts: 2,193

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

The more proper reply would be: DON'T use ntfs on linux!
if you want to proper fix a ntfs partition: use windows! and use the full suite of chkdsk: /F /X /R /B
if you need some FS for data exchnage between OSs: use exFAT

Offline

#8 2025-04-17 02:13:37

marcin123
Member
Registered: 2018-12-20
Posts: 9

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

The issue for me was that it should be `ntfs-3g` not `ntfs3`:

sudo mount -t ntfs-3g /dev/sdb1 /mnt/Data

Offline

#9 2025-04-17 02:33:58

Scimmia
Fellow
👁 Image
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

Those are two different drivers, so that's not a solution.

Offline

#10 2025-04-17 07:52:10

schard
Forum Moderator
👁 Image
From: Hannover
Registered: 2016-05-06
Posts: 2,653
Website

Re: [SOLVED]Mounting ntfs partition by ntfs3 failed

Mod note: @marcin123 please refrain from bumping old, solved topics in the future.
Closing.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Atom topic feed

Powered by FluxBB