1

I have one SSD disk with installed Windows 10 and Ubuntu 20.04 on the same disk. I also have the second HDD drive with NTFS filesystem which should be shared between Windows and Ubuntu. I put the entry to /etc/fstab to automatically mount the HDD disk, however it is mounted in read only. If I run “ntfsfix /dev/sdb2” and reboot Ubuntu - the disk is mounted in RW mode as I want.

However, if I use Windows (just boot it and shutdown) and after that boot Ubuntu - I have the same error with HDD - it is not mounted in RW, and in read only mode. So I again need perform “ntfsfix”, reboot Ubuntu.

Is there any way to fix this error permanently? I know that it is possible to perform “ntfsfix” during the every Ubuntu boot, but this solution seems to me not elegant. Turning off the Hybernate on Windows seems not the solution as the HDD is not system, and not used by Windows system.

The HDD volume I mount is not system, it is just for data/media files. The HDD has 3 partitions (two small unallocated and unformatted 1mb and 45mb before and after the main partition, and one main partition /dev/sdb2 with the whole disk space)

Drg
  • 11

1 Answers1

0

Finally I understood that the reason was in Windows, not in Ubuntu. I thought that the windows hibernation affects only the system partition, however it affects ALL the ntfs partition viewed by Windows.

So the solution is to turn-off the hibernation in Windows:

powercfg -h off

After this command in Windows, the ubuntu will mount all ntfs partition in rw mode. So, this is the solution not just for sindows system partition, but for all ntfs partitions "touched/viewed" by windows with active hibernation. Thanks to @Serafim-Dahl for his helping comments

PS. The similar solution for windows system partition is here: Unable to mount Windows (NTFS) filesystem due to hibernation

Drg
  • 11