Article 6NFSR initrd.gz too large

initrd.gz too large

by
kevmccor
from LinuxQuestions.org on (#6NFSR)
I am wondering why my initrd-5.15.160.gz is so large. At 17779860 it is over twice the size of the generic kernel. No problems booting and no errors in dmesg. I include the vfat module for some reason I can't remember (probably because /boot/efi/EFI is vfat), so is it necessary?
Quote:
# ls -l /boot/efi/EFI/Slackware/
total 44518
-rwxr-xr-x 1 root root 365 Jun 12 08:49 elilo.conf*
-rwxr-xr-x 1 root root 165 May 18 21:46 elilo.conf~*
-rwxr-xr-x 1 root root 238531 Jun 12 2018 elilo.efi*
-rwxr-xr-x 1 root root 17779860 Jun 12 08:42 initrd-5.15.160.gz*
-rwxr-xr-x 1 root root 8080384 May 18 19:52 intel-ucode.cpio*
-rwxr-xr-x 1 root root 7830976 Jun 12 08:41 vmlinuz-generic-5.15.160*
-rwxr-xr-x 1 root root 11652576 Jun 12 08:43 vmlinuz-huge-5.15.160*
I use this command to generate the initrd:
# mkinitrd -F -c -k 5.15.160
And these are the settings from mkinitrd.conf:
Quote:
OUTPUT_IMAGE="/boot/initrd-%KVER%.gz"
MODULE_LIST="ext4:mbcache:jbd2:vfat:crc32c_intel:crc32c_generic"
ROOTDEV="/dev/nvme0n1p4"
ROOTFS="ext4"
RESUMEDEV="/dev/nvme0n1p3"
MICROCODE_ARCH="/boot/intel-ucode.cpio"
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments