Initially I was running Windows OS which had three partitions: C, D and E. I then installed Ubuntu 16.04 in 'C' (formatting it and wiping out windows). Now in my Ubuntu when I try to access my E drive I get this error:

Error mounting /dev/sda3 at /media/cyan/F428D28228D24372: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda3" "/media/cyan/F428D28228D24372"' 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/sda3': 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.

Please help me to retrieve my files. I have valuable information which I don't want to lose. 'c' 'D' and 'E' are partition of internal drive not external

i have no dual boot i am left with only one 'OS' that is ubuntu in 'C' drive.

marked as duplicate by Sumeet Deshmukh, David Foerster, user364819, Luis Alvarado May 22 '17 at 23:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • try the answer linked in the comment above, no need to retrieve data you'll be able to access your drive if everything goes as planned – Sumeet Deshmukh May 22 '17 at 18:37
  • No, don't run ntfsfix!! I'll post a more correct answer for you... – heynnema May 22 '17 at 19:18
  • This statement... "then installed ubuntu 16.04 in 'c'(formatting it)" isn't real clear. Did you wipe out Windows with a Ubuntu install to the same partition? – heynnema May 22 '17 at 19:23
  • @heynnema Why do you recommend to not run ntfsfix? – wjandrea May 22 '17 at 20:18
  • @wjandrea because all it does is to remove the hibernation file and clear any "dirty" bits in the file system... and if Windows saved anything in that file at shutdown, it'll be gone next boot into Windows. That could be a file loss, or a buffer loss, or gosh knows what else Windows might save there as the status of the system gets put there. If the user still has access to Windows in their dual-boot configuration, my answer is much safer. See David's link that follows. – heynnema May 22 '17 at 20:26

Update: #1

If you don't have Windows installed any more, and drive D: and E: are external drives, either connect those drives to another working Windows system and run the last two chkdsk commands shown in my answer, or, boot to a Windows install/repair disc and run chkdsk from there.

Update #2:

Go ahead and use the ntfsfix command on your E: drive, like so...

sudo ntfsfix /dev/sda3

If the NTFS drives are mounting as read-only, or not mounting at all, it's probably because Ubuntu thinks their filesystems are unclean, probably due to hibernation, or a damaged file system. Do this...

in Windows...

  • boot into Windows
  • open the Power control panel
  • choose change what the power buttons do
  • choose change options that are unavailable
  • uncheck fast startup
  • close the Power control panel
  • open an administrative command prompt window
  • type powercfg /h off
  • type chkdsk /f c:
  • approve to run chkdsk at next reboot
  • type chkdsk /f d:
  • type chkdsk /f e:
  • reboot into Windows to let chkdsk run on drive C:
  • Regarding your edit - OP could also use a Windows install/repair disc to run chkdsk. – wjandrea May 22 '17 at 20:53
  • 1
    @wjandrea Good idea. I'll add that info now. (I suspect that their E: drive was really an old C: system disk in its previous life). – heynnema May 22 '17 at 20:54
  • D and E arnt external its partition of one drive.and i dont have dual boot,i wiped out windows and installed ubuntu in 'c' drive.i am left with only one os that is ubuntu. – cyan May 23 '17 at 4:10
  • @cyan please see my Update #2. – heynnema May 23 '17 at 13:01
  • @heynnema #2 worked thank you very much. – cyan Jun 13 '17 at 6:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.