!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

81 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5125 Servers

Load older messages


SenderMessageTime
24 Apr 2023
@aktaboot:tchncs.de@aktaboot:tchncs.dewhat's the differenc ebetween boot.inird.kernelModules and boot.kernelModules ?21:34:21
@lily:lily.flowers@lily:lily.flowersYou can unpack your initrd and see what's taking up so much space directly21:34:30
@aktaboot:tchncs.de@aktaboot:tchncs.deright' it's a cpio archive ? no .. it's an efi ?21:34:56
@lily:lily.flowers@lily:lily.flowers nix shell nixpkgs#dracut --run lsinitrd --unpack $(readlink -f /run/current-system/initrd) should unpack into current dir 21:35:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.org boot.initrd.kernelModules are the modules that must be loaded early during initrd. boot.kernelModules are the modules that must be loaded early during stage 2. boot.initrd.availableKernelModules are the modules that are available during initrd for on-demand loading 21:35:11
@aktaboot:tchncs.de@aktaboot:tchncs.decpio archive disguised as efi ?21:35:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.org aktaboot: It's not an efi at all. No idea why it gets that suffix 21:35:33
@aktaboot:tchncs.de@aktaboot:tchncs.de
In reply to @elvishjerricco:matrix.org
boot.initrd.kernelModules are the modules that must be loaded early during initrd. boot.kernelModules are the modules that must be loaded early during stage 2. boot.initrd.availableKernelModules are the modules that are available during initrd for on-demand loading
thank's
21:35:42
@lily:lily.flowers@lily:lily.flowersIt's probably two cpios concatenated, with one compressed before concat21:35:42
@lily:lily.flowers@lily:lily.flowers(and if it's two, the first cpio is probably microcode and you probably don't care about it)21:36:20
@aktaboot:tchncs.de@aktaboot:tchncs.de
In reply to @lily:lily.flowers
nix shell nixpkgs#dracut --run lsinitrd --unpack $(readlink -f /run/current-system/initrd) should unpack into current dir
isn't that nix run ?
21:38:15
@lily:lily.flowers@lily:lily.flowers
In reply to @aktaboot:tchncs.de
isn't that nix run ?
No because by default the dracut package would run dracut and we just want a specific bin from the dracut package
21:38:37
@aktaboot:tchncs.de@aktaboot:tchncs.defor some reason it's not working21:39:02
@lily:lily.flowers@lily:lily.flowers nix shell [pkg] --run [cmd] mostly does that. Just realized it needs quotes though I think 21:39:03
@lily:lily.flowers@lily:lily.flowers * nix shell nixpkgs#dracut --run "lsinitrd --unpack $(readlink -f /run/current-system/initrd)" should unpack into current dir 21:39:16
@aktaboot:tchncs.de@aktaboot:tchncs.deerror: unrecognised flag '--run`21:39:16
@aktaboot:tchncs.de@aktaboot:tchncs.de * error: unrecognised flag '--run 21:39:20
@lily:lily.flowers@lily:lily.flowersOh... Let me go check manual page real quick21:39:28
@elvishjerricco:matrix.org@elvishjerricco:matrix.org It's nix shell [pkg] -c [cmd], no quotes required for [cmd] 21:39:41
@lily:lily.flowers@lily:lily.flowers I might be confusing nix-shell and nix shell. If it's not --run it's probably -c 21:39:41
@lily:lily.flowers@lily:lily.flowers * nix shell nixpkgs#dracut -c lsinitrd --unpack $(readlink -f /run/current-system/initrd) should unpack into current dir 21:39:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.org everything after -c becomes argv 21:40:04
@aktaboot:tchncs.de@aktaboot:tchncs.dethanks :)21:40:47
@aktaboot:tchncs.de@aktaboot:tchncs.dethe big blobs : systemd-stage-1 openssl btrfs-progs and tpm2-tss21:41:56
@lily:lily.flowers@lily:lily.flowers (yes, thank you for remembering ElvishJerricco. I get those flags confused more often than I should...) 21:42:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.orghm didn't realize btrfs-progs was large21:42:31
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgnever used btrfs :P21:42:41
@aktaboot:tchncs.de@aktaboot:tchncs.de4.8 MiB21:42:53
@aktaboot:tchncs.de@aktaboot:tchncs.deI forgot i have btrfs actually, I occasionally remember i set it up21:43:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.org yea, looking into mine, which is 27M, I thought a lot of it would be plymouth but it's basicaly none because I use the bgrt theme 21:43:18

Show newer messages


Back to Room ListRoom Version: 6