Skip to content

Instantly share code, notes, and snippets.

@Lazhari
Created October 11, 2015 21:15
Show Gist options
  • Save Lazhari/4a764aa2b6b7794e4e14 to your computer and use it in GitHub Desktop.
Save Lazhari/4a764aa2b6b7794e4e14 to your computer and use it in GitHub Desktop.
wrong fs type, bad option, bad superblock on /dev/sdaX

Error

wrong fs type, bad option, bad superblock on /dev/sdaX,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so

Solution

$ sudo fsck -f -y /dev/sdaX
@creepymf
Copy link

Had same issue when attempting to mount an ISO image with rhel8.
It seems that the install was botched also the USB image.
Solution : download fedora media writer ( and in my case re-download the Linux version ).
Create a new boot usb ( or DVD, whatever floats your boat ).
Re-install the OS.
It worked wonders for me after 2 days of headache with this error :D

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