You are not logged in.

#1 2016-10-22 16:16:33

tuvistavie
Member
From: London
Registered: 2012-02-12
Posts: 15
Website

Boot hangs after loading initramfs

Hi,

I just got a new Vaio Z and am having trouble getting Arch to boot.

I am using UEFI to boot, and I tried to boot with systemd-boot, syslinux and grub,
but all of them hang after having loaded initramfs.

Syslinux outputs a message like this:

Loading ../../initramfs-linux.img...ok

and then hangs forever.

My setup is as follow:

Disks setup:

$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/nvme0n1p5  76884740 1539248  71396948   3% /
/dev/nvme0n1p1    262144   52728    209416  21% /boot
/dev/nvme0n1p6  83335440   57380  79001836   1% /home
udev             8098456       0   8098456   0% /dev
shm              8112800       0   8112800   0% /dev/shm
run              8112800      12   8112788   1% /run
tmp              8112800       0   8112800   0% /tmp
airootfs          262144    7156    254988   3% /etc/resolv.conf

Boot directory:

$ ls /boot
EFI  initramfs-linux-fallback.img  initramfs-linux.img  intel-ucode.img  loader  vmlinuz-linux
$ ls /boot/EFI
Boot  Microsoft  syslinux  systemd

systemd-boot setup:

$ cat /boot/loader/loader.conf
default arch
timeout 3
editor 0
$ cat /boot/loader/entries/arch.conf
title    Arch Linux
linux  /vmlinuz-linux
initrd  /initramfs-linux.img
options root=/dev/nvme0n1p5 rw debug

syslinux setup:

$ cat /boot/EFI/syslinux/syslinux.cfg
....
LABEL arch
    MENU LABEL Arch Linux
    LINUX  ../../vmlinuz-linux
    APPEND root=/dev/nvme0n1p5 rw debug
    INITRD ../../initramfs-linux.img
....

mkinitcpio:

$ cat /etc/mkinitcpio.conf
....
MODULES=""
....
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
....

As my laptop seems to be using a nvme setup for the SSDs,
I tried to add the nvme module to mkinitcpio.conf and regenerate the initramfs, but it did not help.

I tried to get more debug information but could not get anything useful.

journalctl

tells
me no entries were found, so it seems that the boot process did not get there yet.

I have been struggling for several hours, and tried pretty much everything I could google, but could not get it to work.

Please let me know if there is any other info I could provide to help debugging.

Thanks,

Daniel

Last edited by tuvistavie (2016-10-22 16:16:49)

Offline

#2 2016-10-22 18:02:22

tuvistavie
Member
From: London
Registered: 2012-02-12
Posts: 15
Website

Re: Boot hangs after loading initramfs

I finally managed to boot by adding noefi to my kernel boot parameters.
I someone has a rational explanation for this, I would be very glad to hear about it!

Offline

Board footer

Powered by FluxBB