{"id":2595,"date":"2021-01-08T23:25:10","date_gmt":"2021-01-08T14:25:10","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/?page_id=2595"},"modified":"2026-01-27T12:49:02","modified_gmt":"2026-01-27T12:49:02","slug":"uefi%e3%81%aa%e3%81%97%e3%81%aegrub2%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"page","link":"https:\/\/je1sgh.mydns.jp\/?page_id=2595","title":{"rendered":"UEFI\u306a\u3057\u306eGRUB2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n<p><a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1110\">Tech<\/a> &gt; <a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2320\">Linux<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e8f<\/h2>\n\n\n\n<p>\u5148\u306b\uff0cUEFI + GRUB2\u306e\u624b\u52d5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u307e\u3068\u3081\u307e\u3057\u305f\uff0e<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2591\" data-type=\"page\" data-id=\"2591\">UEFI + GRUB2 (Slackware)<\/a><\/li>\n<\/ul>\n\n\n\n<p>\u305d\u308c\u3067\u306f\uff0cUEFI\u3067\u306a\u3044\u53e4\u5178\u7684\u306aPC\u306b\uff0cGRUB2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30d6\u30fc\u30c8\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u304b\u306b\u3064\u3044\u3066\uff0c\u5fd8\u308c\u306a\u3044\u3046\u3061\u306b\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u6700\u8fd1\u306ePC\u306f\uff0cUEFI\u304c\u6a19\u6e96\u7684\u3067\u3059\u304c\uff0c\u4eee\u60f3\u30de\u30b7\u30f3(VM)\u74b0\u5883\u3067\u306f\uff0cUEFI\u304c\u8a2d\u5b9a\u3057\u306b\u304f\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u3053\u3068<\/h2>\n\n\n\n<p>grub\u306e\u30c4\u30fc\u30eb\u306bUEFI\u3067\u3042\u308b\u3068\u6df7\u540c\u3055\u305b\u308b\u3053\u3068\u3067\u3059\uff0e\u5177\u4f53\u7684\u306b\u306f\uff0c<code>\/boot\/efi<\/code>\u306bvfat\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u3067\u3059\uff0e<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070Debian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30b9\u30af\u3067<strong>Rescue<\/strong>\u3059\u308b\u5834\u5408\uff0c\u30eb\u30fc\u30c8\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u9078\u629e\u306e\u5f8c\u306bEFI\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u304b\u805e\u3044\u3066\u304d\u307e\u3059\u306e\u3067\uff0c <strong>&#8220;No&#8221;<\/strong>\u3092\u9078\u3073\u307e\u3059\uff08\u3053\u308c\u306f\u3059\u3079\u304d\u3053\u3068\u3067\u3059\uff09\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5fc5\u8981\u306a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3<\/h2>\n\n\n\n<p>\u30eb\u30fc\u30c8\u306e\u4ed6\u306b\uff0cGPT\u306e\u5834\u5408\u306f &#8220;BIOS boot&#8221; \u5c5e\u6027\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059<sup data-fn=\"0047d8e7-9d35-452e-b591-ec4cda3f29ae\" class=\"fn\"><a href=\"#0047d8e7-9d35-452e-b591-ec4cda3f29ae\" id=\"0047d8e7-9d35-452e-b591-ec4cda3f29ae-link\">1<\/a><\/sup> <sup data-fn=\"dfb06922-8da2-4d4b-853d-d42471f0d89a\" class=\"fn\"><a href=\"#dfb06922-8da2-4d4b-853d-d42471f0d89a\" id=\"dfb06922-8da2-4d4b-853d-d42471f0d89a-link\">2<\/a><\/sup>\uff0e\u9069\u5207\u306a\u30b5\u30a4\u30ba\u306f\uff0c<a href=\"https:\/\/en.wikipedia.org\/wiki\/BIOS_boot_partition\">Wikipedia\u306b\u3088\u308c\u3070\uff0c1MiB<\/a>\u3068\u3042\u308a\u307e\u3059\u306e\u3067\uff0c\u305d\u308c\u3088\u308a\u5927\u304d\u304f\u3057\u3066\u304a\u3051\u3070\u554f\u984c\u306a\u3044\u3067\u3057\u3087\u3046\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8d77\u52d5\u30c7\u30a3\u30b9\u30af\u3067\u306a\u3044\u30c7\u30a3\u30b9\u30af\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>OS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528\u306eDVD\u304b\u3089\u8d77\u52d5\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u5834\u5408\uff0cchroot\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e\u305d\u306e\u624b\u9806\u306f<a href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Installation\/Base\">Gentoo\u306e\u30de\u30cb\u30e5\u30a2\u30eb<\/a>\u306b\u8a73\u3057\u3044\u3067\u3059\uff08<a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2814\" data-type=\"page\" data-id=\"2814\">\u305d\u306e\u629c\u7c8b<\/a>\uff09\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/h2>\n\n\n\n<p><code>\/boot\/efi<\/code>\u306bvfat\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070<sup data-fn=\"a5e00230-a6a7-48b7-9126-b790665d06d3\" class=\"fn\"><a href=\"#a5e00230-a6a7-48b7-9126-b790665d06d3\" id=\"a5e00230-a6a7-48b7-9126-b790665d06d3-link\">3<\/a><\/sup>\uff0c<code>grub-install<\/code>\u306f\uff0c &#8220;i386-pc&#8221;\u3068\u5224\u65ad\u3057\u307e\u3059\u306e\u3067\uff0cMBR\u306e\u5834\u5408\u306f\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">grub-install  \/dev\/sda<\/pre>\n\n\n\n<p>GPT\u306e\u5834\u5408\u306f\uff0cBIOS boot \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092<code>\/dev\/sda1<\/code>\u3068\u3059\u308b\u3068\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">grub-install \/dev\/sda1<\/pre>\n\n\n\n<p>\u3067\u3059\uff0eError\u304c\u51fa\u308b\u5834\u5408\u306f\uff0c<code>\/dev\/sda<\/code>\u306b\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u3053\u306e\u3042\u3068\uff0c<code>grub.cfg<\/code>\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">grub-mkconfig -o \/boot\/grub\/grub.cfg<\/pre>\n\n\n\n<p>\u3068\u3057\u307e\u3059\uff0e\u3042\u3068\u306f\uff0c\u7121\u4e8b\u3092\u7948\u3063\u3066\u30d6\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n\n\n\n<p class=\"has-text-align-right\">\uff082021\u5e741\u67088\u65e5\uff09<\/p>\n\n\n<ol class=\"wp-block-footnotes\"><li id=\"0047d8e7-9d35-452e-b591-ec4cda3f29ae\">MBR\u306e\u5834\u5408\u306f\u4e0d\u8981\u306a\u306f\u305a\u3067\u3059\uff0e <a href=\"#0047d8e7-9d35-452e-b591-ec4cda3f29ae-link\" aria-label=\"Jump to footnote reference 1\">\u21a9\ufe0e<\/a><\/li><li id=\"dfb06922-8da2-4d4b-853d-d42471f0d89a\">ZRAM\u3092\u4f7f\u308f\u305a\uff0c\u5c02\u7528\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3067SWAP\u3059\u308b\u5834\u5408\u306fSWAP\u7528\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3082\u5fc5\u8981\u3067\u3059\uff0e <a href=\"#dfb06922-8da2-4d4b-853d-d42471f0d89a-link\" aria-label=\"Jump to footnote reference 2\">\u21a9\ufe0e<\/a><\/li><li id=\"a5e00230-a6a7-48b7-9126-b790665d06d3\"><a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1069\" data-type=\"page\" data-id=\"1069\">\u305f\u3076\u3093<\/a>\ud83d\ude13 <a href=\"#a5e00230-a6a7-48b7-9126-b790665d06d3-link\" aria-label=\"Jump to footnote reference 3\">\u21a9\ufe0e<\/a><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>Tech &gt; Linux \u5e8f \u5148\u306b\uff0cUEFI + GRUB2\u306e\u624b\u52d5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u307e\u3068\u3081\u307e\u3057\u305f\uff0e \u305d\u308c\u3067\u306f\uff0cUEFI\u3067\u306a\u3044\u53e4\u5178\u7684\u306aPC\u306b\uff0cGRUB2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30d6\u30fc\u30c8\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u304b\u306b\u3064\u3044\u3066\uff0c\u5fd8\u308c\u306a\u3044\u3046\u3061\u306b\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\uff0e \u6700\u8fd1\u306ePC\u306f\uff0cUEFI\u304c\u6a19\u6e96\u7684\u3067\u3059\u304c\uff0c\u4eee\u60f3\u30de\u30b7\u30f3(VM)\u74b0\u5883\u3067\u306f\uff0cUEFI\u304c\u8a2d\u5b9a\u3057\u306b\u304f\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\uff0e \u3057\u3066\u306f\u3044\u3051\u306a\u3044\u3053\u3068 grub\u306e\u30c4\u30fc\u30eb\u306bUEFI\u3067\u3042\u308b\u3068\u6df7\u540c\u3055\u305b\u308b\u3053\u3068\u3067\u3059\uff0e\u5177\u4f53\u7684\u306b\u306f\uff0c\/boot\/efi\u306bvfat\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u3067\u3059\uff0e \u4f8b\u3048\u3070Debian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30b9\u30af\u3067Rescue\u3059\u308b\u5834\u5408\uff0c\u30eb\u30fc\u30c8\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u9078\u629e\u306e\u5f8c\u306bEFI\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u304b\u805e\u3044\u3066\u304d\u307e\u3059\u306e\u3067\uff0c &#8220;No&#8221;\u3092\u9078\u3073\u307e\u3059\uff08\u3053\u308c\u306f\u3059\u3079\u304d\u3053\u3068\u3067\u3059\uff09\uff0e \u5fc5\u8981\u306a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3 \u30eb\u30fc\u30c8\u306e\u4ed6\u306b\uff0cGPT\u306e\u5834\u5408\u306f &#8220;BIOS boot&#8221; \u5c5e\u6027\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059 \uff0e\u9069\u5207\u306a\u30b5\u30a4\u30ba\u306f\uff0cWikipedia\u306b\u3088\u308c\u3070\uff0c1MiB\u3068\u3042\u308a\u307e\u3059\u306e\u3067\uff0c\u305d\u308c\u3088\u308a\u5927\u304d\u304f\u3057\u3066\u304a\u3051\u3070\u554f\u984c\u306a\u3044\u3067\u3057\u3087\u3046\uff0e \u8d77\u52d5\u30c7\u30a3\u30b9\u30af\u3067\u306a\u3044\u30c7\u30a3\u30b9\u30af\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb OS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528\u306eDVD\u304b\u3089\u8d77\u52d5\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u5834\u5408\uff0cchroot\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e\u305d\u306e\u624b\u9806\u306fGentoo\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u306b\u8a73\u3057\u3044\u3067\u3059\uff08\u305d\u306e\u629c\u7c8b\uff09\uff0e \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 \/boot\/efi\u306bvfat\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\uff0cgrub-install\u306f\uff0c &#8220;i386-pc&#8221;\u3068\u5224\u65ad\u3057\u307e\u3059\u306e\u3067\uff0cMBR\u306e\u5834\u5408\u306f\uff0c grub-install \/dev\/sda GPT\u306e\u5834\u5408\u306f\uff0cBIOS boot \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\/dev\/sda1\u3068\u3059\u308b\u3068\uff0c grub-install \/dev\/sda1 \u3067\u3059\uff0eError\u304c\u51fa\u308b\u5834\u5408\u306f\uff0c\/dev\/sda\u306b\u3057\u3066\u307f\u307e\u3059\uff0e \u3053\u306e\u3042\u3068\uff0cgrub.cfg\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\uff0c grub-mkconfig -o \/boot\/grub\/grub.cfg \u3068\u3057\u307e\u3059\uff0e\u3042\u3068\u306f\uff0c\u7121\u4e8b\u3092\u7948\u3063\u3066\u30d6\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\uff0e \uff082021\u5e741\u67088\u65e5\uff09<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2320,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"[{\"content\":\"MBR\u306e\u5834\u5408\u306f\u4e0d\u8981\u306a\u306f\u305a\u3067\u3059\uff0e\",\"id\":\"0047d8e7-9d35-452e-b591-ec4cda3f29ae\"},{\"content\":\"ZRAM\u3092\u4f7f\u308f\u305a\uff0c\u5c02\u7528\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3067SWAP\u3059\u308b\u5834\u5408\u306fSWAP\u7528\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3082\u5fc5\u8981\u3067\u3059\uff0e\",\"id\":\"dfb06922-8da2-4d4b-853d-d42471f0d89a\"},{\"content\":\"<a href=\\\"https:\/\/je1sgh.mydns.jp\/?page_id=1069\\\" data-type=\\\"page\\\" data-id=\\\"1069\\\">\u305f\u3076\u3093<\/a>\ud83d\ude13\",\"id\":\"a5e00230-a6a7-48b7-9126-b790665d06d3\"}]"},"class_list":["post-2595","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2595"}],"version-history":[{"count":2,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2595\/revisions"}],"predecessor-version":[{"id":3202,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2595\/revisions\/3202"}],"up":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2320"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}