Mohit Choudhary
linkedin github rss
/posts/projects/notes/tags Light Dark Auto
Initrd
Posted on 2026-08-19 :: Updated on 2026-08-22:: os-install

Extract

xzcat initrd.img | cpio -id

-i extract
-d create dirs

Check content

# show content of initramfs of current kernel
lsinitrd

# show content of specific initramfs file
lsinitrd path/to/initramfs.img

Sources

Questions

Related

  • cobbler
  • anaconda
  • inspect-vm-filesystem
  • dd
  • grub
  • booting-linux-on-x86-64