FS#65726 - [systemd] Upgrade to systemd 245 breaks default boot option
Attached to Project:
Arch Linux
Opened by rainer (raneon) - Friday, 06 March 2020, 20:59 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 07:52 GMT
Opened by rainer (raneon) - Friday, 06 March 2020, 20:59 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 07:52 GMT
|
Details
After upgrading to systemd 245 (currently in testing), my
system doesn't boot anymore to the default boot option
defined in /boot/loader/loader.conf. My system boots by
default to the normal linux kernel, but I do have linux-lts
and memtest86-efi installed too. After the upgrade to
systemd 245 now memtest86 starts.
Additional info: * systemd 245 * systemd-boot Steps to reproduce: 1. Upgrade to systemd 245 2. reboot 3. wrong system boots /boot/loader/loader.conf default archlinux timeout 0 |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 25 September 2023, 07:52 GMT
Reason for closing: Fixed
Additional comments about closing: Old and stale. Assuming this is no longer an issue these days. But if so, please report upstream.
Monday, 25 September 2023, 07:52 GMT
Reason for closing: Fixed
Additional comments about closing: Old and stale. Assuming this is no longer an issue these days. But if so, please report upstream.
I ran `bootctl set-default option2.conf` and then `bootctl list` to confirm that option2 was the default entry (of four).
Rebooted and it autoselected option 4.
Changed the loader default to option2 (removed the .conf) and rebooted and the correct image, option2 was autoselected.
Can someone please confirm that the .conf is in fact not necessary, as per the man page, and when used in conjunction with bootctl set-default actually breaks the intended functionality?
systemd 245-3
Working loader.conf:
default jwr
timeout 2
I say .conf does not need to be in loader.conf at all.
By that I mean entries in 'loader/entries' don't need to be in loader.conf, not even 'default'
As said in https://bbs.archlinux.org/viewtopic.php?pid=1891504#p1891504
edit: you can try by installing a new kernel, create a *.conf in entries and setting it default with bootctl without adding any *.conf to loader.conf.