6

I'm trying to mount a Windows 10 partition on Fedora 23, with read-write permitions (but the same problem occurs on Linux Mint 17.3 and Ubuntu 15.10), but everytime I get this message:

$ sudo mount /media/windows
Windows is hibernated, refused to mount.
Failed to mount '/dev/sda2': Operação não permitida
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

This is how my /etc/fstab file looks like:

#
# /etc/fstab
# Created by anaconda on Fri Dec  4 18:50:21 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=b9fe99a1-3a93-4cca-8fa1-0ab62fb8d134 /                       ext4    defaults        1 1
UUID=6E0C67260C66E913   /media/windows          ntfs    default,rwx      0 0
UUID=2E0A29CB533416A0   /media/finger           ntfs    default,rwx     0 0

Now, I know there are a lot of questions around Superuser, Ask Ubuntu and other SE variants about the same subject, but there's a difference here:

I have already disabled the fast startup "feature" from Windows 10, avoiding the partial hibernation, have properly shut it down and restarted, but the partition is still locked in hibernation. This problem persists through every Linux distribution, they can't mount the Windows partition.

What should I do to fix this problem?

EDIT:

I want to be able to put Windows 10 in hibernation mode when I want to. I don't want to completely disable hibernation. I was always able to do so on Windows 7, so what changed on Windows 10 that the partition is always in hibernation lock after a full shutdown without fast startup?

3 Answers3

3

Disable hibernate by powercfg -hibernate off
For details, see http://www.tenforums.com/tutorials/2859-hibernate-enable-disable-windows-10-a.html

1

itimees gave me the hint I needed:

Hold the Shift key down while selecting Shutdown from the Windows Login power menu option.


#Ignorable_Background

My task was to reset a lost password on a Windows computer. I could boot to Linux from a USB, but the Windows, NTFS volume would only mount in read-only as version 10 of Windows usually hibernates on shutdown. This prevented me from clearing the user's password in the read-only SAM file.

Since I didn't have the password, I could not use the other answers here to clear the hibernation file or turn off hibernation upon shutdown, ...

Another post recommended sudo ntfs-3g -o remove_hiberfile /dev/sdXN /path/to/mount, run from the Linux terminal, but this did not work since the Windows Volume could only be mounted in read-only mode, no file changes could be made.

itimees' hint (above) let me know that I could hold the Shift key down on the Windows computer when I Shutdown from the power menu option on the Windows Login screen. This then performed the needed full (no hibernation) shutdown. The Windows Volume was then able to mount in read‑write mode from the Linux boot and the user's password was then able to be cleared.

ergohack
  • 131
0

In the terminal:

sudo mount UUID=<uuid> /mnt/mount_point -t ntfs -o rwx,remove_hiberfile

Or in the /etc/fstab file:

UUID=<uuid>   /media/username/SSD_disk  ntfs    rwx,remove_hiberfile    0       0
fab
  • 1