Skip to content

Instantly share code, notes, and snippets.

@salehi
Last active December 7, 2025 23:10
Show Gist options
  • Select an option

  • Save salehi/fbf2c8ba56304af4b4b4b6fe2fff3312 to your computer and use it in GitHub Desktop.

Select an option

Save salehi/fbf2c8ba56304af4b4b4b6fe2fff3312 to your computer and use it in GitHub Desktop.

Fix Windows 11 NTFS Read-Only Mount in Linux

Problem

Windows disk mounts as read-only in Linux due to Windows Fast Startup leaving the filesystem in a hibernated state.

Solution: Disable Windows Fast Startup

Method 1: Control Panel (Recommended)

  1. Open Control Panel
  2. Go to Power Options
  3. Click Choose what the power buttons do (left sidebar)
  4. Click Change settings that are currently unavailable (requires admin)
  5. Uncheck Turn on fast startup (recommended)
  6. Click Save changes
  7. Restart Windows

Method 2: PowerShell (Quick)

Run PowerShell as Administrator:

powercfg /h off

This disables hibernation completely (also disables Fast Startup).

Method 3: Registry (Fast Startup only)

If you want to keep hibernation but disable Fast Startup:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f

Restart Windows after running this.

Fix Already Read-Only Mount in Linux

If the disk is already mounted as read-only:

# Unmount the disk
sudo umount /media/salehi/EA5CA8965CA85F57

# Create mount point if needed
sudo mkdir -p /media/salehi/EA5CA8965CA85F57

# Remove hibernation file and mount
sudo ntfs-3g -o remove_hiberfile /dev/nvme0n1p3 /media/salehi/EA5CA8965CA85F57

# Verify it's writable (should show 'rw')
mount | grep EA5CA8965CA85F57

Permanent Auto-Mount (Optional)

Add to /etc/fstab:

/dev/nvme0n1p3 /media/salehi/EA5CA8965CA85F57 ntfs-3g rw,uid=1000,gid=1000 0 0

Replace 1000 with your actual user/group ID from id -u and id -g.

Verify Fix

After disabling Fast Startup in Windows:

  1. Shut down Windows (not restart)
  2. Boot into Linux
  3. Mount should now be read-write automatically

Notes

  • Fast Startup is NOT a full shutdown - it hibernates the kernel
  • Always use "Shut down" not "Restart" when switching to Linux
  • Disabling Fast Startup slightly increases boot time but is negligible on SSDs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment