You are not logged in.

#1 2017-02-01 19:33:11

nerdlab
Member
Registered: 2017-02-01
Posts: 7

[SOLVED]Updated to newest kernel, now I can't boot

Hi,
I just updated to the newest 4.9.6-1 Arch kernel and now my system can't boot. As soon as I power it up I get the message

Failed to execute /init (error -2)
Kernel panic - not syncing: no working init found. Try passing init= option to the kernel. See Linux Documentation/init.txt for guidance.
CPU: 5 PID: 1 Comm: swapper/0 not tainted 4.9.6-1 Arch #1
Hardware name: TBFBOEM. TBFBOEM./990FX Killer, BIOS P1.60 01/06/2016
fffc900018a7eb0 ffffffff81305440 ffffffff815fd400 ffffffff81909d38
fffc900018a7f38 ffffffff8117eed5 0000000000000008 ffffc900018a7f48
fffc900018a7ee0 000000006250f63f 8000000002de5163 000000000000000
Call Trace:
[<ffffffff81305440>] dump_stack+0x63/0x83
[<ffffffff815fd400] ? rest_init+0x80/0x90
[<ffffffff8117eed5] panic+0xe4/0x22d
[<ffffffff815fd410] ? rest_init+0x90/0x90
[<ffffffff815fd4fb] kernel_init+0xeb/0x100
[<ffffffff8160a995] ret_from_fork+0x25/0x30
Kernel Offset: disabled
---[end Kernel panic - not syncing: no working init found. Try passing init= option to the kernel. See Linux Documentation/init.txt for guidance.]

I upgraded the system with pacman -Syu and systemd and linux were updated. I also ran mkinitcpio -p linux before rebooting, and now I can't boot anymore.

My loader entry for systemd is

title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=<my root partition UUID> rw amd_iommu=on iommu=noagp

So if somebody could point me to a solution, I would be very grateful smile

Edit 1: Downgrading the kernel didn't fix it. So it seems like the kernel version doesn't really matter
Solution: Reinstalling with

pacstrap /mnt base 

did fix the issue

Last edited by nerdlab (2017-02-02 15:31:24)

Offline

#2 2017-02-01 20:39:00

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: [SOLVED]Updated to newest kernel, now I can't boot

How did you install Arch initially? Those aren't standard Arch paths.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2017-02-01 20:45:17

nerdlab
Member
Registered: 2017-02-01
Posts: 7

Re: [SOLVED]Updated to newest kernel, now I can't boot

ngoonee wrote:

How did you install Arch initially? Those aren't standard Arch paths.

I installed it manually with a live usb.
How are those not standard paths? They're explained like this on the systemd-boot wiki page. I just followed the installation guide on the wiki.

Offline

#4 2017-02-02 02:27:55

bhrich902
Member
Registered: 2003-09-21
Posts: 76

Re: [SOLVED]Updated to newest kernel, now I can't boot

I'm having the same issue as OP, ran update a day or two ago and can't boot with the same errors regarding failing to execute init. i tried passing init=/usr/lib/systemd/systemd and init=/usr/bin/bash with no results.

Offline

#5 2017-02-02 11:56:39

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED]Updated to newest kernel, now I can't boot

Try rebuilding the initramfs from a live media.

Offline

#6 2017-02-02 12:12:38

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: [SOLVED]Updated to newest kernel, now I can't boot

nerdlab wrote:

Hi,
I just updated to the newest 4.9.6-1 Arch kernel and now my system can't boot. As soon as I power it up I get the message

Failed to execute /init (error -2)
Kernel panic - not syncing: no working init found. Try passing init= option to the kernel. See Linux Documentation/init.txt for guidance.
CPU: 5 PID: 1 Comm: swapper/0 not tainted 4.9.6-1 Arch #1
Hardware name: TBFBOEM. TBFBOEM./990FX Killer, BIOS P1.60 01/06/2016
fffc900018a7eb0 ffffffff81305440 ffffffff815fd400 ffffffff81909d38
fffc900018a7f38 ffffffff8117eed5 0000000000000008 ffffc900018a7f48
fffc900018a7ee0 000000006250f63f 8000000002de5163 000000000000000
Call Trace:
[<ffffffff81305440>] dump_stack+0x63/0x83
[<ffffffff815fd400] ? rest_init+0x80/0x90
[<ffffffff8117eed5] panic+0xe4/0x22d
[<ffffffff815fd410] ? rest_init+0x90/0x90
[<ffffffff815fd4fb] kernel_init+0xeb/0x100
[<ffffffff8160a995] ret_from_fork+0x25/0x30
Kernel Offset: disabled
---[end Kernel panic - not syncing: no working init found. Try passing init= option to the kernel. See Linux Documentation/init.txt for guidance.]

