You are not logged in.
Failed to boot after this upgrade, as systemd-modules-load failed to find several modules including crypto_user. Should I downgrade systemd until I can troubleshoot this is more detail? I am able to chroot in and pacman shows system is up to date.
Last edited by zpg443 (2024-12-17 15:52:01)
Offline
have you updated the kernel along systemd?
sounds like boot kernel + initrd are out of sync with rest of the system
Offline
Yes the kernel was upgraded at the same time to 6.6.65-1-lts and image generation was successful. Usually Timeshift can restore to a previous state but it will not recognize the device with the backups.
Last edited by zpg443 (2024-12-16 15:46:00)
Offline
You didn't have your boot partition mounted when the kernel updated, or the inverse you did originally install the kernel without a boot partition but are now mounting over that.
What's the case? That timeshift doesn't work in a ESP as /boot constellation is normal and if that's the case, you need to make sure that is mounted when installing a kernel update.
Offline
Maybe the boot partition was not mounted, but I don't recall unmounting it. It is definitely not installing without a boot partition.Although /efi is a replacement for the historical and now discouraged ESP mountpoint /boot/efi, this is how I had set it up.
Here is the boot log from when the first fail happened 0x0.st/XFGp.txt
It says in part: /boot/efi failed to mount.
Last edited by zpg443 (2024-12-16 19:48:41)
Offline
Although /efi is a replacement for the historical and now discouraged ESP mountpoint /boot/efi
do you have any sources for this?
Offline
zpg443 wrote:Although /efi is a replacement for the historical and now discouraged ESP mountpoint /boot/efi
do you have any sources for this?
https://wiki.archlinux.org/title/EFI_sy … unt_points with sources
Offline
Here is the boot log from when the first fail happened 0x0.st/XFGp.txt
It says in part: /boot/efi failed to mount.
First line shows that it is booting the 6.6.63-1-lts kernel, which is not what you have installed. No question, it's as V1del said, nothing to do with systems.
Edit: the kernel command line also shows that it's loading the initramfs from a /boot dir, so you are *not* using a /boot partition. If you had something mounted there, that's a problem. An alternative is that if the preset file in /etc/mkinitcpio.d/ is wrong or empty, you could see this, too.
Last edited by Scimmia (2024-12-16 20:52:54)
Offline
cryptearth wrote:zpg443 wrote:Although /efi is a replacement for the historical and now discouraged ESP mountpoint /boot/efi
do you have any sources for this?
https://wiki.archlinux.org/title/EFI_sy … unt_points with sources
I had a look at it and ... well, for the sake of not hijacking this topic with an opinionated argue - let me just thank you for sharing your sources
Offline
Giving up for today after 10+ hours of troubleshooting without resolution. The current kernel is installed. It was downloaded last night, and the shutdown log verifies it was updated.
Offline
The *package* was updated. The image where the bootloader is getting it from was not.
Offline
It was successful when running mkinitcpio -P.
Offline
The problem isn't the initramfs generation, but where it (and the kernel) were stored.
findmnt -T /boot
file /boot/vmlinuz-linux-lts
ls -l /bootOnline
Thanks to all for this help. What solved it was removing rEFInd and replacing it with systemdboot. Having a separate /efi instead of /boot/efi apparently matters, as per the wiki.
Offline
It doesn't matter, assuming you're configuring things correctly.
The only path that actually matters assuming a default setup is whether you mount the ESP to /boot or anywhere else. If anywhere else you need a bootloader that can read the kernels from your root partitions /boot directory (refind qualifies for this and I'm assuming this was actually your original setup) if you after the fact configure the ESP to get mounted to /boot you are masking that path, and kernels aren't generated into the correct spot because they will now land on your /boot partition instead of the directory they were originally configured for.
You can always configure bootloaders and mkinitcpio image generation to deviate from this, but that would be explicit setup.
Offline