Automatically mount NTFS volumes as read-only

From Pengwings
Revision as of 17:04, 8 February 2026 by Theleruby (talk | contribs) (Theleruby moved page Automatically mount NTFS volumes as read only to Automatically mount NTFS volumes as read-only without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This only works for simple volumes

Get NTFS volume UUID

lsblk -f

Create mount point

sudo mkdir /var/mnt/whatever

Add to fstab

sudo vim /etc/fstab
UUID=NTFS_UUID_GOES_HERE /var/mnt/whatever ntfs defaults,ro,nofail 0 0

If the drive is a dynamic mirror you need to use ldmtool instead, if you use the above instructions you might corrupt the volume

See Using ldmtool to mount NTFS dynamic mirror for those instructions