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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.