ArchLabs Linux

Corrupted Upgrade ? modules.devname not found

hi folks,

I am a bit noob on arch as a whole I thought of asking for help

Recently I run an upgrade/update with pacman -Syu which seem to be successful other than the fact that there are some modules are not running on boot

my current configurations is

  • LUKS encrypted disk
  • rEFInd as bootloader
  • the following kernels installed

$ pacman -Q | grep linux

linux 5.4.6.arch3-1

linux-api-headers 5.3.1-2

linux-hardened 5.4.6.a-1

linux-headers 5.4.6.arch3-1

linux-lts 4.19.91-1

linux-zen 5.4.6.zen3-1

linux-zen-headers 5.4.6.zen3-1

I can only boot if I choose another kernel ( i am booting in by choosing the zen kernel

While this error appears when I choose the hardened kernel my keyboard is not working so I cannot put my LUKS password

I am totally open to a suggestion and perhaps a solution of how to fix it and how to avoid it of happening again

The screenshot will tell you what my problem is

Thank you all in advance!

Are you sure the keyboard doesn’t work if you enter a password and send it?
If I understood well I used the encrypted disk.
edit
see if this post helps
https://bbs.archlinux.org/viewtopic.php?id=237066
https://bbs.archlinux.org/viewtopic.php?id=243254

riedit
also I would try to add the missing module with: modprobe and reinstall the linux-hardened kernel

1 Like

Chroot in from a live USB and make sure the keyboard hook is in /etc/mkinitcpio.conf then rebuild the initramfs using
mkinitcpio

Might have to look into refind keyboard settings as well

Sweet. I will give it a go. Any idea why this might have happened and how to avoid it of happening again :confused:

Do you have /boot on a separate partition? If it wasn’t mounted during a kernel upgrade them the initramfs wouldn’t match, which might cause the problems you describe.

Hi,if I can express my opinion, in my opinion you have too many kernels, two are enough and advance.
And if you have other distros to update, too many kernels installed take a long time to update them.
Cheers

You kinda of correct. That’s cause I was experiment with the different kernels

Yep. I have boot on separate partition and my /on separate LUKS partition

But. How the other kernels are working fine apart of the one I was using at the time I was doing the update.

Boot seems to be booted

Were the other kernel versions updated as well?

How are you checking?

I would use

grep boot /proc/self/mounts

Same.

Total noob question. How yould I check if the other kernels were updated :slight_smile:

Look at /var/log/pacman.log, that should show everything.

LUKS might have something to do with this but I’ve never used it. Perhaps Nate has more experience with it.

2 Likes

it seems the other kernels were upgraded too
somewhere at about 2019-12-25T12:33:16+0000 it builds the initramfs images ;/

> 1:2.0.7-1)
[2019-12-25T12:32:30+0000] [ALPM] upgraded linux-firmware (20191022.2b016af-3 -> 20191220.6871bff-1)
[2019-12-25T12:32:34+0000] [ALPM] upgraded linux-hardened (5.3.15.a-1 -> 5.4.6.a-1)
[2019-12-25T12:32:37+0000] [ALPM] upgraded linux-headers (5.4.2.arch1-1 -> 5.4.6.arch3-1)
[2019-12-25T12:32:41+0000] [ALPM] upgraded linux-lts (4.19.88-1 -> 4.19.91-1)
[2019-12-25T12:32:45+0000] [ALPM] upgraded linux-zen (5.4.2.zen1-1 -> 5.4.6.zen3-1)
[2019-12-25T12:32:48+0000] [ALPM] upgraded linux-zen-headers (5.4.2.zen1-1 -> 5.4.6.zen3-1)
[2019-12-25T12:32:48+0000] [ALPM] upgraded metis (5.1.0.p6-1 -> 5.1.0.p7-1)
[2019-12-25T12:32:48+0000] [ALPM] upgraded mlt (6.18.0-2 -> 6.18.0-3)
[2019-12-25T12:32:48+0000] [ALPM] upgraded modemmanager (1.12.0-2 -> 1.12.2-1)
[2019-12-25T12:32:48+0000] [ALPM] upgraded mutt (1.13.0-1 -> 1.13.2-1)
[2019-12-25T12:32:48+0000] [ALPM] upgraded nss-mdns (0.14.1-1 -> 0.14.1-2)
[2019-12-25T12:32:49+0000] [ALPM] upgraded nvidia (440.36-5 -> 440.44-7)
[2019-12-25T12:32:49+0000] [ALPM] upgraded obs-studio (24.0.3-2 -> 24.0.5-1)
[2019-12-25T12:32:49+0000] [ALPM] upgraded python-colorama (0.4.1-3 -> 0.4.3-1)
[2019-12-25T12:32:49+0000] [ALPM] upgraded python-more-itertools (7.2.0-3 -> 8.0.2-1)
[2019-12-25T12:32:49+0000] [ALPM] upgraded python-pyparsing (2.4.5-1 -> 2.4.6-1)
[2019-12-25T12:32:49+0000] [ALPM] upgraded python-setuptools (1:41.6.0-1 -> 1:42.0.2-1)
[2019-12-25T12:32:49+0000] [ALPM] upgraded python2-pyparsing (2.4.5-1 -> 2.4.6-1)
[2019-12-25T12:32:49+0000] [ALPM] upgraded python2-setuptools (1:41.6.0-1 -> 1:42.0.2-1)
[2019-12-25T12:32:49+0000] [ALPM] upgraded qemu (4.1.1-1 -> 4.2.0-1)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-declarative (5.13.2-1 -> 5.14.0-2)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-graphicaleffects (5.13.2-1 -> 5.14.0-1)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-location (5.13.2-2 -> 5.14.0-1)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-multimedia (5.13.2-1 -> 5.14.0-1)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-quickcontrols (5.13.2-1 -> 5.14.0-1)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-sensors (5.13.2-1 -> 5.14.0-1)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-styleplugins (5.0.0.20170311-17 -> 5.0.0.20170311-18)
[2019-12-25T12:32:50+0000] [ALPM] upgraded qt5-webchannel (5.13.2-1 -> 5.14.0-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded qt5-webkit (5.212.0alpha3-6 -> 5.212.0alpha3-8)
[2019-12-25T12:32:51+0000] [ALPM] upgraded qt5-websockets (5.13.2-1 -> 5.14.0-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded qt5ct (0.41-1 -> 0.41-2)
[2019-12-25T12:32:51+0000] [ALPM] upgraded qtkeychain (0.9.1-1 -> 0.10.0-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded s-nail (14.9.15-2 -> 14.9.15-3)
[2019-12-25T12:32:51+0000] [ALPM] upgraded shotcut (19.10.20-1 -> 19.12.16-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded systemd-sysvcompat (244-1 -> 244.1-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded talloc (2.3.0-1 -> 2.3.1-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded tpm2-tss (2.3.1-3 -> 2.3.2-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded tumbler (0.2.7-1 -> 0.2.8-1)
[2019-12-25T12:32:51+0000] [ALPM] upgraded unrar (1:5.8.4-1 -> 1:5.8.5-1)
[2019-12-25T12:32:52+0000] [ALPM] upgraded vlc (3.0.8-6 -> 3.0.8-7)
[2019-12-25T12:32:52+0000] [ALPM] upgraded weechat (2.6-5 -> 2.7-1)
[2019-12-25T12:32:52+0000] [ALPM] upgraded xf86-video-intel (1:2.99.917+897+g0867eea6-1 -> 1:2.99.917+899+gf66d3954-1)
[2019-12-25T12:32:52+0000] [ALPM] upgraded xorg-server-devel (1.20.6-1 -> 1.20.6-2)
[2019-12-25T12:32:52+0000] [ALPM] upgraded xorg-server-xephyr (1.20.6-1 -> 1.20.6-2)
[2019-12-25T12:32:53+0000] [ALPM] upgraded xorg-server-xnest (1.20.6-1 -> 1.20.6-2)
[2019-12-25T12:32:53+0000] [ALPM] upgraded xorg-server-xvfb (1.20.6-1 -> 1.20.6-2)
[2019-12-25T12:32:53+0000] [ALPM] upgraded xorg-xdpyinfo (1.3.2-2 -> 1.3.2-3)
[2019-12-25T12:32:53+0000] [ALPM] transaction completed
[2019-12-25T12:32:55+0000] [ALPM] running '20-systemd-sysusers.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '30-systemd-catalog.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '30-systemd-daemon-reload.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '30-systemd-hwdb.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '30-systemd-sysctl.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '30-systemd-tmpfiles.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '30-systemd-udev-reload.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '30-systemd-update.hook'...
[2019-12-25T12:32:55+0000] [ALPM] running '60-depmod.hook'...
[2019-12-25T12:33:16+0000] [ALPM] running '90-mkinitcpio-install.hook'...
[2019-12-25T12:33:16+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-hardened.preset: 'default'
[2019-12-25T12:33:16+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-hardened -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-hardened.img
[2019-12-25T12:33:16+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.4.6.a-1-hardened
[2019-12-25T12:33:16+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:33:16+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:33:17+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:33:17+0000] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2019-12-25T12:33:17+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:33:17+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:33:17+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:33:18+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:33:18+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:33:18+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:33:19+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:33:19+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:33:19+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-hardened.img
[2019-12-25T12:33:21+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:33:21+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-hardened.preset: 'fallback'
[2019-12-25T12:33:21+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-hardened -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-hardened-fallback.img -S autodetect
[2019-12-25T12:33:21+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.4.6.a-1-hardened
[2019-12-25T12:33:21+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:33:21+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:33:22+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:33:22+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:33:22+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:33:22+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:33:24+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:33:25+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:33:26+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:33:26+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:33:27+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:33:27+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-hardened-fallback.img
[2019-12-25T12:33:31+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:33:31+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2019-12-25T12:33:31+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
[2019-12-25T12:33:31+0000] [ALPM-SCRIPTLET] ==> Starting build: 4.19.91-1-lts
[2019-12-25T12:33:31+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:33:32+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:33:32+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:33:32+0000] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2019-12-25T12:33:33+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:33:33+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:33:33+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:33:33+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:33:33+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:33:33+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:33:33+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:33:34+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:33:34+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
[2019-12-25T12:33:35+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:33:35+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2019-12-25T12:33:35+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2019-12-25T12:33:35+0000] [ALPM-SCRIPTLET] ==> Starting build: 4.19.91-1-lts
[2019-12-25T12:33:35+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:33:36+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:33:37+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:33:37+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:33:37+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:33:37+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:33:39+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:33:39+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:33:40+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:33:40+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:33:41+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:33:41+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
[2019-12-25T12:33:45+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:33:45+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2019-12-25T12:33:45+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2019-12-25T12:33:45+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.4.6-arch3-1
[2019-12-25T12:33:45+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:33:45+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:33:46+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:33:47+0000] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2019-12-25T12:33:47+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:33:47+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:33:47+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:33:47+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:33:48+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:33:48+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:33:48+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:33:49+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:33:49+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2019-12-25T12:33:50+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:33:50+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2019-12-25T12:33:50+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2019-12-25T12:33:50+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.4.6-arch3-1
[2019-12-25T12:33:50+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:33:50+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:33:51+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:33:51+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:33:51+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:33:52+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:33:54+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:33:54+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:33:55+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:33:55+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:33:56+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:33:56+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2019-12-25T12:34:00+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:34:00+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
[2019-12-25T12:34:00+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
[2019-12-25T12:34:00+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.4.6-zen3-1-zen
[2019-12-25T12:34:00+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:34:00+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:34:01+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:34:01+0000] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2019-12-25T12:34:01+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:34:01+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:34:02+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:34:02+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:34:03+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:34:03+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:34:03+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:34:03+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:34:03+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-zen.img
[2019-12-25T12:34:05+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:34:05+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
[2019-12-25T12:34:05+0000] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
[2019-12-25T12:34:05+0000] [ALPM-SCRIPTLET] ==> Starting build: 5.4.6-zen3-1-zen
[2019-12-25T12:34:05+0000] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2019-12-25T12:34:05+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2019-12-25T12:34:06+0000] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2019-12-25T12:34:06+0000] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2019-12-25T12:34:06+0000] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2019-12-25T12:34:06+0000] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2019-12-25T12:34:08+0000] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2019-12-25T12:34:09+0000] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2019-12-25T12:34:10+0000] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2019-12-25T12:34:10+0000] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2019-12-25T12:34:11+0000] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2019-12-25T12:34:11+0000] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
[2019-12-25T12:34:16+0000] [ALPM-SCRIPTLET] ==> Image generation successful
[2019-12-25T12:34:16+0000] [ALPM] running 'dbus-reload.hook'...
[2019-12-25T12:34:16+0000] [ALPM] running 'detect-old-perl-modules.hook'...
[2019-12-25T12:34:16+0000] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2019-12-25T12:34:16+0000] [ALPM] running 'gio-querymodules.hook'...
[2019-12-25T12:34:16+0000] [ALPM] running 'glib-compile-schemas.hook'...
[2019-12-25T12:34:16+0000] [ALPM] running 'gtk-update-icon-cache.hook'...
[2019-12-25T12:34:16+0000] [ALPM] running 'texinfo-install.hook'...
[2019-12-25T12:34:16+0000] [ALPM] running 'update-ca-trust.hook'...
[2019-12-25T12:34:17+0000] [ALPM] running 'update-desktop-database.hook'...
[2019-12-25T12:34:17+0000] [ALPM] running 'update-mime-database.hook'...
[2019-12-25T12:34:17+0000] [ALPM] running 'update-vlc-plugin-cache.hook'...

It looks like all of the kernels were updated.

We can check if there is another /boot hidden underneath your partition:

ls -lah /boot
umount /boot
ls -lah /boot

The first and last commands should show when the files were created (the last command will only be different if the second command works).

Re-mount it afterwards:

mount /boot
1 Like

After unmounting there is nothing on the boot :confused:

Can it be that rEFIND is doing something weird ??
I noticed it says
Boot options for vmlinnuz-hardened

I don’t think so because the kernel images in /boot aren’t versioned. But I don’t use rEFInd so perhaps wait for Nate to reply.

Do the dates of the kernel images in /boot match the dates in the pacman log?

Guess what folks ,

I think its the way that rEFInd was configured
it has a default config that points to one of the kernels, and if you choose another one it loads the wrong initfsram image… which seems to conflict

I think this is solved ( for now )

Thanks for all the responses … super helpful.
Glad I joined the ArchLabs Community!

1 Like

Nice find.

Yes the config we create is for the kernel picked during install. If you install others you will need to amend the config. Refind tries to guess and supply an option for all the kernels it finds which is where we run into this, it’s using the kernel params and initramfs for the kernel initially installed because it doesn’t have anything else.

It could very well be something I’m doing wrong during install or in the config but I don’t think so. All those entries (aside from the top 2) are generated by refind and may or may not work.

In short: when installing a kernel the bootloader config(s) must be updated to add new entries for it.

Alright now I gotta eat my own words, this was indeed an error in the config generated during install. Fixed.

Just a matter of changing the initramfs line in /boot/refind_linux.conf

"..."            "... initrd=/initramfs-%v.img"
"... Fallback"   "... initrd=/initramfs-%v-fallback.img"

Then refind will sub the %v with the kernels given via extra_kernel_version_strings in /boot/EFI/refind/refind.conf (should be set to linux-hardened,linux-zen,linux-lts,linux).

Cheers

3 Likes