{"id":3345,"date":"2022-12-20T17:02:24","date_gmt":"2022-12-20T20:02:24","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/mkinitrd-man8-2\/"},"modified":"2022-12-20T17:02:24","modified_gmt":"2022-12-20T20:02:24","slug":"mkinitrd-man8-2","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/mkinitrd-man8-2\/","title":{"rendered":"MKINITRD (man8)"},"content":{"rendered":"<h1 align=\"center\">MKINITRD<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#AVAILABILITY\">AVAILABILITY<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">mkinitrd \u2212 is a compat wrapper, which calls dracut to generate an initramfs<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>mkinitrd<\/b> [<i>OPTION&#8230;<\/i>] [<initrd\u2212image>] <kernel\u2212version><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">mkinitrd creates an initramfs image <initrd\u2212image> for the kernel with version <kernel\u2212version> by calling &#8220;dracut&#8221;.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b><big>Important<\/big><\/b> <br \/> If a more fine grained control over the resulting image is needed, &#8220;dracut&#8221; should be called directly.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><big>\u2212\u2212version<\/big><\/b><\/p>\n<p style=\"margin-left:17%;\"><big>print info about the version<\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><b>\u2212v, \u2212\u2212verbose<\/b><\/big><\/p>\n<p style=\"margin-left:17%;\"><big>increase verbosity level<\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><b>\u2212f, \u2212\u2212force<\/b><\/big><\/p>\n<p style=\"margin-left:17%;\"><big>overwrite existing initramfs file.<\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><b>*\u2212\u2212image\u2212version<\/b><\/big><\/p>\n<p style=\"margin-left:17%;\"><big>append the kernel version to the target image <initrd\u2212image>\u2212<kernel\u2212version>.<\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><b>\u2212\u2212with=<module><\/b><\/big><\/p>\n<p style=\"margin-left:17%;\"><big>add the kernel module <module> to the initramfs.<\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><b>\u2212\u2212preload=<module><\/b><\/big><\/p>\n<p style=\"margin-left:17%;\"><big>preload the kernel module <module> in the initramfs before any other kernel modules are loaded. This can be used to ensure a certain device naming, which should in theory be avoided and the use of symbolic links in \/dev is encouraged.<\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><b>\u2212\u2212nocompress<\/b><\/big><\/p>\n<p style=\"margin-left:17%;\"><big>do not compress the resulting image.<\/big><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><b>\u2212\u2212help<\/b><\/big><\/p>\n<p style=\"margin-left:17%;\"><big>print a help message and exit.<\/big><\/p>\n<h2>AVAILABILITY <a name=\"AVAILABILITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big>The mkinitrd command is part of the dracut package and is available from <b><font color=\"#0000FF\">https:\/\/dracut.wiki.kernel.org<\/font><\/b><\/big><\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\">Harald Hoyer<\/font><\/big><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><big><font color=\"#000000\"><b>dracut<\/b>(8)<\/font><\/big><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  mkinitrd \u2212 is a compat wrapper, which calls dracut to generate an initramfs <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,473],"class_list":["post-3345","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-mkinitrd"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3345"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3345\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}