You are not logged in.

#1 2018-02-27 00:18:04

Theaigcaman
Member
Registered: 2016-02-25
Posts: 11

rEFInd initramfs-linux boot issues

First: I'm dual booting with windows. My install location is /dev/nvme0n1p5.  I'm using rEFInd as a bootloader.  Running Arch Linux on Lenovo p71 from 2017.

output of lspci

[craigsimpson@csimpsonlaptop_arch ~]$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:16.3 Serial controller: Intel Corporation Sunrise Point-H KT Redirection (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-LM (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GP104GLM [Quadro P3000 Mobile] (rev a1)
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
70:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
71:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)

cat /boot/refind_linux.conf

[craigsimpson@csimpsonlaptop_arch ~]$ cat /boot/refind_linux.conf
"Boot with standard options"  "root=/dev/nvme0n1p5   rw quiet splash"
"Boot to single-user mode"    "root=/dev/nvme0n1p5   rw quiet splash single"
"Boot with minimal options"   "ro root=/dev/nvme0n1p5"
"test"			      "rw root=/dev/nvme0n1p5 quiet initrd=/boot/intel-ucode.img initrd=/boot/initramfs-linux.img"

when booting with rEFInd, selecting the first option "boot with standard options" does not boot, but selecting the vmlinuz-linux option of the same name does boot, so i don't know what is wrong with my initramfs-linux.img
As a side note, the "test" option does the same behavior

when booting with the first option i get
(copying this text from an image on my phone, so i will abreviate it)

[timestamp] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20170728/dswload-210)
[timestamp] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20170728/psobject-252)
[timestamp] ACPI Exception: AE_NOT_FOUND, (SSDT:ProjSsdt) while loading table (20170728/tbxfload-228)
[timestamp] ACPI Error: 1 table load failures, 11 successful (20170728/tbxfload-246)
Warning: /lib/modules/4.14.22-1-lts/modules.devname not found - ignoring
starting version 237
ERROR: device '/dev/nvme0n1p5' not found. Skipping fsck.
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off
[rootfs ]#

and the keyboard doesn't work
i haven't tried a USB keyboard

[edit] fixed some typos

Last edited by Theaigcaman (2018-02-27 04:43:01)

Offline

#2 2018-02-27 05:21:38

Theaigcaman
Member
Registered: 2016-02-25
Posts: 11

Re: rEFInd initramfs-linux boot issues

It seems that this section

[timestamp] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20170728/dswload-210)
[timestamp] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20170728/psobject-252)
[timestamp] ACPI Exception: AE_NOT_FOUND, (SSDT:ProjSsdt) while loading table (20170728/tbxfload-228)
[timestamp] ACPI Error: 1 table load failures, 11 successful (20170728/tbxfload-246)

is in the journal for successful boots as well
so it must have something to do with

Warning: /lib/modules/4.14.22-1-lts/modules.devname not found - ignoring
starting version 237
ERROR: device '/dev/nvme0n1p5' not found. Skipping fsck.

but i don't understand how it can't find /dev/nvme0n1p5 when booted with these kernel commands

rw root=/dev/nvme0n1p5 quiet initrd=/boot/intel-ucode.img initrd=/boot/initramfs-linux.img

but can find it when booted with these

\boot\vmlinuz-linux rw root=/dev/nvme0n1p5 quiet initrd=/boot/intel-ucode.img initrd=/boot/initramfs-linux.img splash

my conclusion is that it has something to do with using the vmlinuz-linux image versus the initramfs-linux image, but i don't know what the problem is.

Here is a dump of journalctl -b, obviously a successful boot.

Offline

#3 2018-02-27 05:39:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: rEFInd initramfs-linux boot issues

The modules warning you're getting means that your initramfs does not match your kernel. Either something is wrong with your bootloader, or something went wrong when generating the initramfs.

Offline

#4 2018-02-27 19:57:08

Theaigcaman
Member
Registered: 2016-02-25
Posts: 11

Re: rEFInd initramfs-linux boot issues

So how do i regenerate the initramfs? is it mkinitcpio -p linux?

Offline

Board footer

Powered by FluxBB