Skip to content

Instantly share code, notes, and snippets.

@ijasxyz
Created September 27, 2018 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijasxyz/19d16743fdca52eac3dcee53c323322a to your computer and use it in GitHub Desktop.
Save ijasxyz/19d16743fdca52eac3dcee53c323322a to your computer and use it in GitHub Desktop.
sudo -i # to continue as root
df -Th #list devices
umount {path_to_the_readonly_device}
dosfsck {filesystem_path}
#repair any bad sectors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment