I just removed my windows 8 partition, but not ubuntu (Raring) will not let me mount a ntfs partition I was using as a shared space. Here is the error:
Error mounting /dev/sda3 at /media/john/Storage: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda3" "/media/john/Storage"' 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.
Since I am going to be formatting the entire HD into one Ubuntu partition anyways, I don't want to go through the the effort of re-installing windows just to get rid of this problem. I plan on just mounting the partition long enough to copy all of the data onto an external HD (I realize now that I should have done that first). And so, all I need is to mount it as read-only. I wasn't sure of the proper syntax to do this so i did some searching and the command I found was:
sudo mount -r /dev/sda3
But this only gives me:
mount: can't find /dev/sda3 in /etc/fstab or /etc/mtab
Here are my
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 / was on /dev/sda5 during installation UUID=fcf93aca-d3f2-4c39-b9b3-8c822a8585bc / ext4 errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=5153367d-a9d6-4754-89ee-54a73a384f07 none swap sw 0 0
/dev/sda5 / ext4 rw,errors=remount-ro 0 0 proc /proc proc rw,noexec,nosuid,nodev 0 0 sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0 none /sys/fs/cgroup tmpfs rw 0 0 none /sys/fs/fuse/connections fusectl rw 0 0 none /sys/kernel/debug debugfs rw 0 0 none /sys/kernel/security securityfs rw 0 0 udev /dev devtmpfs rw,mode=0755 0 0 devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0 tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0 none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0 none /run/shm tmpfs rw,nosuid,nodev 0 0 none /run/user tmpfs rw,noexec,nosuid,nodev,size=104857600,mode=0755 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0 gvfsd-fuse /run/user/john/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,user=john 0 0 /dev/sdb1 /media/john/58E2-D9F7 vfat rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelp>er=udisks2 0 0 /dev/sdc1 /media/john/iPod\040Storage fuseblk rw,nosuid,nodev,allow_other,default_permissions,blksize=4096 0 0
I have no idea what I am doing in this particular domain of Ubuntu (I'm getting to be relatively competent at many other things, but I don't want accidentally to end up making the whole HD unbootable). So if someone can give me any solution that will allow me to simply copy my data, I would greatly appreciate it!
I've tried both methods (with -o uid=1000,gid=1000 and without) but I still get the error:
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.
I actually go excited because I hadn't thought to try and use nautilus, but that still didn't work (which should have been obvious because it still isn't mounted). Thanks so much for trying though!