Posts /

Mount a hibernated windows partition

Twitter Facebook Google+
09 Jul 2016

If you try to mount a Windows 8/10 who is used in a UEFI with hibernation mode you’ll have a bad time because in this mode windows is never really shutdown, windows put all the ram in a “hibernation file” and restore it to the ram when you power on, it speed up the boot and can restore your work.
But for some reason if you need to mount this partition on a linux (in my case sysrescuecd) mount will throw you an error like this one

Error mounting: mount exited with exit code 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda5': Operation not permitted
The NTFS partition is hibernated. Please resume and shutdown Windows
properly, or mount the volume read-only with the 'ro' mount option

You can mount it with read-only mode but if you really need write permissions on this one, you’ll need to remove the hibernation file.
It can’t break your windows but you’ll lose all your work you didn’t save before the “hibernation”.

ntfsfix /dev/sda5
mount -t ntfs-3g -o remove_hiberfile /dev/sda5 /tmp/windows

Have fun ! :smile:

Twitter Facebook Google+