!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

579 Members
NixOS ❤️ systemd159 Servers

Load older messages


SenderMessageTime
4 Mar 2025
@arianvp:matrix.orgArian anyhow we could just make /init a shell script that calls systemd and does this for us I guess 14:04:24
@arianvp:matrix.orgArianOrrrr… patch systemd14:04:29
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
I was thinking about that, but I figured anyone implementing such a scheme would take my statement as a compliment
which I did :D
14:04:35
@emilazy:matrix.orgemily I did try and fail to nerd snipe ElvishJerricco with the three words "nix store netboot" months ago 14:04:49
@raitobezarius:matrix.orgraitobezariusfor this, you would need a Linus Heckemann and snowboot14:05:04
@arianvp:matrix.orgArianthat’s basically what I am doing at work but in a not so good way14:05:05
@arianvp:matrix.orgArian we just do a nix-store —realise && kexec 14:05:25
@arianvp:matrix.orgArianin late boot14:05:29
@emilazy:matrix.orgemilyyeah that's basically what I was imagining14:05:37
@emilazy:matrix.orgemilywith a disk-backed store, so you get caching14:05:50
@raitobezarius:matrix.orgraitobezariusi need that but for… embedded systems, anyway14:06:16
@arianvp:matrix.orgArian Reason why I am doing this is because if your /etc/ is a bunch of symlinks to /nix/store sysusers and systemd-firstboot just write to files in the /nix/store when you’re not careful lol 14:06:59
@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

Show newer messages


Back to Room ListRoom Version: 6