My partitions don't open

Mano aamer

Honorable
Nov 2, 2012
54
0
10,630
Hi guys ,
I installed ubuntu 13.04 sausy salamander on my PC
It was working really good but after sometime some errors began to happin
and the worst one is that when i try to open any of my partitions it tells me this message

Unable to access “Local Disk”
Error mounting /dev/sda2 at /media/mano/Local Disk: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/mano/Local Disk"' 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.

I don't know what to do
I installed a lot of apps and i don't want to lose them
can any one please help me ?
 
Solution
Just add option "ro" to mount command

Mount command looks like
sudo mkdir /mnt/usbdrive
sudo mount /dev/sda1 /mnt/usbdrive -o ro


IT TELLS YOU WHAT TO DO
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.
How much more clear can an error message be?

 

Mano aamer

Honorable
Nov 2, 2012
54
0
10,630


and how can i mount the the volume read only ?
 

stillblue

Honorable
Nov 30, 2012
1,163
0
11,660
This is a good exercise in command line but booting to windows and shutting down correctly will probably be easier to remember in the future and allow you full access. Try the command line first to gain experience but get in the habit of closing windows correctly.