Why the initramfs image created by dracut includes a small number of files in Red Hat Enterprise Linux 7

Solution Unverified - Updated -

Issue

  • The initramfs image file created by dracut is a cpio archive. Normally, it's gzip format file.
  • I expanded it with cpio command, but it includes too small number of files.
# file initramfs-3.10.0-121.el7.x86_64.img
initramfs-3.10.0-121.el7.x86_64.img: ASCII cpio archive (SVR4 with no CRC)
# cpio -idmv < initramfs-3.10.0-121.el7.x86_64.img
.
kernel
kernel/x86
kernel/x86/microcode
kernel/x86/microcode/GenuineIntel.bin
early_cpio
42 blocks
  • Why doesn't it include a correct initramfs image data?

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content