8

I have a problem when starting my Raspberry Pi (Rasberry Pi 3 Model B). Everything worked fine. After the last reboot I've got this error. Any help would be appreciated.

End Kernel panic - not syncing: Attempted to kill init

Aurora0001
  • 6,357
  • 3
  • 25
  • 39

1 Answers1

3

The problem could have several reasons. Until now I found out the following:

  1. Some 16GB SD-cards seem to have problems after apt-get upgrade && reboot Have a look at: https://github.com/raspberrypi/linux/issues/1416
  2. Sometimes the power supply causes problems like this. You should try another one if yours is to weak (5V and at least 2 Ampere for Raspberry Pi 3 Model B).
  3. One of the sd-cards partitions could be damaged.
  4. In my case I took the sd-card, mounted it on a Linux system and backuped all my data at first because there is a chance that following commands will produce some data lost on your card.
  5. After that I listed the partition names of the sd-card. Simply open a terminal and type lsblk or df -h
  6. Usally the card name is mmcblk0. In this case the name of the boot partition should be mmcblk0p1 and the name of the root partition mmcblk0p2.
  7. Now you have to unmount them. Type: umount /dev/mmcblk0p* (no ‘umount’ is spelled correctly)
  8. After that I run fsck on every partition in this way: sudo fsck /dev/mmcblk0p1 && sudo fsck /dev/mmcblk0p2
  9. This command will check the filesystems of your card and offer you the opportunity to fix errors. In this case you can force the program to fix all errors automatically (type a Enter) after the first error was found or type y for every single error to fix.
  10. Hopefully your system will boot now.
rweisse
  • 131
  • 3