{
    "mode": "man",
    "parameter": "unmkinitramfs",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/unmkinitramfs/8/json",
    "generated": "2026-07-05T13:38:56Z",
    "synopsis": "unmkinitramfs [-v] initramfs-file directory",
    "sections": {
        "NAME": {
            "content": "unmkinitramfs - extract content from an initramfs image\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "unmkinitramfs [-v] initramfs-file directory",
            "subsections": [
                {
                    "name": "unmkinitramfs -h",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The unmkinitramfs command extracts the content of a given initramfs image using cpio.  If the\nimage contains multiple segments, each are passed to cpio in order.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h",
                    "content": "",
                    "flag": "-h"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                }
            ]
        },
        "USAGE EXAMPLES": {
            "content": "Extract initramfs content of current running kernel:\n\n",
            "subsections": [
                {
                    "name": "unmkinitramfs /boot/initrd.img-$(uname -r) initramfs/",
                    "content": ""
                }
            ]
        },
        "BUGS": {
            "content": "unmkinitramfs cannot deal with multiple-segmented initramfs images,  except  where  an  early\n(uncompressed)  initramfs  with  system  firmware  is  prepended  to  the  regular compressed\ninitramfs.\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "The initramfs-tools are written by Maximilian Attems <maks@debian.org> and numerous others.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "initramfs-tools(7), lsinitramfs(8), mkinitramfs(8), update-initramfs(8).\n\n\n\ninitramfs-tools                              2016/12/15                             UNMKINITRAMFS(8)",
            "subsections": []
        }
    },
    "summary": "unmkinitramfs - extract content from an initramfs image",
    "flags": [
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "initramfs-tools",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/initramfs-tools/7/json"
        },
        {
            "name": "lsinitramfs",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/lsinitramfs/8/json"
        },
        {
            "name": "mkinitramfs",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mkinitramfs/8/json"
        },
        {
            "name": "update-initramfs",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/update-initramfs/8/json"
        }
    ]
}