I have an NTFS partition that's shared between Windows and Linux. This partition holds my linux home folder, so it's important that I can mount it in read-write mode, and that it is mounted before I log in.
I have disabled Windows fast boot so that it doesn't leave the partition in an "unsafe state", which linux either mounts in read-only mode or doesn't mount at all (with an error message like this). However, Windows crashes somewhat regularly, which also leaves the partition in an unsafe state.
I've more or less successfully used
ntfsfix to get around this, but that doesn't seem to be a real solution, because today it destroyed some of my files. (Causing an
[errno 5] input/output error error when I try to access them.)
I'm currently mounting the partition with this line in
UUID=78C806C74DE61D21 /mnt/data ntfs defaults,uid=rawing,rw 0 0
The problem with this is that it silently mounts the partition in read-only mode if it was left in an unsafe state. It usually takes me a few minutes to notice, which is very annoying.
So, my question is:
- Is it possible to leave the NTFS partition in a "safe" state, even if Windows crashes? (If there are alternatives to a NTFS-formatted partition, I'd be happy to hear them, but keep in mind that it has to hold my home folder)
- If no, is it possible to configure linux to mount the "unsafe" partition in read-write mode anyway; without risking data loss?
- If no, can I at least make linux display a warning like "Partition mounted in read-only mode!" so that I notice the problem right away?