mount: wrong fs type, bad option, bad superblock on



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

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

    As can seen from the error message, it is a wildcard error, could mean a number of things. One common reason is, you are trying to mount the whole block device, but there are partitions below it.

    Do a quick check.

    # fdisk -l /dev/sdb
    Disk /dev/sdb: 64 GiB, 68719476736 bytes, 134217728 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: dos
    Disk identifier: 0x000419c0
    
    Device     Boot     Start       End   Sectors  Size Id Type
    /dev/sdb1  *         2048 132120575 132118528   63G 83 Linux
    /dev/sdb2       132122622 134215679   2093058 1022M  5 Extended
    /dev/sdb5       132122624 134215679   2093056 1022M 82 Linux swap / Solaris
    

    Here it shows that there are three partitions, and mounting /dev/sdb1 worked fine.



© Lightnetics 2024