Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:ntfsfix [2012/08/26 19:22] (current)
Line 1: Line 1:
 +====== Fix Unclean NTFS ======
  
 +===== Problem =====
 +
 +If you got an error message when you do pmount NTFS via command-line or file manager<​code>​$ pmount /​dev/​sda1</​code>​
 +<​code>​$LogFile indicates unclean shutdown (0, 1)
 +Failed to mount '/​dev/​sda1':​ Operation not supported
 +Mount is denied because NTFS is marked to be in use. Choose one action:
 +
 +Choice 1: If you have Windows then disconnect the external devices by
 +          clicking on the '​Safely Remove Hardware'​ icon in the Windows
 +          taskbar then shutdown Windows cleanly.
 +
 +Choice 2: If you don't have Windows then you can use the '​force'​ option for
 +          your own responsibility. For example type on the command line:
 +
 +            mount -t ntfs-3g /dev/sda1 /media/sda1 -o force
 +
 +    Or add the option to the relevant row in the /etc/fstab file:
 +
 +            /dev/sda1 /media/sda1 ntfs-3g force 0 0
 +$LogFile indicates unclean shutdown (0, 1)
 +Failed to mount '/​dev/​sda1':​ Operation not supported
 +Mount is denied because NTFS is marked to be in use. Choose one action:
 +
 +Choice 1: If you have Windows then disconnect the external devices by
 +          clicking on the '​Safely Remove Hardware'​ icon in the Windows
 +          taskbar then shutdown Windows cleanly.
 +
 +Choice 2: If you don't have Windows then you can use the '​force'​ option for
 +          your own responsibility. For example type on the command line:
 +
 +            mount -t ntfs-3g /dev/sda1 /media/sda1 -o force
 +
 +    Or add the option to the relevant row in the /etc/fstab file:
 +
 +            /dev/sda1 /media/sda1 ntfs-3g force 0 0</​code>​and similar error message occured when you mount even with root priviledge<​code>​$ sudo mount -t ntfs /dev/sda1 /​media/​drive0/</​code>​
 +<​code>​$LogFile indicates unclean shutdown (0, 1)
 +Failed to mount '/​dev/​sda1':​ Operation not supported
 +Mount is denied because NTFS is marked to be in use. Choose one action:
 +
 +Choice 1: If you have Windows then disconnect the external devices by
 +          clicking on the '​Safely Remove Hardware'​ icon in the Windows
 +          taskbar then shutdown Windows cleanly.
 +
 +Choice 2: If you don't have Windows then you can use the '​force'​ option for
 +          your own responsibility. For example type on the command line:
 +
 +            mount -t ntfs-3g /dev/sda1 /​media/​cdrom0/​ -o force
 +
 +    Or add the option to the relevant row in the /etc/fstab file:
 +
 +            /dev/sda1 /​media/​cdrom0/​ ntfs-3g force 0 0</​code>​
 +
 +===== One of The Solution =====
 +
 +<​code>​$ ntfsfix /​dev/​sda1</​code>​
 +
 +<​code>​Mounting volume... FAILED
 +Attempting to correct errors...
 +Processing $MFT and $MFTMirr...
 +Reading $MFT... OK
 +Reading $MFTMirr... OK
 +Comparing $MFTMirr to $MFT... OK
 +Processing of $MFT and $MFTMirr completed successfully.
 +Setting required flags on partition... OK
 +Going to empty the journal ($LogFile)... OK
 +NTFS volume version is 3.1.
 +NTFS partition /dev/sda1 was processed successfully.</​code>​
 
doc/ntfsfix.txt ยท Last modified: 2012/08/26 19:22 (external edit) · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki