You are not logged in.

#1 2024-12-16 15:17:00

zpg443
Member
Registered: 2016-12-03
Posts: 315

[SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

#2 2024-12-16 15:23:38

cryptearth
Member
Registered: 2024-02-03
Posts: 2,162

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

have you updated the kernel along systemd?
sounds like boot kernel + initrd are out of sync with rest of the system

Offline

#3 2024-12-16 15:38:12

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

#4 2024-12-16 16:57:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,197

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

#5 2024-12-16 17:44:02

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

#6 2024-12-16 20:19:30

cryptearth
Member
Registered: 2024-02-03
Posts: 2,162

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

zpg443 wrote:

Although /efi is a replacement for the historical and now discouraged ESP mountpoint /boot/efi

do you have any sources for this?

Offline

#7 2024-12-16 20:29:35

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

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

Offline

#8 2024-12-16 20:36:59

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

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

zpg443 wrote:

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

#9 2024-12-16 23:23:41

cryptearth
Member
Registered: 2024-02-03
Posts: 2,162

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

Scimmia wrote:
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

#10 2024-12-16 23:52:00

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

#11 2024-12-17 00:00:53

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

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

The *package* was updated. The image where the bootloader is getting it from was not.

Offline

#12 2024-12-17 00:34:58

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

It was successful when running mkinitcpio -P.

Offline

#13 2024-12-17 08:27:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,673

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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 /boot

Online

#14 2024-12-17 15:51:42

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

#15 2024-12-17 22:19:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,197

Re: [SOLVED] Systemd upgrade from 256.9-1 to 257-1 failure

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

Board footer

Powered by FluxBB