I have a Windows HDD attached to an external docking bay on my Ubuntu System, but the HDD brings up an error message:
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, 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/sda5 /media/92441EC8441EAF4B
I am at a loss for exactly how to remove the hiberfile, or even mount it as read-only or read-write. I tried directly copy and pasting that exact command into my terminal, but it said:
mount:only root can do that
I do not know what to do at this point. I do need to get the information off of this drive, but I do not have a computer to put it in. Does anyone know what I should do from here?
You need to use sudo before the command it gave you. So typing the following in a terminal should work.
Running this will delete the hibernation file, which as I understand it will not damage Windows, but will delete any hibernated session that you have saved. If you were working on something in Windows that you did not save before you hibernated you will lose your work if you run this command!
If you understand the above, the command you should run is: