From e9e5b81659a22648bd4a21990a09971793dcd1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 25 Nov 2024 23:44:05 +0100 Subject: [PATCH] dracut: add few more setting to reduce initramfs size on Debian Review content of initramfs on Debian, and remove biggest yet unused parts. QubesOS/qubes-issues#8649 --- boot/dracut-qubes.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boot/dracut-qubes.conf b/boot/dracut-qubes.conf index 9f65bbea..ea6d6b69 100644 --- a/boot/dracut-qubes.conf +++ b/boot/dracut-qubes.conf @@ -14,3 +14,10 @@ omit_dracutmodules+=" ifcfg qemu-net i18n resume mdraid terminfo crypt lunmask n # confidential computing is not a Qubes feature). This saves about 5MB (20%) of # initramfs size. omit_dracutmodules+=" tpm2-tss " + +# Exclude plymouth, as it pulls in a lot of graphical stack, including GPU +# drivers, and none of the boot screen is visible in a qube anyway +omit_dracutmodules+=" plymouth " + +# Exclude microcode, as VM cannot load it anyway, saves over 10MB of space +early_microcode="no"