I upgraded the system with pacman -Syu and systemd and linux were updated. I also ran mkinitcpio -p linux before rebooting, and now I can't boot anymore.

My loader entry for systemd is

title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=<my root partition UUID> rw amd_iommu=on iommu=noagp

So if somebody could point me to a solution, I would be very grateful smile

same problem with system boot-mate, and xfce with grub, booting up to the point and remains there for hours, for I did downgrade.
best regards


hp-envy dv7

Offline

#7 2017-02-02 14:12:05

nerdlab
Member
Registered: 2017-02-01
Posts: 7

Re: [SOLVED]Updated to newest kernel, now I can't boot

x33a wrote:

Try rebuilding the initramfs from a live media.

Already tried. No luck with that either

newbie1962 wrote:

same problem with system boot-mate, and xfce with grub, booting up to the point and remains there for hours, for I did downgrade.

How can I do this? Is there a command I run on the live media?

Offline

#8 2017-02-02 14:29:02

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED]Updated to newest kernel, now I can't boot

nerdlab wrote:

How can I do this? Is there a command I run on the live media?

Assuming you have not deleted the old kernel from your pacman cache: https://wiki.archlinux.org/index.php/Do … the_kernel

Offline

#9 2017-02-02 14:47:15

nerdlab
Member
Registered: 2017-02-01
Posts: 7

Re: [SOLVED]Updated to newest kernel, now I can't boot

2ManyDogs wrote:

Assuming you have not deleted the old kernel from your pacman cache: https://wiki.archlinux.org/index.php/Do … the_kernel

Unfortunately the cache seems to have been deleted. Is there a way, I can just download the kernel and headers from a source or something?

Offline

#10 2017-02-02 15:04:25

onexused
Member
Registered: 2009-10-07
Posts: 115

Re: [SOLVED]Updated to newest kernel, now I can't boot

You could check for a previous kernel version here: https://wiki.archlinux.org/index.php/Arch_Linux_Archive

Offline

#11 2017-02-02 15:04:32

positronik
Member
Registered: 2016-02-08
Posts: 94

Re: [SOLVED]Updated to newest kernel, now I can't boot

nerdlab wrote:
2ManyDogs wrote:

Assuming you have not deleted the old kernel from your pacman cache: https://wiki.archlinux.org/index.php/Do … the_kernel

Unfortunately the cache seems to have been deleted. Is there a way, I can just download the kernel and headers from a source or something?

Did you actually deleted the cache?
I don't think that it can magically disappear by itself...

Offline

#12 2017-02-02 15:09:56

nerdlab
Member
Registered: 2017-02-01
Posts: 7

Re: [SOLVED]Updated to newest kernel, now I can't boot

positronik wrote:
nerdlab wrote:
2ManyDogs wrote:

Assuming you have not deleted the old kernel from your pacman cache: https://wiki.archlinux.org/index.php/Do … the_kernel

Unfortunately the cache seems to have been deleted. Is there a way, I can just download the kernel and headers from a source or something?

Did you actually deleted the cache?
I don't think that it can magically disappear by itself...

Well, i didn't even know this existed. So I could've deleted it by accident, but in the directory described in the wiki, there's just the kernel version I'm currently running.

Offline

#13 2017-02-02 15:20:52

nerdlab
Member
Registered: 2017-02-01
Posts: 7

Re: [SOLVED]Updated to newest kernel, now I can't boot

onexused wrote:

You could check for a previous kernel version here: https://wiki.archlinux.org/index.php/Arch_Linux_Archive

Downgrading to this archive version didn't fix it. but the kernel version has changed on the panic screen

Offline

#14 2017-02-02 15:30:37

nerdlab
Member
Registered: 2017-02-01
Posts: 7

Re: [SOLVED]Updated to newest kernel, now I can't boot

Reinstalling with

pacstrap /mnt base 

did fix the issue

Offline

Board footer

Powered by FluxBB