Kernel panic after upgrading BusyBox to 1.28.2
After upgrading BusyBox to 1.28.2 on an Alpine Edge system, Linux panics with the following message:
Failed to execute /init (error -2)
Kernel panic - not syncing: No working init found. Try adding init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
Manually repacking initramfs with a “/bin/sh” symlink to “/bin/busybox” fixes the problem.
(from redmine: issue id 8751, created on 2018-03-29, closed on 2019-05-03)
- Changesets:
- Revision 913d0715 by Natanael Copa on 2018-03-30T12:12:11Z:
main/busybox: fix cpio symlinks
ref #8751
- Revision 64e5d66b by Natanael Copa on 2018-03-30T12:13:02Z:
main/mkinitfs: fix versioned busybox dependency
busybox 1.28.2 had a regression in cpio symlinks. make sure we have a
fixed busybox version.
fixes #8751