Ubuntu 16.04.2 sees NTFS partition as unsafe

Asked by Zoltan The G

TLDR: If windows 10 hybrid sleep is enabled, the NTFS partition is _always_ seen as unsafe, even though it is not in an unsafe state.

Dual boot Kaby Lake i7. NVMe and SATA m.2 SSDs.

SSD #1 has Win 10 Pro 64 on it. SSD #2 has live 16.04.2 (ISO contents copied to FAT32 partition). Live Ubuntu is there for cases when Window soils itself, and to use grub2 to boot Acronis and other tools. I don't use an installed Ubuntu since I need that partition to be fAT32.

I need windows hybrid sleep because power outages are frequent where I live. A UPS helps but it can't wake a sleeping PC to start an orderly shutdown.

Even after windows restart, full shutdown, or with fast start turned off Ubuntu won't mount the windows partition. "... the NTFS partition is in an unsafe state...".

If I turn off hybrid sleep then Ubuntu will mount the NTFS partition in the above cases. Even after windows sleep/wake and hibernate/restore.

Something about hybrid sleep is causing Linux to incorrectly think that the NTFS partition is unclean. 16.10 does not have this problem but brings on other issues as reported here: https://answers.launchpad.net/ubuntu/+question/548736

I need to get one or the other of these versions to work correctly, both for my local desktop PC requirement and because I also use Ubuntu (&grub2) as the basis for multi-boot flash drives I use for forensics and recovery.

Thanks all,
Bill

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you boot to Windows and run a full chkdsk then shut the system down it will help. If the NTFS is not in a consistent state then Linux won't touch it due to being a proprietary file system.
This also occurrs if you hibernate the system it will also cause this.

Revision history for this message
Zoltan The G (wdw) said :
#2

Thanks. That doesn't make any difference, as I expected.

As best I can tell the windows file system is in a consistent state. So far 14.10 and 16.04.2 think it is inconsistent.

16.10 doesn't - _but this is concerning_: I've tested booting 16.10 when windows is hibernated and after "shut down" with fast startup enabled. 16.10 doesn't complain and mounts the ntfs partition. That's not good either :(

Again, hibernation and sleep don't cause a problem with 16.04.2 as long as things are properly shut down. Enabling hybrid sleep does.

I have no way to judge whether windows is leaving some consistency flag in an incorrect state or linux is misinterpreting filesystem state.

Can you help with this problem?

Provide an answer of your own, or ask Zoltan The G for more information if necessary.

To post a message you must log in.