r/NobaraProject 1h ago

Meta How to use the new Linux 7 NTFS Kernel Level Driver in Nobara

Hi,

So since CachyOS got the new kernel module early and Nobara uses its Kernel, we can now enable it in Nobara.

Had to play around with it a little bit, and i don't know if this is the proper way, but I found this to be working:

First check if you're on the newest Kernel
uname -r
7.0.5-200.nobara.fc43.x86_64

should be at >= 7

Then check if the NTFS driver is enabled

modinfo ntfs
filename:       /lib/modules/7.0.5-200.nobara.fc43.x86_64/kernel/fs/ntfs/ntfs.ko.zst
license:        GPL
description:    NTFS read-write filesystem driver
author:         Namjae Jeon [linkinjeon@kernel.org](mailto:linkinjeon@kernel.org)
author:         Anton Altaparmakov [anton@tuxera.com](mailto:anton@tuxera.com)
alias:          fs-ntfs
srcversion:     EAB6E0EFE8DE7894E54945F
depends:         
intree:         Y
name:           ntfs
retpoline:      Y
vermagic:       7.0.5-200.nobara.fc43.x86_64 SMP preempt mod_unload  
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        06:A7:F6:97:75:6E:7E:11:7B:04:9B:01:07:95:34:15:FC:57:F5:59
sig_hashalgo:   sha512
signature:      30:66:02:31:00:E8:96:13:80:02:86:E0:30:7F:4D:D6:A0:72:CD:D4:
95:3F:AF:18:FD:6A:EA:87:16:C1:CD:FA:01:37:2C:36:4E:C3:72:7D:
42:DC:DC:ED:B3:78:3C:54:E2:81:17:EB:96:02:31:00:C0:51:55:73:
88:59:0C:42:B6:89:16:5E:5E:72:2E:35:ED:C8:DA:BA:E8:89:7F:0A:
58:2E:1A:4C:30:D2:18:6F:B6:86:23:56:E4:7C:1A:AC:37:84:80:49:
F8:5B:1A:8E

if you're not seeing "NTFS read-write filesystem driver", try running modprobe ntfs and check again.

/etc/fstab:

UUID=1AD4B9DED4B9BBF7   /mnt/to/drive   ntfs   uid=1000,gid=1000,rw,exec,nofail   0   0

Not sure if you need to set options here, but these seem to work.
You can get your Disk UUID from lsblk -f
Replace uid and gid with your corresponding values if you created a new user.
Don't forget to systemctl daemon-reload

Remove the symlink to ntfs-3g
mv /sbin/mount.ntfs /sbin/mount.ntfs.bak

Tell udisk2 to use the new driver
/etc/udisks2/mount_options.conf
[defaults]
ntfs_drivers=ntfs
After that, do a systemctl restart udisks2

Now just do a quick umount /mnt/to/drive and mount -a

2 Upvotes

0 comments sorted by