NTFS partition mounts read-only

Message
Author
User avatar
texchuck
Posts: 30
Joined: Fri Dec 28, 2007 2:36 pm

NTFS partition mounts read-only

#1 Post by texchuck »

I recently acquired a new PC configured with Windows 11 and installed MX-21.1 with a dual boot. My plan was to share the Windows ntfs partition for data. This worked for the first week, but suddenly the partition only mounts as a read-only file system. The folders and files identify as read-write, but write access is grayed out (or "read only file system" displays in a console window). I tried unmounting and mounting with no change in status. Maybe this is a Windows poison pill! Anyway, not sure how to mount the ntfs partition as read-write again. Thanks!

Here is the quick system info.

Code: Select all

System:    Kernel: 5.14.0-4mx-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.0-4mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.1_ahs_x64 Wildflower November 22  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Convertible System: ASUSTeK product: Zenbook UX562UG_Q508UG v: 1.0 
           serial: <filter> 
           Mobo: ASUSTeK model: UX562UG v: 1.0 serial: <filter> UEFI: American Megatrends LLC. 
           v: UX562UG_Q508UG.302 date: 10/14/2021 
Battery:   ID-1: BAT0 charge: 27.5 Wh (49.6%) condition: 55.4/56.0 Wh (98.8%) volts: 15.8 
           min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Discharging 
           cycles: 6 
           Device-1: hid-0018:04F3:2C8C.0002-battery model: ELAN9008:00 04F3:2C8C serial: N/A 
           charge: N/A status: N/A 
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP 
           arch: Zen 2 family: 17 (23) model-id: 68 (104) stepping: 1 microcode: 8608103 cache: 
           L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57494 
           Speed: 2060 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 2060 
           2: 2116 3: 4142 4: 1393 5: 1532 6: 1780 7: 1823 8: 1284 9: 1515 10: 1397 11: 2384 
           12: 1397 13: 2088 14: 3742 15: 1714 16: 2283 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           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 AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA TU117M [GeForce MX450] vendor: ASUSTeK driver: nvidia v: 510.47.03 
           bus-ID: 01:00.0 chip-ID: 10de:1f97 class-ID: 0302 
           Device-2: AMD Lucienne vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 04:00.0 
           chip-ID: 1002:164c class-ID: 0300 
           Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 3-2:2 
           chip-ID: 13d3:56eb class-ID: fe01 serial: <filter> 
           Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: amdgpu,ati,nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
           diag: 395mm (15.5") 
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.14.0-4mx-amd64 LLVM 12.0.1) 
           v: 4.6 Mesa 21.2.5 direct render: Yes 
Audio:     Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel 
           bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK 
           driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 04:00.5 
           chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k5.14.0-4mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel modules: wl port: f000 
           bus-ID: 02:00.0 chip-ID: 8086:2526 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 
           bus-ID: 3-4:4 chip-ID: 8087:0025 class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1 
           sub-v: 100 hci-v: 5.1 rev: 100 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 477.22 GiB used: 73.96 GiB (15.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: OM8PDP3256B-AB1 
           size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: EDFK0SA6 temp: 39.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 type: USB model: Multiple Card Reader size: 238.75 GiB 
           block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 
           scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw-size: 19.53 GiB size: 19.06 GiB (97.57%) used: 15.41 GiB (80.8%) fs: ext4 
           dev: /dev/nvme0n1p7 maj-min: 259:7 
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 27.6 MiB (10.8%) 
           fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p6 maj-min: 259:6 
Sensors:   System Temperatures: cpu: 47.9 C mobo: 46.0 C gpu: amdgpu temp: 41.0 C 
           Fan Speeds (RPM): cpu: 3100 
Repos:     Packages: note: see --pkg apt: 2497 lib: 1403 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
           2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list 
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Info:      Processes: 373 Uptime: 48m wakeups: 4 Memory: 7.17 GiB used: 2.37 GiB (33.0%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Shell: Bash v: 5.1.4 running-in: quick-system-info-mx 
           inxi: 3.3.06 
Boot Mode: UEFI

xaol
Posts: 311
Joined: Wed Mar 03, 2021 8:30 am

Re: NTFS partition mounts read-only

#2 Post by xaol »

do you know if you have fast startup disabled in windows? i have read it can cause similar problems with mounting its drive https://www.windowscentral.com/how-disa ... st-startup.

User avatar
rickyraccoon
Posts: 32
Joined: Wed Mar 30, 2022 1:14 am

Re: NTFS partition mounts read-only

#3 Post by rickyraccoon »

Mine's locked read-only as well- I run dual boot on separate SSDs. I thought I'd changed my Windoze off Fast-Boot, but I'll go back in there today and double check. Seemed to me at one time that always did the trick, but not so sure it's working anymore.

User avatar
texchuck
Posts: 30
Joined: Fri Dec 28, 2007 2:36 pm

Re: NTFS partition mounts read-only

#4 Post by texchuck »

I disabled fast start when I installed Linux. For some reason, there was no problem until today. I will try booting with Windows and ensure it didn't change back. Thanks for the thought.

Huckleberry Finn

Re: NTFS partition mounts read-only

#5 Post by Huckleberry Finn »

If still not: Shift + Power off when closing windows (and try again on MX).

If not again: https://forum.mxlinux.org/viewtopic.php ... 55#p660155

User avatar
texchuck
Posts: 30
Joined: Fri Dec 28, 2007 2:36 pm

Re: NTFS partition mounts read-only SOLVED

#6 Post by texchuck »

I verified that fast startup is still disabled. However, the shift + power down idea worked when I rebooted to MX. Not sure if that was the fix or I had the luck of the draw. But it likely unblocked something. Looks like a Microsoft poison pill after all.

Huckleberry Finn

Re: NTFS partition mounts read-only

#7 Post by Huckleberry Finn »

Thank you for trying to mark the thread as solved, but you need to do it like this, with 1 click on the solution post :
You do not have the required permissions to view the files attached to this post.

User avatar
dolphin_oracle
Developer
Posts: 22140
Joined: Sun Dec 16, 2007 12:17 pm

Re: NTFS partition mounts read-only

#8 Post by dolphin_oracle »

fwiw, if there is a windows update is due to be installed upon reboot, ntfs devices get locked until the update is done.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
texchuck
Posts: 30
Joined: Fri Dec 28, 2007 2:36 pm

Re: NTFS partition mounts read-only

#9 Post by texchuck »

Interesting bit of information about why Windows would lock the drive.

User avatar
rickyraccoon
Posts: 32
Joined: Wed Mar 30, 2022 1:14 am

Re: NTFS partition mounts read-only SOLVED

#10 Post by rickyraccoon »

texchuck wrote: Tue Apr 26, 2022 4:33 pm I verified that fast startup is still disabled. However, the shift + power down idea worked when I rebooted to MX. Not sure if that was the fix or I had the luck of the draw. But it likely unblocked something. Looks like a Microsoft poison pill after all.
Well I checked that I didn't have fast booting. Tried the shift key thing and didn't work for me- not that I cared that much about it but I got curious.

Post Reply

Return to “Software / Configuration”