I have a Raspberry Pi 3 that I've set up to be used an Icecast stream source to send the audio from an upcoming music festival to our community radio station for rebroadcast.
It was working perfectly, but I managed to corrupt the SD card (long story, irrelevant to what I'm dealing with now).
Fortunately I had a backup/clone SD card and it worked. I used dd (in Linux) to make an image of that card to my computer hard drive, and cloned a new SD card from it. It worked, too. Just to play it safe (or to show how dimwitted I can be), I copied back the image from the working SD card and overwrote the previous image on my hard drive.
But now that working card, and all the cards I make from that image, don't boot. I get a little blinky green light on the Pi's PCB. If I put the cards into my linux computer, it only mounts boot. I get these errors:
Code: Select all
undefinedUnable to mount root: Error mounting /dev/sdb7 at /media/jack/root: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb7" "/media/jack/root"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb7,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or soundefinedCode: Select all
Unable to mount 1.3 GB Volume: Error mounting /dev/sdb1 at /media/jack/6436-3031: Command-line `mount -t "vfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush" "/dev/sdb1" "/media/jack/6436-3031"' exited with non-zero exit status 32: mount: /dev/sdb1: can't read superblockCode: Select all
Unable to mount SETTINGS: Error mounting /dev/sdb5 at /media/jack/SETTINGS: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb5" "/media/jack/SETTINGS"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or soCode: Select all
[18649.104968] sd 20:0:0:0: [sdb] Attached SCSI removable disk
[18650.149816] EXT4-fs (sdb5): ext4_check_descriptors: Block bitmap for group 0 not in group (block 6321408)!
[18650.149829] EXT4-fs (sdb5): group descriptors corrupted!
[18650.415073] FAT-fs (sdb1): error, fat_get_cluster: invalid cluster chain (i_pos 1)
[18650.415085] FAT-fs (sdb1): Filesystem has been set read-only
[18650.503837] FAT-fs (sdb6): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[18650.715068] EXT4-fs (sdb7): ext4_check_descriptors: Inode bitmap for group 0 not in group (block 709303602)!
[18650.715082] EXT4-fs (sdb7): group descriptors corrupted!