Hello,
I have a desktop machine with windows and Linux (I swap the drives so I don’t have a dualboot).
I also have a third drive permanently installed so I can use the same data in both operating systems. This drive is a NTFS drive, but if I want to mount it I get the following error message:
[man@man-allseries ~]$ sudo mount -t ntfs /dev/sda1 /mnt
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only
After I type the following, I can properly mount it:
sudo ntfsfix /dev/sda1
Is this the correct method, or will I break something in the long run?
Can i properly mount it in fstab?
The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting.)
If I remember correctly this issue arises when there is a hiberfil.sys file put by Windows on NTFS partitions. You could boot into Windows and try to delete this file and perform a proper shutdown.
Here is one article how-to:
Yes. I checked it with: pacman -Qi ntfs-3g
And I dont get an error.
I also found that I should shutdown while pressing the shift key, with shutdown \s \f or disable fastboot.
I will try them in that order but I dont want to disable fastboot for obvious reasons.
If you go into Windows and turn off the fast start up feature which uses hiber file. I think you won’t have this issue. This is not the fast boot feature in the Bios. This is in Windows under power options.
Yes,
here are more options:
shutdown while pressing the shift key, with shutdown \s \f or disable fastboot.
I will try them in that order but I dont want to disable fastboot for obvious reasons.