Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018)
by danellis on Wednesday April 01, 2020 @07:21PM
(#22754603)
Which components are shared between userland and the UEFI environment?
[ Parent
| on HN ]
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018)
by pengaru on Wednesday April 01, 2020 @07:40PM
(#22754723)
I don't really understand what you're asking.
Edit:
Do you mean the component that actually implements the boot loader? I'm not sure if there's any sharing there at this time, it's probably largely as-is from the gummiboot import. This isn't an area I've worked on personally, but you can poke around if you want:
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018)
by qqssccfftt on Wednesday April 01, 2020 @07:25PM
(#22754624)
Whatever magic is powering the ability to just run ``systemctl kexec`` and have it automatically reboot into the same kernel you selected at boot without going through UEFI again.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018)
by yjftsjthsd-h on Wednesday April 01, 2020 @07:47PM
(#22754771)
kexec works fine if you invoke it directly and tell it what kernel+initrd to use, regardless of bootloader; if anything, I'd consider it a failing that systemd can't manage to control a kexec without controlling the bootloader as well