# unmkinitramfs - extract content from an initramfs image - man(8) - [phpMan]

[_UNMKINITRAMFS_(8)](https://www.chedong.com/phpMan.php/man/UNMKINITRAMFS/8/markdown)                        System Administration                       [_UNMKINITRAMFS_(8)](https://www.chedong.com/phpMan.php/man/UNMKINITRAMFS/8/markdown)

## NAME
       unmkinitramfs - extract content from an initramfs image


## SYNOPSIS
       **unmkinitramfs **[**-v**] _initramfs-file_ _directory_
### unmkinitramfs -h


## DESCRIPTION
       The **unmkinitramfs **command extracts the content of a given initramfs image using **cpio**.  If the
       image contains multiple segments, each are passed to **cpio **in order.


## OPTIONS
### -h     


### -v     



## USAGE EXAMPLES
       Extract initramfs content of current running kernel:


### unmkinitramfs /boot/initrd.img-$(uname -r) initramfs/



## BUGS
       **unmkinitramfs  **cannot  deal  with  multiple-segmented initramfs images, except where an early
       (uncompressed) initramfs  with  system  firmware  is  prepended  to  the  regular  compressed
       initramfs.


## AUTHOR
       The initramfs-tools are written by Maximilian Attems <<maks@debian.org>> and numerous others.


## SEE ALSO
       [_initramfs-tools_(7)](https://www.chedong.com/phpMan.php/man/initramfs-tools/7/markdown), [_lsinitramfs_(8)](https://www.chedong.com/phpMan.php/man/lsinitramfs/8/markdown), [_mkinitramfs_(8)](https://www.chedong.com/phpMan.php/man/mkinitramfs/8/markdown), [_update-initramfs_(8)](https://www.chedong.com/phpMan.php/man/update-initramfs/8/markdown).

initramfs-tools                              2016/12/15                             [_UNMKINITRAMFS_(8)](https://www.chedong.com/phpMan.php/man/UNMKINITRAMFS/8/markdown)
