Tag: mount

Fix mount issues Linux and Windows 8 NTFS

Windows 8 has a option that you can boot faster. It stores (hibernates) your system. Sometimes Linux can’t mount your local disks and it will give you this kinda error:

Unable to mount location

Error mounting /dev/sda2 at /media/pieter/DATA: Command-line `mount -t “ntfs” -o “uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177” “/dev/sda2” “/media/pieter/DATA”‘ 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/sda2’: 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.

What worked for me was to disable the “fast start” option in windows 8.

1. Open Control Panel and choose Power Options.
2. Click on “Choose what the power buttons do”.
3. Click on “Change settings that are currently unavailable”.
4. Uncheck “Turn on fast startup (recommended)”.

If you want to try some more options this page might help you:

http://www.hecticgeek.com/2013/01/mount-windows-8-partition-ubuntu-hybrid-boot/

 

 

Mounting a network hd

Make the mount folder

Add the network drive to fstab:

//192.168.0.10/HDDShared /mnt/nethdd cifs auto,password= 0 0

Mount it

Ok that worked as long as you want to have it read only..
Tried some other things to get it read/write..

This seems to work for now:

fstab:

remount withour rebooting: