01-20-2021 12:03 AM
Hi,
After an SD Card was created with PL-App Launcher on PC, I was trying to start up the OS on Raspberry Pi 3B. I got the error "End Kernel panic - not syncing: No working init found. Try passing init= option to the kernel." Does anyone know how to fix the problem? I suspect the error is on the image, but I have tried re-downloading the image file and re-copy the image file to SD card again. The problem still exists.
Ban Lau
04-25-2025 03:16 AM
Hello @fmslcf30319
The "Kernel panic - not syncing: No working init found" error on your Raspberry Pi usually means the kernel can't find the initial program to run after it boots. This is often due to a missing, corrupted, or misconfigured init
process. Since you've already tried re-downloading and re-copying the image, let's explore some other potential causes and solutions:
1. Device Tree Issues (Most Likely Cause with Custom OS Images):
Incorrect Device Tree Blob (DTB): The Raspberry Pi uses Device Tree files to describe the hardware. If the wrong DTB is being loaded, the kernel might not be able to initialize properly. This is especially common if the OS image was built for a different Raspberry Pi model or a different hardware configuration.
config.txt
file on the boot
partition of your SD card. Look for the dtoverlay=
and dtparam=
lines. Make sure they are appropriate for your Raspberry Pi 3B. If you're using a custom overlay, ensure it's correctly configured. If you're unsure, try commenting out any dtoverlay=
lines to see if the default configuration works. For a Raspberry Pi 3B, you might not need any dtoverlay=
lines at all for basic functionality.Missing Device Tree: The DTB file itself might be missing from the boot
partition.
.dtb
file (e.g., bcm2710-rpi-3-b.dtb
or similar) exists in the boot
partition. If it's missing, you'll need to obtain it from a working image or a Raspberry Pi OS image and copy it to the boot
partition.2. Corrupted Filesystem:
Even though you re-imaged the SD card, there's a small chance the filesystem on the rootfs
partition is corrupted.
Solution: After flashing the SD card, try running a filesystem check on the rootfs
partition (the second partition, usually). You'll need to mount the partition on another Linux system. Use fsck
(filesystem check) from a Linux environment. Important:Unmount the partition before running fsck
. The command would look something like this (replace /dev/sdX2
with the correct device and partition):
sudo umount /dev/sdX2
sudo fsck -y /dev/sdX2
The -y
option automatically answers "yes" to any prompts to fix errors. Be careful using this, but it's generally safe for minor corruption.
3. init
Path Problems:
The kernel might be looking for init
in the wrong location.
init
path on the kernel command line. Edit the cmdline.txt
file on the boot
partition. Add init=/sbin/init
or init=/bin/init
to the end of the line. Try both. The cmdline.txt
file is a single line. Don't add a newline.4. Kernel Command Line Issues:
The cmdline.txt
file might be missing essential parameters.
Solution: Compare the contents of your cmdline.txt
file with a known-good cmdline.txt
file from a standard Raspberry Pi OS image (like Raspberry Pi OS Lite). Make sure you have at least the following:
console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Adjust /dev/mmcblk0p2
if your root partition is different.
5. SD Card Issues:
Although less likely since you've re-imaged, the SD card itself could be faulty.
6. Power Supply Issues:
An underpowered power supply can sometimes cause strange errors during boot.
7. Image Creation Problems (PL-App Launcher Specific):
Since you're using PL-App Launcher, there might be a bug in how it creates the image.
Troubleshooting Steps:
config.txt
and cmdline.txt
files. These are the most common culprits. Carefully examine them for errors..dtb
, .img
, and .elf
files are present.By systematically checking these potential causes, you should be able to identify and resolve the "Kernel panic - not syncing: No working init found" error.
Hope This Helps!!!
AshSe
Community Etiquette:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide