3

I have a weird problem with my Pi since a few days:

A lot of commands result in "segmentation fault". Any "apt-get install" does, some normal programs do.

I've googled it and found out it might be a broken file system, so I tried $ sudo fsck.ext4 -pfvc /dev/sde2 on a linux computer. That command returned /dev/sde2: Updating bad block inode., but this did not fix the issue.

Anything I can do about that without re-flashing a backup onto the SD card? And, why does my Pi always "eat" (destroy) my SD cards in a short amount of time? I've reinstalled the Pi like four months ago ...

Florian Bach
  • 155
  • 3
  • 8

1 Answers1

3

AFAIK there is no simple fix. If you have another Linux system you could try disk repair, but this appears not to have worked. Presumably some of the files have been damaged. You may be able to replace from a known good image.

This has happened to me once in 2 years, during an upgrade. I restored from a backup. The Pi is no different to any other system, if it contains anything important make backups.

Other than the failure above, I have had no other problems (unless I have done something wrong), and one new card which totally failed (couldn't be re-imaged) which was replaced under warranty. If you buy reputable brand cards, use a reliable power supply, and shutdown properly you should have no need to re-image. Even if you don't shutdown properly the chance of damage should be slight.

Milliways
  • 62,573
  • 32
  • 113
  • 225