You are not logged in.

#1 2015-03-14 00:23:34

PhillyT
Member
Registered: 2015-03-14
Posts: 6

Failed to execute /init

I recently upgraded linux from 3.17 to 3.18 and now whenever I try to boot I get a kernel panic. I have tried booting from a live-usb and arch-chroot and downgrading linux, mkinitcpio -p linux, and grub-mkconfig. None of this has helped at all.

Thanks for the help.

Offline

#2 2015-03-14 04:57:13

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: Failed to execute /init

Say a little more about this recent upgrade. What kernel are you using? The regular version in the core repo was upgraded to 3.18 in December...so how recent was your upgrade? How much else was upgraded? Which versions exactly did you upgrade from, upgrade to, and then downgrade to? Give us more specifics to work with.


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#3 2015-03-14 05:06:48

PhillyT
Member
Registered: 2015-03-14
Posts: 6

Re: Failed to execute /init

I was on 3.17 upgraded to the newest kernel on core which was 3.18. I also upgrade the linux-headers to the most recent and downgraded that as well but to 3.16 (would that cause this?). When I noticed I couldn't boot I then downgraded the kernel back to 3.17. But even when I downgrade the kernel with arch-chroot and reboot, linux tells me its running 3.18.

Offline

#4 2015-03-14 05:11:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Failed to execute /init

Are you doing partial upgrades?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-03-14 06:11:51

PhillyT
Member
Registered: 2015-03-14
Posts: 6

Re: Failed to execute /init

I did but I just did pacman -Syu and upgraded everything and still got the error.

Offline

#6 2015-03-14 06:15:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Failed to execute /init

Is there anything in the journal relating to the issue? Without more diagnostic material, it is not reallt possible to offer much in the way of help...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-03-14 06:47:44

PhillyT
Member
Registered: 2015-03-14
Posts: 6

Re: Failed to execute /init

Nope nothing in the journal because systemd is not even running. But thanks anyway.

Offline

#8 2015-03-14 07:54:12

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Failed to execute /init

You could give us more info.  Maybe a photo of the kernel panic you see or the first few lines?  Your lsblk, fstab, mkinit conf, bootloader conf, pacman log... anything.

Offline

#9 2015-03-14 08:16:07

PhillyT
Member
Registered: 2015-03-14
Posts: 6

Re: Failed to execute /init

kernel panic
https://i.imgur.com/c1lrRLX.jpg

lsblk from the live-usb

NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda               8:0    0 111.8G  0 disk 
├─sda1            8:1    0     1K  0 part 
├─sda2            8:2    0   100M  0 part 
├─sda3            8:3    0 102.9G  0 part 
├─sda4            8:4    0   6.2G  0 part 
└─sda5            8:5    0   2.7G  0 part 
sdb               8:16   0 931.5G  0 disk 
├─sdb1            8:17   0   128M  0 part 
├─sdb2            8:18   0 922.2G  0 part 
└─sdb3            8:19   0   9.2G  0 part 
sdc               8:32   0   1.8T  0 disk 
├─sdc1            8:33   0     1M  0 part 
├─sdc2            8:34   0   107M  0 part 
├─sdc3            8:35   0   1.2T  0 part /root/fs
└─sdc4            8:36   0 675.1G  0 part 
sdd               8:48   0   1.8T  0 disk 
└─sdd1            8:49   0   1.8T  0 part 
sde               8:64   1   7.5G  0 disk 
├─sde1            8:65   1   577M  0 part /run/archiso/bootmnt
└─sde2            8:66   1    31M  0 part 
loop0             7:0    0 248.5M  1 loop /run/archiso/sfs/airootfs
loop1             7:1    0    32G  1 loop 
└─arch_airootfs 254:0    0    32G  0 dm   /
loop2             7:2    0   256M  0 loop 
└─arch_airootfs 254:0    0    32G  0 dm   /

fstab

UUID=52e50959-2e59-442d-9c03-d06aa068b375 /boot ext4 rw,defaults,noatime,discard 0 0
UUID=98bac235-fd48-46f7-b7f4-83c3a28fa64b / ext4 rw,defaults,noatime,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ad4103fa-d940-47ca-8506-301d8071d467
else
  search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-ad4103fa-d940-47ca-8506-301d8071d467' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ad4103fa-d940-47ca-8506-301d8071d467
	else
	  search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-ad4103fa-d940-47ca-8506-301d8071d467' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ad4103fa-d940-47ca-8506-301d8071d467
	else
	  search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initramfs-linux-fallback.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Offline

#10 2015-03-14 08:21:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Failed to execute /init

None of the UUIDs in your fstab correspond to Grub entries...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2015-03-14 08:26:33

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

Re: Failed to execute /init

Have you tried passing the init option to the bootloader?

Offline

Board footer

Powered by FluxBB