Size of the initramfs for the updated kernel is very large (70MB or more)
Issue
-
The initramfs on the system is getting created with larger size, whereas it should be expected between ~20-40MB
# uname -r 3.10.0-1160.el7.x86_64 # ls -lrth /boot/initramfs-3.10.0-1160.el7.x86_64.img -rw-------. 1 root root 77M Apr 7 10:14 /boot/initramfs-3.10.0-1160.el7.x86_64.img -
Any initramfs files created are suddenly huge over 300mb in space.
The command used was: # dracut -f /boot/initramfs-5.14.0-570.39.1.el9_6.x86_64.img 5.14.0-570.39.1.el9_6.x86_64
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.