You are not logged in.

#1 2022-09-02 21:37:52

Loader009
Member
Registered: 2021-02-28
Posts: 11

[INFO] systemd-boot ignores loader.conf

Hey there,

after the grub catastrophe, I had another one with systemd-boot.

I have the lts kernel installed and I've set up several configs to boot from different kernels.

loader.conf

is pointing to the config for the lts kernel.

bootctl status

showed that the config for the normal kernel has been used - loader.conf still pointed to the lts kernel config.
I had to use

bootctl set-default xxx.conf

to correct that.

I guess systemd deprecated the loader.conf, I have no idea where those settings are saved now - I guess somewhere in the efivars.

Be careful guys, always have a proper rescue usb stick laying around!

Greetings

Last edited by Loader009 (2022-09-02 21:38:08)

Offline

#2 2022-09-02 23:06:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [INFO] systemd-boot ignores loader.conf

It most definitely does not ignore loader.conf. As the wiki states, if you set it in the menu, it saves that to nvram overriding loader.conf, but I can't think of something you could do there that would require booting a different system to fix. You don't need a default when you can pick it from the menu.

Offline

#3 2022-09-03 07:59:18

Loader009
Member
Registered: 2021-02-28
Posts: 11

Re: [INFO] systemd-boot ignores loader.conf

The menu only showed "boot into EFI firmware" (it shuts off then).
I had to boot from a usb stick to check everything - the loader.conf is there, the arch-linux-lts.conf was set (arch-linux.conf and arch-linux-hardened.conf is there too, as previously said, I created them to choose between kernels - only the lts kernel is currently installed).
I have to check nvram options then.

Last edited by Loader009 (2022-09-03 07:59:35)

Offline

Board footer

Powered by FluxBB