| 4 Mar 2025 |
@adam:robins.wtf | * If you're controlling the kernel you're netbooting, is there a need to kexec? | 14:12:32 |
emily | so what I mean by "nix store netboot" is that you would have a ~permanent UEFI thing implementing "fetch a NixOS system to run (incl. disk caching) and boot into it" | 14:13:20 |
emily | in the same way that a PXE implementation or whatever is permanently installed | 14:13:34 |
@adam:robins.wtf | right | 14:13:45 |
emily | so you would want to handle getting a newer kernel, yeah | 14:13:45 |
emily | conventional-netbooting into the implementation of that might make sense too though | 14:14:09 |
raitobezarius | non conventional netbooting cannot work for this | 14:14:17 |
@adam:robins.wtf | the pxe server could provide a newer kernel | 14:14:31 |
emily | my hope was to avoid PXE :) | 14:15:03 |
@adam:robins.wtf | :) | 14:15:22 |
Willi Butz | in case someone didn't see this already :)
https://github.com/systemd/systemd/pull/36314 | 14:16:16 |
raitobezarius | yeah this is the cool shit | 14:17:01 |
raitobezarius | now i want wireguard | 14:17:05 |
emily | soon systemd-boot will be the new GRUB :) | 14:17:36 |
raitobezarius | this doesn't touch sd-boot! :p | 14:17:54 |
raitobezarius | or just enough to make itreasonable | 14:18:01 |
emily | hmm, it seemed to a fair bit from the diff | 14:18:04 |
raitobezarius | (like leaning on UEFI semantics, it's ok) | 14:18:08 |
emily | is it in the shim then? | 14:18:20 |
emily | stub? whatever they call it | 14:18:26 |
raitobezarius | my understanding is that stub + boot learns about URLs | 14:18:34 |
raitobezarius | wrt to EFI drivers | 14:18:38 |
raitobezarius | and it's still pid1 doing the work | 14:18:43 |
raitobezarius | it's a lot of diff because UEFI and strings lol | 14:18:55 |
emily | ah, so you still have to get a kernel | 14:18:55 |
raitobezarius | yep | 14:18:59 |
raitobezarius | but the kernel can come from an URL as long as you have the right EFI driver | 14:19:10 |
emily | that sort of makes it not as interesting to me I guess – avoiding downloading the entire system on every boot was part of why I was curious about using Nix for this | 14:19:35 |
emily | cool all the same though | 14:19:51 |
raitobezarius | we are back to kindof a specialized bootloader like iPXE | 14:20:32 |