Skip to content

Instantly share code, notes, and snippets.

@cyrillkuettel
Last active March 21, 2022 21:02
Show Gist options
  • Save cyrillkuettel/8e9040ad67d0b1f8469468a7785eaaad to your computer and use it in GitHub Desktop.
Save cyrillkuettel/8e9040ad67d0b1f8469468a7785eaaad to your computer and use it in GitHub Desktop.
Mount Windows parition from linux live system

Edit Files on windows partition from linux

If you've tried to edit windows files from linux, you might have encoutered the issue when trying to write to ntfs file system.

Read-only file system.

1.) First, we need to disable hibernation. Boot into your windows System. Open a cmd as Admin, and run powercfg /h off 2.) Shutdown windows. Then boot from the linux system you wish to access the windows partition. Run these commands to mount the windows partition.

sudo mkdir /mnt/ntfs2
sudo mount -t ntfs-3g -o windows_names /dev/sda3 /mnt/ntfs2/

(where /dev/sda3 has to be substituted for your block device and /mnt/ntfs2 for your destination)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment