How to fix Windows (NTFS) file system cannot be mounted due to hibernation on Ubuntu, Debian and Kali Linux

This problem is very common when Windows users use Ubuntu dual boot. Sometimes, when you start Ubuntu, Debian, or any of its derivatives, you may receive a “message that the Windows partition cannot be mounted” and you must choose to wait, skip or manually mount the partition.

I have a workable solution to this error. It is easy to use and attractive. This is a short tutorial.
For this fix, we will use ntfsfix. Ntfsfix is ​​a utility that can solve some common NTFS issues. ntfsfix is ​​not the Linux version of chkdsk. It only repairs some basic NTFS inconsistencies, resets the NTFS log files, and schedules an NTFS consistency check to boot into Windows for the first time.
1) First use gparted or only lsblk to determine the mount point of the partition that cannot be mounted.

 # sudo lsblk

If you want to use gparted and are not currently installed on your system, you can install it in the following ways:

# sudo apt-get install gparted

Then start it with command

# gparted

How to fix Windows (NTFS) file system cannot be mounted due to hibernation on Ubuntu, Debian and Kali Linux

It will appear as / dev / sdax or / dev / sdbx, etc. Note the partitions to be repaired.
2) Now fix the error by executing the following command without booting into Windows

# sudo ntfsfix /dev/sda2

In the above example, my hibernation partition is / dev / sda2. Replace it with the appropriate partition.
If you want to achieve this in a Windows environment, the easiest way is to turn off hibernation completely. Open an elevated command prompt (right-click the shortcut, click Run as administrator), and type:

powercfg /h off

That’s it. Check out the video below.

Sidebar