!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
24 Apr 2023
@aktaboot:tchncs.de@aktaboot:tchncs.deI do have multiple specializations, but their initrds do not differ 🤔21:29:25
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgEven with both plymouth and luks in there, I only get 24M max...21:29:25
@aktaboot:tchncs.de@aktaboot:tchncs.deunless! kernel modules!21:29:34
@aktaboot:tchncs.de@aktaboot:tchncs.deit's the kernel modules for nvidia!21:29:44
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh21:29:56
@aktaboot:tchncs.de@aktaboot:tchncs.deI blame nvidia!21:29:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea a gpu driver would do it21:30:02
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgare gpu drivers included in initrd by default in nixos?21:30:18
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgMy AMD driver isn't I don't think21:30:26
@aktaboot:tchncs.de@aktaboot:tchncs.de
  availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "rtsx_usb_sdmmc"];

ok not nvidia, it's this

21:31:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea my desktop has plymouth and networking enabled and it's only 27M, but I don't have amdgpu in there21:31:44
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI wouldn't expect any of those modules to add all that much space21:31:58
@aktaboot:tchncs.de@aktaboot:tchncs.deprobably some old copy pasta from somewhere 🤔 I have no idea why I have these21:32:19
@aktaboot:tchncs.de@aktaboot:tchncs.deoh21:32:30
@elvishjerricco:matrix.org@elvishjerricco:matrix.org in fact the only one of those that isn't in my desktop's initrd is rtsx_usb_sdmmc 21:32:36
@aktaboot:tchncs.de@aktaboot:tchncs.de and dm-snapshot 21:32:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI also don't have that one I don't think. But still that doesn't seem like a big space consumer21:33:25
@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

Show newer messages


Back to Room ListRoom Version: 6