| 24 Apr 2023 |
@elvishjerricco:matrix.org | lemme try with plymouth... | 21:26:01 |
@aktaboot:tchncs.de | I dont have plymouth | 21:26:10 |
@aktaboot:tchncs.de | I just haver 15 initrd | 21:26:14 |
@aktaboot:tchncs.de | * I just have 15 initrds | 21:26:18 |
@elvishjerricco:matrix.org | And how big is the typical one of them? | 21:26:43 |
@aktaboot:tchncs.de | 25.4 MiB | 21:26:57 |
@elvishjerricco:matrix.org | that still seems weirdly large... | 21:27:30 |
@aktaboot:tchncs.de | true, I have cryptsetup | 21:27:46 |
@aktaboot:tchncs.de | that should make it bigger. The thing I'm worried about is that I do not have 15 generations, I have 5 | 21:28:51 |
@aktaboot:tchncs.de | I do have multiple specializations, but their initrds do not differ 🤔 | 21:29:25 |
@elvishjerricco:matrix.org | Even with both plymouth and luks in there, I only get 24M max... | 21:29:25 |
@aktaboot:tchncs.de | unless! kernel modules! | 21:29:34 |
@aktaboot:tchncs.de | it's the kernel modules for nvidia! | 21:29:44 |
@elvishjerricco:matrix.org | oh | 21:29:56 |
@aktaboot:tchncs.de | I blame nvidia! | 21:29:57 |
@elvishjerricco:matrix.org | yea a gpu driver would do it | 21:30:02 |
@elvishjerricco:matrix.org | are gpu drivers included in initrd by default in nixos? | 21:30:18 |
@elvishjerricco:matrix.org | My AMD driver isn't I don't think | 21:30:26 |
@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 | yea my desktop has plymouth and networking enabled and it's only 27M, but I don't have amdgpu in there | 21:31:44 |
@elvishjerricco:matrix.org | I wouldn't expect any of those modules to add all that much space | 21:31:58 |
@aktaboot:tchncs.de | probably some old copy pasta from somewhere 🤔 I have no idea why I have these | 21:32:19 |
@aktaboot:tchncs.de | oh | 21:32:30 |
@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 | and dm-snapshot | 21:32:54 |
@elvishjerricco:matrix.org | I also don't have that one I don't think. But still that doesn't seem like a big space consumer | 21:33:25 |
@aktaboot:tchncs.de | what's the differenc ebetween boot.inird.kernelModules and boot.kernelModules ? | 21:34:21 |
@lily:lily.flowers | You can unpack your initrd and see what's taking up so much space directly | 21:34:30 |
@aktaboot:tchncs.de | right' it's a cpio archive ? no .. it's an efi ? | 21:34:56 |
@lily:lily.flowers | nix shell nixpkgs#dracut --run lsinitrd --unpack $(readlink -f /run/current-system/initrd) should unpack into current dir | 21:35:06 |