Sunday, 22 March 2015

UNABLE TO MOUNT DISK DRIVE ON LINUX

This is the usual question often arises while using any of the distribution of the linux with having multiboot Windows OS. You sometimes do not able to mount your NTFS partitions drives.They shows you a weird message which newbie (like me) get tucked at.
Today, I am going to explain you why this problem arises and how to recover this problem. 

What is Mount Point? 

First of all we have to understand what a mount point is. The mount is a starting index of any of the drive which OS keeps the record of so that your logical partitions can accessed. Usually, the OS's automatically keep of it. 

Unable to Mount Volume

Screen Shot of my Drive

This situation start arise when you use Linux along with any of the Linux distributions. Often you see Honduras message like this :

Error mounting /dev/sda5 at /media/shivamnema05/6A8086238085F63B: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/shivamnema05/6A8086238085F63B"' 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/sda5': 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.



This problem arises with some latest versions of the windows, more precisely windows 8 or 8.1. This is due to the Fast Startup feature of Windows 8 and after. It helps Windows to boot faster. i.e., it starts fast and shutdown a little faster.
In normal shut down process power is removed form all components such as CPU, RAM, CD-Rom and hard disks. But in fast start up, Windows 8 saves some system information such as caching the registry etc to a file during shutdown. Part of the metadata about the state of all mounted partitions at the time of turn off is among these system information. This reduces the boot time of the Windows 8 and it creates the trouble for Ubuntu.

Since the information about the NTFS partition is stored in Windows 8, this prevents Ubuntu to mount them as mounting them in Linux will alter the metadata of the partitions. This is why it is in protected mode and you cannot mount it (without being root).




Solution : How to mount Disk partition?



The answer to this is quite easy. You just have perform few simple steps to get rid to this mighty looking problem. Just follow this simple steps :

  1. Open the Terminal in your Linux Distro. 
  2. Type, sudo ntfsfix /dev/sdXY 
  3. replace XY with the partion index. You can easily figure it out with you error message. 
  4. Enter your root password. 
  5. Thats it. You're done. 


Please try to leave comment in case you face some problem(s), try to add screenshots too.


No comments:

Post a Comment