Skip to content

Instantly share code, notes, and snippets.

@NISH1001
Last active March 13, 2020 10:50
Show Gist options
  • Save NISH1001/8f97274969ec57ed4b6310c9d3eae5da to your computer and use it in GitHub Desktop.
Save NISH1001/8f97274969ec57ed4b6310c9d3eae5da to your computer and use it in GitHub Desktop.
linux-not-so-noob

IO Error, Bad Block / Superblock

  • first boot into live disk/usb
  • use smartmontools
  • make sure smart mode is on using smartctl
  • figure out which /dev/sdX partition has bad blocks
  • perfrom fschk -y /dev/sdX
  • see if /dev/sdX can be mounted using mount

Make sure you aren't doing fschk from initrmfs screen which is a fallback screen in case of kernel panic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment