!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

587 Members
NixOS ❤️ systemd162 Servers

Load older messages


SenderMessageTime
4 Mar 2025
@arianvp:matrix.orgArianwhich is not great14:07:02
@emilazy:matrix.orgemily ok I know this is a total digression at this point but given the problems with booting with kexec, has anyone managed to get Linux running in the UEFI boot services environment? like just have it not exit that so you can use Linux to prepare an image to boot in the "normal" UEFI way 14:07:02
@raitobezarius:matrix.orgraitobezariusyes14:07:11
@raitobezarius:matrix.orgraitobezariusit's called LinuxBoot14:07:19
@raitobezarius:matrix.orgraitobezariusi mean14:07:27
@emilazy:matrix.orgemilyhmm I thought LinuxBoot rather replaced UEFI14:07:28
@raitobezarius:matrix.orgraitobezariusnot exactly ok14:07:29
@kranzes:matrix.orgIlan Joselevich (Kranzes) tvix boot but awesome 14:07:29
@raitobezarius:matrix.orgraitobezariusno you're right14:07:33
@raitobezarius:matrix.orgraitobezariussome of the linuxboot pieces does kexec14:07:37
@raitobezarius:matrix.orgraitobezariushere's another one14:07:41
@arianvp:matrix.orgArianLennartOS14:07:46
@raitobezarius:matrix.orgraitobezariusit's not Linux14:07:48
@raitobezarius:matrix.orgraitobezariusbut14:07:48
@raitobezarius:matrix.orgraitobezarius https://github.com/u-root/u-root 14:07:54
@raitobezarius:matrix.orgraitobezariusclose enough14:07:55
@raitobezarius:matrix.orgraitobezariusu-root has a UEFI BootServices-only Linux loader14:08:09
@emilazy:matrix.orgemilyI guess the real problem with kexec is Linux drivers getting hardware into unusual state though. so the hard part is not running Linux drivers14:08:15
@emilazy:matrix.orgemilyyou'd need a suite of drivers that use the UEFI boot services protocols I suppose14:08:17
@arianvp:matrix.orgArian

⁦ok I know this is a total digression at this point

should be the topic of this channel

14:08:39
@raitobezarius:matrix.orgraitobezariusyeah, I had a plan for this for aarch64 systems14:08:26
@raitobezarius:matrix.orgraitobezariusthere's no OptionROM for classical SAS controllers14:08:44
@raitobezarius:matrix.orgraitobezariusso I planned to write a Rust UEFI driver off mpt3sas14:08:45
@emilazy:matrix.orgemily (the root of this chain of thought is "run Nix in netboot code" → "nobody wants to port Nix to UEFI" → "just run Linux but do normal UEFI boot instead of kexec somehow?") 14:09:08
@raitobezarius:matrix.orgraitobezariuswe have plans for Tvix in UEFI though14:09:19
@kranzes:matrix.orgIlan Joselevich (Kranzes)Are the plans in the room with us?14:09:39
@kranzes:matrix.orgIlan Joselevich (Kranzes) 🤣 14:09:44
@raitobezarius:matrix.orgraitobezariusthey are in the rooms, my dear Kranzes14:09:46
@emilazy:matrix.orgemilyyeah I guess that works :)14:09:49
@raitobezarius:matrix.orgraitobezariustvix-boot specifically could be alloc-only instead of std14:10:04

Show newer messages


Back to Room ListRoom Version: 6