3

I installed Ubuntu 13.04 alongside Windows 8 but when I want to access Windows drives I see this error massage:

Error mounting /dev/sda1 at /media/xalid/3A56A42656A3E0BD: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda1" "/media/xalid/3A56A42656A3E0BD"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda1': 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.

As a workaround I tried this:

mkdir /media/sd4
mount -t ntfs-3g -o ro /dev/sda1 /media/sd4

This allows me to access the partition, but I am unable to change anything on the drive since it was mounted as read only.

How can I access to my Windows drives whenever I login to Ubuntu?

Flyk
  • 1,480
  • 3
  • 18
  • 24
xalid
  • 33

3 Answers3

2

Windows 8, by default, hibernates instead of fully shutting down (read: to allow for fast boot). It's a pain but I believe if you tell windows to reboot into the special "Advanced Options" mode in the settings then you could potentially tell windows to shutdown fully. Check out this link to shut down your windows 8 pc fully (link to another question click here for their tutorial they found to disable fast boot).

Running the command mount -t ntfs-3g -o ro /dev/sda1 /media/sd4 makes it read only hence the ro. Change that command to mount -t ntfs-3g -o rw /dev/sda1 /media/sd4 for writing.

0

If you have exited windows it would normally automatically hibernate, despite setting it to shut down completely. That's windows for you.

So when you try to mount the windows partition in Ubuntu, it spots that it is hibernated and can't mount it.

I've found a workaround for this:

sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda4 /media/1830838530836898_

{Replacing the /media/18308etc with your own drive.}

Enter password.

I get a few moans and groans in error messages but can then click on the windows partition in Nautilus and see its contents.

Try that.

It's not perfect but I don't have to worry about shutting down windows properly, which isn't as easy as it should be.

0

I had the same error in my ubuntu desktop while accessing windows folder. what i did was, go to DISK folder, in that you will see all the partition for linux and windows.click onto windows partition, go to setting and choose Mount option. In that just tick the line which say mount at the beginning of booting your desktop. After this you can now access your windows file in ubuntu

sonam
  • 1