You are not logged in.
Pages: 1
I did a normal system update, and get a kernel panic error in starting. It says that "
Fail to execute /init (error -2)
Kernel panic - not syncing: No working init found. Try passing init= option to kernel.
I tried to down grade to a lower kernel, and update all others packages. But, I still cannot boot my system.
Do you guys have some suggestions? Thank you very much.
Offline
Try adding 'init=/usr/lib/systemd/systemd' to your kernel line.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Try adding 'init=/usr/lib/systemd/systemd' to your kernel line.
Thank you. Do you mean by adding GRUB_CMDLINE_LINUX='init=/usr/lib/systemd/systemd' in /etc/default/grub file and grub2-mkconfig?
Offline
Try adding 'init=/usr/lib/systemd/systemd' to your kernel line.
I still cannot repair the kernel issue. I have tried a lot of solutions. Are there something I miss?
Thank you very much.
Offline
R00KIE wrote:Try adding 'init=/usr/lib/systemd/systemd' to your kernel line.
Thank you. Do you mean by adding GRUB_CMDLINE_LINUX='init=/usr/lib/systemd/systemd' in /etc/default/grub file and grub2-mkconfig?
That's where you can add it if you don't edit grub.cfg directly, however in Arch you run grub-mkconfig afterwards and not grub2-mkconfig. You also don't use the '', I have used it only to delimit what you have to use.
It should look like this:
GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Pages: 1