How do I mount a hibernated partition with Windows 8 in Ubuntu?
Solution 1
You can not mount a hibernated partition (At least in a Read/Write state). The reason behind this is that if you happen to copy something from your Ubuntu system to the Window's hibernated system, it will be lost when you boot Windows.
This is actually a safety feature put by the mounting process in Ubuntu because many users complaint that when they copied something from Ubuntu to Windows, they lost the data. It later came to light, that the Windows system was hibernated, creating this problem because in hibernation, everything is frozen (The system is read only) and is not changed until you boot again from within Windows.
The recommendation as mentioned by the warning is to boot Windows 8 and shut the system correctly. not by hibernation, but by the shutdown option.
If you still want to mount the unit, it should be in a READ ONLY state. For this we could do the following:
sudo mount -o ro /dev/sda2 /mnt
Where ro is Read Only, /dev/sda2 is the partition you want to mount and /mnt is where you want to mount this partition.
Still I would go with going to Windows 8, shutting down the computer (No hibernation) and going back to Ubuntu and enjoy a warm and sweet moment with a Read/Write partition.
UPDATE: If your Windows 8 system always stays in a hibernated state, please read the section about TROUBLESHOOT in Installing Ubuntu Alongside a Pre-Installed Windows with UEFI . It covers the weird behavior "feature" Windows 8 offers to users automatically to make the system more confusing "better" for them.
Solution 2
Disclaimer: this must be run on your windows partition (inside CMD).
Shutdown Windows 8 with the following command:
shutdown /s /t 0
It worked for me. The partition was not anymore at hibernate state. Quite simple.
Related videos on Youtube
fitojb
I’m a translator. I have contributed to many open-source projects, mostly in the area of localization. I’m an official member of the Ubuntu project and The Document Foundation.
Updated on September 18, 2022Comments
-
fitojb over 1 year
I can't mount my other partition with Windows 8, I have Ubuntu 12.10 amd64:
Error mounting /dev/sda1 at /media/ricardo/003E8A7D3E8A6C0A: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda1" "/media/ricardo/003E8A7D3E8A6C0A"' exited with non-zero exit status 14: Windows is hibernated, refused to mount. Failed to mount '/dev/sda1': 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, or mount the volume read-write with the 'remove_hiberfile' mount option. For example type on the command line: mount -t ntfs-3g -o remove_hiberfile /dev/sda1 /media/ricardo/003E8A7D3E8A6C0A
-
Admin about 11 yearsHow did you turn off the Windows in the last time? Have you tried to resume and shutdown Windows properly as stated in your output? Have you tried using the suggested command?
-
Admin almost 11 yearsI think you will have to disable the fast startup feature in Windows. Check the link below, that answer covers how to do this. askubuntu.com/a/291870
-
Admin almost 9 yearsTry restarting instead of shutdown.
-
Admin over 7 yearsIn my case the disk came from a broken PC, so restarting Windows was not an option. I simply followed the instructions in the error message, adding ro (read-only) to the list of options (-o "ro,..."), after creating the directory for the mountpoint (all with sudo).
-
-
Gabriel Southern about 11 yearsthe problem is that even when you choose shutdown in Windows 8 it actually hibernates.
-
Luis Alvarado about 11 years@Gabriel updated answer. Should help you with the issue you mentioned.
-
FRD almost 11 yearsPlease specify that this should be run ON WINDOWS.
-
Alex almost 8 yearsHow will you execute this from Ubuntu?