How to activate ntfs3 in fedora 36

I am seeking help to firstly determine if the ntfs3 installed and then activate it, lastly remove ntfs-3g.

My current system is upgrade from F35 and with ntfs-3g, ntfs-3g-libs, ntfs-3g-system-compression and
ntfsprogs package installed.

The reason for this is that i m running a dual-boot windows and fedora which i experiencing issue with files move, copy and others issues when accessing ntfs files from fedora. Today i have lost 200 files when i tried to move from a ntfs sub-directory to another directory in Fedora with the ntfs mounted in Nautilus.

I can’t seems to remove ntfs-3g from the Fedora 36 system as it will take loads of core package such as evolution, nautilus, and other core gnome apps. The number of package need to remove is 79 in total.

If i am not mistaken it is a kernel module as shown below:
filename: /lib/modules/5.17.11-300.fc36.x86_64/kernel/fs/ntfs3/ntfs3.ko.xz
alias: fs-ntfs3
author: Konstantin Komarov
compression: Read-only lzx/xpress compression included
behaviour: Enabled Linux POSIX ACLs support
description: ntfs3 read/write filesystem
license: GPL
rhelversion: 9.99
depends:
retpoline: Y
intree: Y
name: ntfs3
vermagic: 5.17.11-300.fc36.x86_64 SMP preempt mod_unload
sig_id: PKCS#7
signer: Fedora kernel signing key
sig_key: 75:9C:3C:B2:AE:EC:41:8E:52:3A:5C:34:8A:52:D6:34:CA:68:87:0C
sig_hashalgo: sha256
signature: 5A:F8:2C:FB:61:72:DC:22:2F:61:F1:5F:43:DD:2C:55:19:0A:D1:60:
3E:2E:99:2D:D4:35:79:A5:32:24:35:90:2F:63:6A:2B:88:93:92:A4:
FB:AD:23:27:B6:81:A6:B4:2F:6C:3F:89:D6:C9:DB:1A:3C:DB:8F:51:
BD:8B:A9:65:A8:C7:03:22:8B:8B:D9:1A:D3:BB:8F:90:41:51:D0:D2:
57:48:5F:29:72:8E:C7:73:E5:62:64:3D:24:1C:39:48:6A:45:13:99:
7A:FF:18:01:B4:99:23:AF:43:94:D6:D0:5A:2C:EF:5A:F5:CF:53:B4:
16:F9:7D:28:B4:F0:5E:50:DB:91:9D:EA:F5:E9:79:77:1B:3A:BF:74:
67:88:70:09:2F:14:DB:36:C6:48:28:CA:4A:45:AA:BA:EB:4C:59:B2:
3D:86:89:84:85:73:F3:E3:62:8A:D3:23:BC:30:6C:65:46:D9:26:03:
3C:10:DF:59:67:B5:DF:72:9A:09:AA:0A:F4:34:5D:F2:44:C3:57:53:
5F:F8:C4:02:98:9E:D7:7C:CE:78:D6:26:BD:53:BF:C9:2E:03:04:E1:
78:9A:F7:8E:1E:D0:99:E7:E7:16:F6:4F:DE:EC:F6:26:F0:49:74:2B:
B4:36:95:F6:28:D2:C1:19:8C:E5:7D:59:D9:59:F7:3D:DF:56:07:77:
AE:62:1C:A1:A9:7D:35:3D:8B:2A:57:33:C2:EA:80:A8:07:4B:07:9E:
8A:CA:C7:BD:73:E7:81:61:3F:4D:B0:DD:DC:5A:75:F3:A9:D8:4F:E9:
AA:AD:7B:CB:EB:67:75:92:CF:2F:B3:80:27:92:EC:3D:7B:DA:77:A1:
9D:40:02:95:5F:08:D2:BA:8C:44:06:39:16:CE:2E:46:DE:C2:D2:87:
5F:86:B1:6B:AB:7D:B6:B5:B1:A4:44:64:44:2F:AE:7C:09:CC:CE:5A:
00:B8:CD:15:AE:AC:2A:62:66:A8:4E:AF:29:0C:52:67:B8:D0:13:51:
1B:01:F4:EC:B9:16:D8:26:C8:D2:E8:37:E7:82:34:A5:4D:3A:19:CC:
D4:AA:6D:A1:79:E1:DA:FE:9B:4D:61:F2:CD:C4:CA:FC:33:63:28:CD:
79:66:15:4D:D6:4E:B9:D1:EE:B9:C1:E8:48:DD:7B:87:E0:5C:55:09:
21:71:8E:CC:A3:8F:BE:18:18:10:16:A9:28:1E:D9:7D:E4:AA:51:B5:
3E:02:09:90:94:2A:BC:DA:B7:1A:F4:19:63:4B:24:56:9A:E0:12:D7:
B4:C7:9F:84:22:BC:4D:C1:69:74:11:DC:02:24:7F:D9:96:D0:1F:43:
69:E4:61:94:8E:50:EC:1A:3B:EE:D6:F3

Error i am getting whenever mount or connect external ntfs storage : ntfs3: Unknown parameter ‘windows_names’

Any help is much appreciated.

Hi,

Can’t comment on the packages to be removed, as I’ve not installed ntfs-3g. But your mount command should work if you remove windows_names as this i not support by the new driver. If that doesn’t work Please provide the full mount command or fstab entry?

Thanks Tom.

The kernel module that you have mentioned , Is it the one you want to remove or do you want this module to be enabled. I might have misunderstood you but that module if I am not wrong is the ntfs3 one not ntfs3g. As far as I know you can use modprobe command to enable/disable modules.

Create a file like this /etc/udev/rules.d/ntfs3_by_default.rules

add these lines to it and reboot.

SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="ntfs", ENV{ID_FS_TYPE}="ntfs3", ENV{UDISKS_FILESYSTEM_SHARED}="0"

Thanks Arun for the promtp respond.

I have reated the rules, but when i connected a external (USB) ntfs storage or connect to my windows disk, it connect under “/run/media/$USER/VolumeName” but with root access only.
I will be unable to access anything at all, i mean just read only, i need to have read/write access.

Many thanks.

I don’t know whether it will work on USB devices but you could try this.

remove btrfs_defaults=noatime,autodefrag,compress=zstd if you don’t use btrfs.

gist link

1 Like

ok, let me try.

Many thanks.

Many thanks, Arun.

It is working now, with internal and external as well.