Created
May 6, 2017 19:16
-
-
Save ashkanRmk/74d7ac2dc74bff35a90bf238275483ad to your computer and use it in GitHub Desktop.
Script for fixing unmounted drive in linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#You can Insert line of these code for each one of your HDD Drive | |
#Like this: sudo ntfsfix /dev/sd[NUMBER] | |
sudo ntfsfix /dev/sda6 | |
sudo ntfsfix /dev/sda5 | |
sudo ntfsfix /dev/sda3 | |
#If your windows has been hibernated You can't fix Drive C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment