Skip to content

Commit

Permalink
dracut: add few more setting to reduce initramfs size on Debian
Browse files Browse the repository at this point in the history
Review content of initramfs on Debian, and remove biggest yet unused
parts.

QubesOS/qubes-issues#8649
  • Loading branch information
marmarek committed Nov 25, 2024
1 parent 968d5f1 commit e9e5b81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions boot/dracut-qubes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e9e5b81

Please sign in to comment.