Cannot remove hiberfile on NTFS partition
Solution 1:
I had same problem. Try:
ntfsfix /dev/sda5
remove_hiberfile
option no longer works.
ntfs-3g
package policy is to use the new tool ntfsfix
.
However, this tool didn't work for me either. So I plugged the hard disk in a Windows machine, turned off "Fast Startup" in power button options from within Windows, then shutdown and replaced back the HDD in my Ubuntu machine.
I found about it here: Using Ubuntu To Delete hiberfil.sys From Unbootable Win 8.1
Solution 2:
Moving the -o
to the end worked for me:
mount -t ntfs-3g /dev/sda5 /mnt/win -o remove_hiberfile
(Ubuntu 16.04 live cd and a vanilla windows 7)