NTFS partitions mount as read-only, not read-write.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
royha

NTFS partitions mount as read-only, not read-write.

Post by royha »

My recent install of Linux Mint 20 Cinnamon is unable to mount NTFS partitions as read-write. They only mount as read-only.

This computer dual boots to Windows 10, and when booted to Linux Mint, it does not mount the Windows partition as read-write, but as read-only. This happens also with USB drives that are formatted NTFS; they mount as read-only, not read-write.

What do you need from me to help diagnose this problem? I have included the output of "sudo inxi -v 8" on this computer.

-- Roy


System: Host: aram-ThinkPad-T540p Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=8d4402c2-0bd6-4fd1-b5cb-b01c2883e1e6 ro quiet splash
Desktop: Cinnamon 4.6.6 wm: muffin 4.6.2 dm: LightDM 1.30.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine: Type: Laptop System: LENOVO product: 20BE0085US v: ThinkPad T540p serial: R907K4VR Chassis: type: 10
serial: R907K4VR
Mobo: LENOVO model: 20BE0085US v: 0B98401 WIN serial: W1KS51N11DF UEFI: LENOVO v: GMET70WW (2.18 ) date: 03/05/2015
Battery: ID-1: BAT0 charge: 79.4 Wh condition: 79.4/99.5 Wh (80%) volts: 12.3/10.8 model: SANYO 45N1779 type: Li-ion
serial: 341 status: Full
Memory: RAM: total: 15.52 GiB used: 1.78 GiB (11.5%)
Array-1: capacity: 16 GiB slots: 2 EC: None max module size: 8 GiB note: est.
Device-1: ChannelA-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3 detail: synchronous bus width: 64 bits
total: 64 bits manufacturer: 1302 part-no: 1600L CL9 Series serial: N/A
Device-2: ChannelB-DIMM0 size: 8 GiB speed: 1600 MT/s type: DDR3 detail: synchronous bus width: 64 bits
total: 64 bits manufacturer: 1302 part-no: 1600L CL9 Series serial: N/A
PCI Slots: Slot: N/A type: Media Card Slot status: Available length: Other
Slot: N/A type: SimCard Slot status: Available length: Other
CPU: Topology: Dual Core model: Intel Core i7-4600M bits: 64 type: MT MCP arch: Haswell family: 6 model-id: 3C (60)
stepping: 3 microcode: 28 L1 cache: 64 KiB L2 cache: 4096 KiB L3 cache: 4096 KiB bogomips: 23146
Speed: 829 MHz min/max: 800/3600 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798
Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts clflush cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe msr mtrr
nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp
rep_good sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:0416
Device-2: NVIDIA GK208M [GeForce GT 730M] vendor: Lenovo driver: nvidia v: 440.100 bus ID: 01:00.0
chip ID: 10de:1290
Display: server: X.Org 1.20.8 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GT 730M/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 direct render: Yes
Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus ID: 00:03.0 chip ID: 8086:0c0c
Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus ID: 00:1b.0 chip ID: 8086:8c20
Device-3: NVIDIA GK208 HDMI/DP Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0e0f
Sound Server: ALSA v: k5.4.0-42-generic
Network: Device-1: Intel Ethernet I217-LM vendor: Lenovo driver: e1000e v: 3.2.6-k port: 5080 bus ID: 00:19.0
chip ID: 8086:153a
IF: enp0s25 state: down mac: 54:ee:75:41:47:94
Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 4000 bus ID: 04:00.0 chip ID: 8086:08b2
IF: wlp4s0 state: up mac: 5c:c5:d4:a3:8d:60
IP v4: 192.168.1.119/24 type: dynamic noprefixroute scope: global broadcast: 192.168.1.255
IP v6: fe80::6c77:b76e:f5c3:259/64 type: noprefixroute scope: link
WAN IP: ;; connection timed out; no servers could be reached
Drives: Local Storage: total: 698.64 GiB used: 169.69 GiB (24.3%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda vendor: Western Digital model: WD7500BPVX-60JC3T0 size: 698.64 GiB block size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: WD-WX41AC4J1NTD rev: 1A01 temp: 37 C scheme: GPT
Optical-1: /dev/sr0 vendor: PLDS model: DVD-RW DU8A5SH rev: BU51 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
RAID: Message: No RAID data was found.
Partition: ID-1: / raw size: 122.07 GiB size: 119.65 GiB (98.02%) used: 22.02 GiB (18.4%) fs: ext4 block size: 4096 B
dev: /dev/sda4 label: N/A uuid: 8d4402c2-0bd6-4fd1-b5cb-b01c2883e1e6
ID-2: /boot/efi raw size: 100.0 MiB size: 96.0 MiB (96.00%) used: 34.0 MiB (35.5%) fs: vfat block size: 512 B
dev: /dev/sda2 label: N/A uuid: C082-7128
ID-3: /media/aram/E45C72405C720D94 raw size: 502.08 GiB size: 502.08 GiB (100.00%) used: 147.64 GiB (29.4%)
fs: ntfs block size: 4096 B dev: /dev/sda5 label: N/A uuid: E45C72405C720D94
ID-4: swap-1 size: 19.07 GiB used: 0 KiB (0.0%) fs: swap swappiness: 60 (default) cache pressure: 100 (default)
dev: /dev/sda6 label: N/A uuid: cd840939-4ff9-4d62-bd74-3b528017300b
Unmounted: ID-1: /dev/sda1 size: 450.0 MiB fs: ntfs label: Recovery uuid: 7A5481AE54816DA7
ID-2: /dev/sda3 size: 16.0 MiB fs: N/A label: N/A uuid: N/A
USB: Hub: 1-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002
Hub: 1-1:2 info: Intel ports: 8 rev: 2.0 speed: 480 Mb/s chip ID: 8087:8000
Hub: 2-0:1 info: Full speed (or root) Hub ports: 15 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002
Device-1: 2-7:2 info: Validity Sensors VFS 5011 fingerprint sensor type: <vendor specific> driver: N/A
interfaces: 1 rev: 1.1 speed: 12 Mb/s chip ID: 138a:0017 serial: 8dd60eb20525
Device-2: 2-12:4 info: Chicony Integrated Camera type: Video driver: uvcvideo interfaces: 2 rev: 2.0
speed: 480 Mb/s chip ID: 04f2:b39a
Hub: 3-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s chip ID: 1d6b:0003
Sensors: System Temperatures: cpu: 48.0 C mobo: 0.0 C gpu: nvidia temp: 47 C
Fan Speeds (RPM): cpu: 2077
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://mintmirror.math.washington.edu/linuxmint-repo ulyana main upstream import backport
2: deb http://mirror.uoregon.edu/ubuntu focal main restricted universe multiverse
3: deb http://mirror.uoregon.edu/ubuntu focal-updates main restricted universe multiverse
4: deb http://mirror.uoregon.edu/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
Processes: CPU top: 5
1: cpu: 9.8% command: firefox pid: 2591 mem: 315.2 MiB (1.9%)
2: cpu: 4.2% command: cinnamon pid: 1587 mem: 174.1 MiB (1.0%)
3: cpu: 3.5% command: firefox pid: 2850 mem: 360.4 MiB (2.2%)
4: cpu: 3.3% command: xorg pid: 1032 mem: 126.3 MiB (0.7%)
5: cpu: 3.3% command: firefox pid: 2653 mem: 249.5 MiB (1.5%)
Memory top: 5
1: mem: 360.4 MiB (2.2%) command: firefox pid: 2850 cpu: 3.5%
2: mem: 315.2 MiB (1.9%) command: firefox pid: 2591 cpu: 9.8%
3: mem: 249.5 MiB (1.5%) command: firefox pid: 2653 cpu: 3.3%
4: mem: 235.0 MiB (1.4%) command: firefox pid: 2700 cpu: 2.1%
5: mem: 186.0 MiB (1.1%) command: firefox pid: 2736 cpu: 1.9%
Info: Processes: 220 Uptime: 20m Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash (sudo)
v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: NTFS partitions mount as read-only, not read-write.

Post by hydrurga »

Addressing the inability to read the Windows filesystem, have you turned off Fast Startup in Windows 10?

https://www.tenforums.com/tutorials/418 ... -10-a.html
User avatar
AndyMH
Level 21
Level 21
Posts: 13757
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: NTFS partitions mount as read-only, not read-write.

Post by AndyMH »

How are you mounting the ntfs partitions, in fstab, with disks, in a terminal... ?
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
SteveR
Level 3
Level 3
Posts: 167
Joined: Fri May 24, 2019 12:02 pm
Location: Morehead City, NC
Contact:

Re: NTFS partitions mount as read-only, not read-write.

Post by SteveR »

Here is a copy of my fstab line for mounting the Windows partition as read-only. For reasons of safety, it seems that you must have the Windows partition mounted as read-only. The reason, I believe, in a couple of cases, an upgrade to Windows, (unknowingly) re-activated fast boot which ended up causing problems under Linux when the Windows partition was r/w.

UUID=D2389A88389A6AED /media/windows ntfs-3g nosuid,nodev,nofail,ro 0 0
User avatar
AndyMH
Level 21
Level 21
Posts: 13757
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: NTFS partitions mount as read-only, not read-write.

Post by AndyMH »

Try adding uid and gid to fstab as follows:

Code: Select all

UUID=D2389A88389A6AED /media/windows ntfs-3g uid=1000,gid=1000,nosuid,nodev,nofail,ro 0 0
Assigns ownership to user 1000 and in mint that is assigned to the first user created, usually you. Find out by entering id in a terminal.

This is what the fstab entry looks like for my dual boot desktop:

Code: Select all

# mount point for windows C:
UUID=38F8AFE2F8AF9D1E /home/andy/win10           ntfs    windows_names,auto,users,uid=1000,gid=1000,noatime        0       2
Note - windows_names stop the use of valid characters in a linux filename that are invalid in windows.

Fast boot does need to be turned off, otherwise mint will still mount the partition read only.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
royha

Re: NTFS partitions mount as read-only, not read-write.

Post by royha »

Thank you very much for your help. Turning off "Fast Startup" fixed the problem of NTFS partitions being read-only. I'm back in business again!

-- Roy
robiulawal

Re: NTFS partitions mount as read-only, not read-write.

Post by robiulawal »

i have same problem , but i cant fix it. please help me to fix it.
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: NTFS partitions mount as read-only, not read-write.

Post by hydrurga »

robiulawal wrote: Wed Aug 12, 2020 10:28 am i have same problem , but i cant fix it. please help me to fix it.
What have you tried so far? Did you turn off Fast Startup in Windows?
robiulawal

Re: NTFS partitions mount as read-only, not read-write.

Post by robiulawal »

no i'm not turn it off. i'm not using dual boot. i'm just using linux mint.
robiulawal

Re: NTFS partitions mount as read-only, not read-write.

Post by robiulawal »

viewtopic.php?f=50&t=327736 please check my post by given link
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: NTFS partitions mount as read-only, not read-write.

Post by hydrurga »

robiulawal wrote: Wed Aug 12, 2020 11:38 am no i'm not turn it off. i'm not using dual boot. i'm just using linux mint.
Where is the NTFS filesystem: On your computer? On an external drive? On a USB stick?
robiulawal

Re: NTFS partitions mount as read-only, not read-write.

Post by robiulawal »

On an external drive
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: NTFS partitions mount as read-only, not read-write.

Post by hydrurga »

Ok. So it looks like it is a NTFS filesystem on a partition that was originally used by Windows (I presume Windows 10). Fast Start was enabled and Windows has effectively "locked up" the filesystem by marking it as "dirty". I guess.

You could try running ntfsfix on it, but can I ask first if it contains any documents or other data that you haven't backed up somewhere? I wouldn't want you to lose any important documents if ntfsfix doesn't work.
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: NTFS partitions mount as read-only, not read-write.

Post by hydrurga »

We've had crossed-over posts to an extent. :)

Now that I know that it is on an external drive, my advice is that the safest way of resolving this is to mount the drive in question on a Windows system and run chkdsk on it. That will take care of any other errors the filesystem might have. Then unmount it and you should be good to go for using it in Linux.
robiulawal

Re: NTFS partitions mount as read-only, not read-write.

Post by robiulawal »

how can i do that? please tell me in details
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: NTFS partitions mount as read-only, not read-write.

Post by hydrurga »

robiulawal wrote: Wed Aug 12, 2020 12:12 pm how can i do that? please tell me in details
Here are some fairly comprehensive instructions:

https://neosmart.net/wiki/chkdsk/

The easiest way is to do it through My Computer (https://neosmart.net/wiki/chkdsk/#From_My_Computer-5).

If you don't understand what to do after reading these, then you would probably be best asking someone who knows more about Windows to check and fix the disk for you.
robiulawal

Re: NTFS partitions mount as read-only, not read-write.

Post by robiulawal »

thanks you for your response. thats mean lot for me. after trying 3 hours i fixed my problem
fmeneuhe
Level 1
Level 1
Posts: 41
Joined: Wed Feb 01, 2012 8:41 am

Re: NTFS partitions mount as read-only, not read-write.

Post by fmeneuhe »

I also had the same problem, the file manager mounted the NTFS filesystem of my hard drive in read only. In my case I fixed it doing this:

Code: Select all

df
I selected the NTFS partition to repair (in my case /dev/sde1) and I run:

Code: Select all

sudo ntfsfix -d /dev/sde1
Unmount and mount again the partition from the file browser.
cwky42
Level 1
Level 1
Posts: 17
Joined: Wed Dec 14, 2011 4:29 am

Re: NTFS partitions mount as read-only, not read-write.

Post by cwky42 »

hydrurga wrote: Wed Jul 29, 2020 5:13 am Addressing the inability to read the Windows filesystem, have you turned off Fast Startup in Windows 10?

https://www.tenforums.com/tutorials/418 ... -10-a.html
Thanks so much hydrurga! My dual boot Mint 17.2/Windows machine just got updated to Win10, and took me days to get the Windows to where I needed it to be. So long that I was flummoxed when I finally got back to Mint and my ntfs drive which I have been auto-mounting for years suddenly wouldn't mount. Stumbled around and tried a few things unsuccessfully, then saw your tip about the Windows Fast Start. Hurrah! Thanks again for saving my day! (and data!)
User avatar
n0body_special
Level 3
Level 3
Posts: 130
Joined: Sat May 16, 2009 3:00 pm

Re: NTFS partitions mount as read-only, not read-write.

Post by n0body_special »

I have the same problem. I've had it in the past before, it was always the same damn Fast Boot problem.
Now it is not.

I run a dual-boot system with Mint 20.1 and windows 10. I HAVE turned fast boot and hibernation off at the first moment I installed windows. Windows partition automounts at startup. Shows root as owner. I open it as root, but still can't change a thing on it.

df shows:

Code: Select all

Filesystem      1K-blocks       Used  Available Use% Mounted on
udev              3974324          0    3974324   0% /dev
tmpfs              804140       1936     802204   1% /run
/dev/sdc1        17631528    6038924   10673924  37% /
/dev/sdc2        28698272    8536588   18684316  32% /usr
tmpfs             4020696         72    4020624   1% /dev/shm
tmpfs                5120          4       5116   1% /run/lock
tmpfs             4020696          0    4020696   0% /sys/fs/cgroup
/dev/sdc3       183176640   45123736  128678392  26% /home
/dev/sda3       468209660  132862632  335347028  29% /mnt/win10
/dev/sda1           98304      35235      63069  36% /boot/efi
/dev/sdb1      5813297680 3032381500 2487873748  55% /mnt/seagate6TB
tmpfs              804136         16     804120   1% /run/user/1000
pCloud.fs         7340032      11368    7328664   1% /home/user0/pCloudDrive
running sudo ntfsfix -d /dev/sda3 shows up the following:

Code: Select all

Mounting volume... Windows is hibernated, refused to mount.
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Windows is hibernated, refused to mount.
Remount failed: Operation not permitted
I understand the problem here is that windows is still hibernated, however I have turned off hibernation AND fast boot. What the heck is going on here?
Windows is the world's biggest virus.
UEFI is a Microsoft sponsored boot sector hijacker.
Android is the world's biggest spyware.
But most importantly: Google. Is. Skynet
Locked

Return to “Storage”