So, today I thought it would be clever to take some leftover free space from my hard drive and create a partition I could share between Linux and Windows, as I know that Windows is "protective" of it's system partition due to the Fast Startup system.
However Windows apparently had a different idea in mind.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda4': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
While I know this may be remedied by disabling Fast Startup, I would like to avoid doing so.
By using nftsfix I was able to get the partition mounted in RW mode.
Long Story Short:
Is it possible to prevent Windows from keeping a disk's Metadata in it's cache?
If not, how can I setup Linux to run nftsfix on the partition then mount it (preferably with fstab), and would any data be lost using this method?
EDIT: The main reason I wish to keep Fast Startup in tact is due to Startup times. I need to be able to switch to Windows and back quickly in my work setting, sometimes several times in an hour.
Fast Startup? We have successfully resolved this issue before: http://superuser.com/q/1152001/650163 The article I referenced outlines the potential disadvantages: The Pros and Cons of Windows 10’s “Fast Startup” Mode – Run5k Feb 07 '17 at 17:35Fast Startupfunction rather thoroughly on our network. In my opinion, the cold startup speed difference with/withoutFast Startupenabled really isn't that dramatic, and our conclusion is that the minimal time savings (several seconds) on a modern computer wasn't worth the potential drawbacks: dual-boot problems like this one, a wireless NIC that won't initialize, etc. – Run5k Feb 07 '17 at 17:56