{"id":483,"date":"2019-09-01T23:09:08","date_gmt":"2019-09-02T04:09:08","guid":{"rendered":"https:\/\/tanzeelkazi.com\/blog\/?p=483"},"modified":"2019-09-01T23:09:09","modified_gmt":"2019-09-02T04:09:09","slug":"extracting-initrd-images","status":"publish","type":"post","link":"https:\/\/tanzeelkazi.com\/blog\/2019\/09\/01\/extracting-initrd-images\/","title":{"rendered":"Extracting initial RAM drive (initrd) images"},"content":{"rendered":"\n<p>This post is my way of having a sticky to see how to extract initial RAM disk images.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Plain ol&#8217; gzip &#8211; initrd.gz<\/h2>\n\n\n\n<p>Extracts the contents of the archive to the current directory.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\n$ gunzip initrd.gz\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">2. CPIO images &#8211; initrd.img<\/h2>\n\n\n\n<p>Extracts the contents of the CPIO image to the current directory.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; gutter: false; title: ; notranslate\" title=\"\">\n$ cpio -idv -F initrd.img\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>This post is my way of having a sticky to see how to extract initial RAM disk images. 1. Plain ol&#8217; gzip &#8211; initrd.gz Extracts the contents of the archive to the current directory. 2. CPIO images &#8211; initrd.img Extracts the contents of the CPIO image to the current directory.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[48],"class_list":["post-483","post","type-post","status-publish","format-standard","hentry","category-misc","tag-initrd"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/posts\/483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/comments?post=483"}],"version-history":[{"count":3,"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/posts\/483\/revisions"}],"predecessor-version":[{"id":509,"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/posts\/483\/revisions\/509"}],"wp:attachment":[{"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/media?parent=483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/categories?post=483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tanzeelkazi.com\/blog\/wp-json\/wp\/v2\/tags?post=483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}