4

Upon clicking the windows partition in nautilus, i get this error thrown at me.

Error mounting /dev/sda4 at /media/zalgo/D8649C54649C36EA: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda4" "/media/zalgo/D8649C54649C36EA"' exited with non-zero exit status 14: 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.

I do not have fast boot or hibernation enabled on windows, if there are any commands that i should post the output of to help, please comment that.

This is not a duplicate of How can I access windows 10 partition in ubuntu when i cant get it to shut down in a "safe state"?, as the solution used there does not work here.

Zalgo
  • 482

4 Answers4

8

The solution I found that worked was a program called ntfsfix.

Install ntfs-3g with:

sudo apt-get install ntfs-3g

Then run the ntfsfix command on your NTFS partition.

For example:

ntfsfix /dev/sda4
Zalgo
  • 482
5

This seems to be an issue with windows 10. In windows 10 the kernel and the drivers hibernate by default even when you shutdown the system. To disable this, do the following.

  • Open control panel.(win key + r. Type control and hit enter)

  • While in icons view, click on System and Security then power options.

  • Click on Choose what the power buttons do on the Left hand side.

  • Uncheck turn on fast startup. (you may need to press change settings that are currently unavailable before this)

  • Click on save changes.

Ceda EI
  • 2,070
1

Boot into Windows 10. Open a command terminal in administrative mode. If sda4 is your only Windows partition, type:

chkdsk c:/f

and approve your desire to run that at the next reboot of Windows. Reboot Windows now. Once done, you should be able to mount the partition in Ubuntu.

If you have other Windows partitions that you are trying to mount in Ubuntu, change the c: in the above command to the correct drive letter.

rubo77
  • 34,024
  • 52
  • 172
  • 299
heynnema
  • 73,649
-2

Well, it appears that your ntfs partition has problems! Possibly physical damage on disk. If you have a initialization device I suggest you try to use it to enter in administration mode and try to run something from Windows to fix the disk problem at first. After that, reinstall Windows and restore your Linux bootloader(grub or whatever) or you can reinstall Linux(after fix and/or reinstall Windows) without to format all system(depends how you organized your partitions).