Skip to content

Commit e9e5b81

Browse files
committed
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
1 parent 968d5f1 commit e9e5b81

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

boot/dracut-qubes.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,10 @@ omit_dracutmodules+=" ifcfg qemu-net i18n resume mdraid terminfo crypt lunmask n
1414
# confidential computing is not a Qubes feature). This saves about 5MB (20%) of
1515
# initramfs size.
1616
omit_dracutmodules+=" tpm2-tss "
17+
18+
# Exclude plymouth, as it pulls in a lot of graphical stack, including GPU
19+
# drivers, and none of the boot screen is visible in a qube anyway
20+
omit_dracutmodules+=" plymouth "
21+
22+
# Exclude microcode, as VM cannot load it anyway, saves over 10MB of space
23+
early_microcode="no"

0 commit comments

Comments
 (0)