{"id":6168,"date":"2023-05-23T16:51:47","date_gmt":"2023-05-23T13:51:47","guid":{"rendered":"https:\/\/skeletor.org.ua\/?p=6168"},"modified":"2023-05-31T16:26:05","modified_gmt":"2023-05-31T13:26:05","slug":"linux-grub-some-modules-may-be-missing-from-core-image-warning","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=6168","title":{"rendered":"[Linux] GRUB &#8220;Some modules may be missing from core image&#8221; warning"},"content":{"rendered":"\n<p>\u0414\u0430\u043d\u0435 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0437\u02bc\u044f\u0432\u043b\u044f\u0454\u0442\u044c\u0441\u044f \u043a\u043e\u043b\u0438 \u0454 \u0434\u0435\u044f\u043a\u0456 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0437 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\u043c <strong>grub<\/strong>. \u041d\u0435 \u0437\u0432\u0430\u0436\u0430\u044e\u0447\u0438, \u0449\u043e \u0446\u0435 <strong>warning<\/strong>, \u043f\u043e \u0441\u0443\u0442\u0456 \u0446\u0435 <strong>error<\/strong>, \u0431\u043e <strong>grub <\/strong>\u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u0442\u044c\u0441\u044f \u043f\u043e\u0432\u043d\u0456\u0441\u0442\u044e. \u041f\u043e\u0440\u0430\u0434\u0438 \u0437 \u0456\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456<\/p>\n\n\n\n<p><code># grub-mkdevicemap -n; grub-install --recheck \/dev\/sda<\/code><\/p>\n\n\n\n<p>\u0430\u043b\u0435 \u0446\u0435 \u0434\u043e\u043f\u043e\u043c\u0430\u0433\u0430\u0454 \u043d\u0435 \u0432\u0441\u0456\u043c. \u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 <strong>soft raid md<\/strong>, \u0442\u043e \u0443 \u043a\u043e\u0434\u0456 \u0454 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0430<\/p>\n\n\n<p><!--more--><\/p>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#056d3f\" class=\"has-inline-color\">\/* TRANSLATORS: This message kicks in during the detection of which modules needs to be included in core image. This happens in the case of degraded RAID and means that autodetection may fail to include some of modules. It&#8217;s an installation time\u00a0\u00a0 message, not runtime message.\u00a0 *\/<\/mark><\/p>\n<\/blockquote>\n\n\n\n<p>\u0422\u043e\u0431\u0442\u043e, \u0442\u0440\u0435\u0431\u0430 \u0434\u043e\u0447\u0435\u043a\u0430\u0442\u0438\u0441\u044f \u0437\u0430\u043a\u0456\u043d\u0447\u0435\u043d\u043d\u044f \u043f\u0435\u0440\u0435\u0431\u0443\u0434\u043e\u0432\u0438 <strong>RAID&#8217;a <\/strong>\u0456 \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0442\u0438 \u0437\u043d\u043e\u0432\u0443. \u042f\u043a\u0449\u043e \u0456 \u0446\u0435 \u043d\u0435 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0430\u0454, \u0442\u043e \u0442\u0440\u0435\u0431\u0430 \u043e\u0431\u043e\u0432\u02bc\u044f\u0437\u043a\u043e\u0432\u043e\u0433\u043e \u0437\u0440\u043e\u0431\u0438\u0442\u0438 <strong>chroot <\/strong>\u0456 \u0432\u0436\u0435 \u0437-\u043f\u0456\u0434 \u043d\u044c\u043e\u0433\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 <strong>grub<\/strong>:<\/p>\n\n\n<p><code># mount \/dev\/md0 \/mnt<br>\n# cd \/mnt<br>\n# mount -t proc proc proc\/<br>\n# mount --rbind \/sys sys\/<br>\n# mount --rbind \/dev dev\/<br>\n# chroot \/mnt \/bin\/bash<br>\n# grub-install \/dev\/sda<br>\n# update-grub<br>\n<\/code><\/p>","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u043d\u0435 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0437\u02bc\u044f\u0432\u043b\u044f\u0454\u0442\u044c\u0441\u044f \u043a\u043e\u043b\u0438 \u0454 \u0434\u0435\u044f\u043a\u0456 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0437 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\u043c grub. \u041d\u0435 \u0437\u0432\u0430\u0436\u0430\u044e\u0447\u0438, \u0449\u043e \u0446\u0435 warning, \u043f\u043e \u0441\u0443\u0442\u0456 \u0446\u0435 error, \u0431\u043e grub \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u0442\u044c\u0441\u044f \u043f\u043e\u0432\u043d\u0456\u0441\u0442\u044e. \u041f\u043e\u0440\u0430\u0434\u0438 \u0437 \u0456\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456 # grub-mkdevicemap -n; grub-install &#8211;recheck \/dev\/sda \u0430\u043b\u0435 \u0446\u0435 \u0434\u043e\u043f\u043e\u043c\u0430\u0433\u0430\u0454 \u043d\u0435 \u0432\u0441\u0456\u043c. \u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 soft raid md, \u0442\u043e \u0443 \u043a\u043e\u0434\u0456 \u0454 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0430<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-6168","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6168"}],"version-history":[{"count":3,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6168\/revisions"}],"predecessor-version":[{"id":6183,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6168\/revisions\/6183"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}