TeNNoX
Posts: 3
Joined: Wed Mar 05, 2014 6:09 pm

superblock error, unable to boot

Wed Mar 05, 2014 6:21 pm

My Raspberry Pi was used as a webserver untill it just went offline... When I checked the output via HDMI this came up:

Image

I then tried to fix the issue by booting another linux on my laptop, putting in the SDCard and then using fsck to fix the error...
fsck said something like unknown magic value and bad superblock...

e2fsck with the backup superblock positions from
"mke2fs -n /dev/mmcblk0p2" did not work either (mke2fs did not work with mmcblk0 or mmcblk0p1!)

User avatar
DougieLawson
Posts: 35137
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: superblock error, unable to boot

Wed Mar 05, 2014 7:42 pm

Time to build a new SDcard from your archived backup.
The one you've got appears to be worn out.

When you've rebuilt a fresh one get the latest firmware and software packages.

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
sudo reboot

Then create a fresh archived backup.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

TeNNoX
Posts: 3
Joined: Wed Mar 05, 2014 6:09 pm

Re: superblock error, unable to boot

Fri Mar 07, 2014 6:36 am

Is the SDCard broken or can I just reformat it and reuse it?

User avatar
DougieLawson
Posts: 35137
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: superblock error, unable to boot

Fri Mar 07, 2014 8:28 am

TeNNoX wrote:Is the SDCard broken or can I just reformat it and reuse it?
It depends on whether the failure was caused by wear levelling.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

TeNNoX
Posts: 3
Joined: Wed Mar 05, 2014 6:09 pm

Re: superblock error, unable to boot

Fri Mar 07, 2014 2:15 pm

DougieLawson wrote: It depends on whether the failure was caused by wear levelling.
How do I know that?

User avatar
DougieLawson
Posts: 35137
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: superblock error, unable to boot

Fri Mar 07, 2014 3:57 pm

TeNNoX wrote:
DougieLawson wrote: It depends on whether the failure was caused by wear levelling.
How do I know that?
Reformat, rebuild, reboot and wait for the next failure.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

User avatar
simonmcc
Posts: 178
Joined: Mon Aug 19, 2013 10:07 pm

Re: superblock error, unable to boot

Mon Mar 10, 2014 10:00 am

TeNNoX wrote:My Raspberry Pi was used as a webserver untill it just went offline... When I checked the output via HDMI this came up:

Image

I then tried to fix the issue by booting another linux on my laptop, putting in the SDCard and then using fsck to fix the error...
fsck said something like unknown magic value and bad superblock...

e2fsck with the backup superblock positions from
"mke2fs -n /dev/mmcblk0p2" did not work either (mke2fs did not work with mmcblk0 or mmcblk0p1!)
I had good success with repairing my superblock using instructions like these:
http://www.recantha.co.uk/blog/?p=1208

I think the suggestions from others, about starting with a fresh image again are good advice too.
simonmcc.blogspot.com/search/label/pi

Return to “Troubleshooting”