You are not logged in.

#1 2014-07-10 08:02:15

mssun
Member
Registered: 2013-04-06
Posts: 33

Kernel panic

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

#2 2014-07-10 08:12:50

R00KIE
Forum Moderator
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 3,282

Re: Kernel panic

Try adding 'init=/usr/lib/systemd/systemd' to your kernel line.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2014-07-10 08:18:01

mssun
Member
Registered: 2013-04-06
Posts: 33

Re: Kernel panic

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?

Offline

#4 2014-07-10 14:29:04

mssun
Member
Registered: 2013-04-06
Posts: 33

Re: Kernel panic

R00KIE wrote:

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

#5 2014-07-10 18:35:20

R00KIE
Forum Moderator
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 3,282

Re: Kernel panic

mssun wrote:
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

Board footer

Powered by FluxBB