{"id":188,"date":"2024-10-02T17:07:55","date_gmt":"2024-10-02T09:07:55","guid":{"rendered":"https:\/\/blog.odyy345.top\/?p=188"},"modified":"2024-10-02T17:07:58","modified_gmt":"2024-10-02T09:07:58","slug":"%e8%ae%b0%e4%b8%80%e6%ac%a1%e7%94%b1%e4%ba%8e%e6%9b%b4%e6%8d%a2%e4%b8%bb%e6%9d%bf%e5%af%bc%e8%87%b4%e7%9a%84efi%e5%90%af%e5%8a%a8%e9%a1%b9%e4%b8%8d%e8%af%86%e5%88%ab%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/blog.odyy345.top\/index.php\/2024\/10\/02\/%e8%ae%b0%e4%b8%80%e6%ac%a1%e7%94%b1%e4%ba%8e%e6%9b%b4%e6%8d%a2%e4%b8%bb%e6%9d%bf%e5%af%bc%e8%87%b4%e7%9a%84efi%e5%90%af%e5%8a%a8%e9%a1%b9%e4%b8%8d%e8%af%86%e5%88%ab%e9%97%ae%e9%a2%98\/","title":{"rendered":"\u8bb0\u4e00\u6b21\u7531\u4e8e\u66f4\u6362\u4e3b\u677f\u5bfc\u81f4\u7684EFI\u542f\u52a8\u9879\u4e0d\u8bc6\u522b\u95ee\u9898"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6211\u5df2\u7ecf\u5728\u8fd9\u53f0\u673a\u5668\u4e0a\u7528\u4e86\u8fd1 5 \u5e74 Linux \u4e86\uff0c\u5728\u539f\u5148\u7684\u7cfb\u7edf\u91cc\u4e00\u76f4\u8fd0\u8f6c\u826f\u597d\uff0c\u4f46\u6700\u8fd1\u66f4\u6362\u4e86\u4e3b\u677f\u4e4b\u540e\u53d1\u73b0\u7cfb\u7edf\u65e0\u6cd5\u542f\u52a8\u3002\u5728\u5c1d\u8bd5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u65f6\u5019\uff0c\u53d1\u89c9\u8fd9\u4e2a\u7591\u96be\u95ee\u9898\u8fd8\u7b97\u633a\u6709\u610f\u601d\u7684\uff0c\u9042\u5c1d\u8bd5\u5199\u4e0b\u6765\u5206\u4eab\u4e00\u4e0b\u89e3\u51b3\u65b9\u6848\u3002\u4e8e\u662f\u4fbf\u6709\u4e86\u8fd9\u7bc7\u6587\u7ae0\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u4ecb\u7ecd<\/h1>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">GRUB\uff08GRand Unified Bootloader\uff0c\u5927\u4e00\u7edf\u542f\u52a8\u52a0\u8f7d\u5668\uff09\uff0c\u662f\u4e00\u4e2a\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u3002\u5f53\u524d\u7684 GRUB \u4e5f\u88ab\u79f0\u4f5c GRUB 2\uff0c\u800c\u539f\u59cb GRUB\uff08GRUB Legacy\uff09\u8868\u793a 0.9x \u7248\u672c\u3002\u672c\u9875\u53ea\u63cf\u8ff0 GRUB 2\u3002<\/p>\n<cite>\u2014\u2014\u6765\u81eaArchwiki<\/cite><\/blockquote>\n\n\n\n<div class=\"wp-block-argon-admonition admonition shadow-sm\" style=\"border-left-color:#7889e8\"><div class=\"admonition-body\">\u6ce8\u610f\uff1a \u5728\u672c\u6587\u4e2d\uff0c<code>esp<\/code> \u8868\u793a <a href=\"https:\/\/wiki.archlinuxcn.org\/wiki\/EFI_%E7%B3%BB%E7%BB%9F%E5%88%86%E5%8C%BA\" data-type=\"link\" data-id=\"https:\/\/wiki.archlinuxcn.org\/wiki\/EFI_%E7%B3%BB%E7%BB%9F%E5%88%86%E5%8C%BA\">EFI \u7cfb\u7edf\u5206\u533a<\/a>\uff08ESP\uff09\u7684\u6302\u8f7d\u70b9\u3002<\/div><\/div>\n\n\n\n<h1 class=\"wp-block-heading\">\u7cfb\u7edf\u6982\u51b5<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b0\u7cfb\u7edf\u914d\u7f6e\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Operating System: Arch Linux \nKDE Plasma Version: 6.1.5\nKDE Frameworks Version: 6.6.0\nQt Version: 6.7.3\nKernel Version: 6.6.52-1-lts (64-bit)\nGraphics Platform: X11\nProcessors: 12 \u00d7 Intel\u00ae Core\u2122 i5-10400F CPU @ 2.90GHz\nMemory: 31.3 GiB of RAM\nGraphics Processor: NVIDIA GeForce RTX 3060\/PCIe\/SSE2\nManufacturer: Micro-Star International Co., Ltd.\nProduct Name: MS-7E05\nSystem Version: 2.0<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">\u6545\u969c\u73b0\u8c61<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6309\u4e0b\u5f00\u673a\u540e\u53d1\u73b0\u5728\u4e3b\u677f LOGO \u5c4f\u4e4b\u540e\u5c31\u9ed1\u5c4f\uff0c\u751a\u81f3\u65e0\u6cd5\u8fdb\u5165 GRUB\u3002<\/li>\n\n\n\n<li>\u4e3b\u677f\u7684\u4fa6\u9519 LED \u5728 BOOT \u706f\u4e0a\u505c\u7559\u5e38\u4eae\u3002<\/li>\n<\/ul>\n\n\n\n<h1 class=\"wp-block-heading\">\u6545\u969c\u5206\u6790<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u5230\u73b0\u5728\u6765\u770b\uff0c\u6545\u969c\u539f\u56e0\u4f3c\u4e4e\u5df2\u7ecf\u5f88\u6e05\u6670\u4e86\u3002\u53ef\u80fd\u662f\u7531\u4e8e\u67d0\u4e9b\u539f\u56e0\u5bfc\u81f4\u7cfb\u7edf\u6ca1\u6cd5\u627e\u5230\u6b63\u786e\u7684\u542f\u52a8\u9879\uff0c\u8fdb\u800c\u51fa\u73b0\u65e0\u6cd5\u542f\u52a8\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u5165 BIOS \u914d\u7f6e\u754c\u9762\u67e5\u770b\u53ef\u4ee5\u53d1\u73b0\u4e3b\u677f\u5e76\u6ca1\u6709\u8bc6\u522b\u5230 GRUB\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e8e\u662f\u9996\u5148\u8003\u8651\u662f\u5426\u662fGRUB\u95ee\u9898\uff0c\u5c1d\u8bd5\u91cd\u65b0\u8fd0\u884c <code>grub-install<\/code> \u91cd\u542f\uff0c\u4f9d\u65e7\u6ca1\u6709\u6539\u53d8\u3002\u7136\u540e\u5c1d\u8bd5\u4e86\u5728 LiveCD \u91cc\u67e5\u770b\u4e00\u4e0b esp \u5206\u533a\uff0c\u4f46\u751f\u6210\u7684\u5f15\u5bfc\u6587\u4ef6\u5b8c\u5168\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u65f6\u53d1\u73b0\u4e86\u5728 ArchWiki<sup data-fn=\"7a97375c-e568-4805-914c-d41806398c02\" class=\"fn\"><a href=\"#7a97375c-e568-4805-914c-d41806398c02\" id=\"7a97375c-e568-4805-914c-d41806398c02-link\">1<\/a><\/sup> \u4e0a\u7684\u8fd9\u6bb5\u8bdd\uff1a<\/p>\n\n\n\n<div class=\"wp-block-argon-admonition admonition shadow-sm\" style=\"border-left-color:#4fd69c\"><div class=\"admonition-title\" style=\"background-color:#4fd69c33\"><span>\u63d0\u793a<\/span><\/div><div class=\"admonition-body\"><strong>\u63d0\u793a\uff1a<\/strong>\u5982\u679c\u4f60\u4f7f\u7528\u4e86 <code>--removable<\/code> \u9009\u9879\uff0c\u90a3 GRUB \u5c06\u88ab\u5b89\u88c5\u5230 <code><em>esp<\/em>\/EFI\/BOOT\/BOOTX64.EFI<\/code> \uff08\u5f53\u4f7f\u7528 <code>i386-efi<\/code> \u65f6\u662f <code><em>esp<\/em>\/EFI\/BOOT\/BOOTIA32.EFI<\/code> \uff09\uff0c\u6b64\u65f6\u5373\u4f7f EFI \u53d8\u91cf\u88ab\u91cd\u8bbe\u6216\u8005\u4f60\u628a\u8fd9\u4e2a\u9a71\u52a8\u5668\u63a5\u5230\u5176\u4ed6\u7535\u8111\u4e0a\uff0c\u4f60\u4ecd\u53ef\u4ece\u8fd9\u4e2a\u9a71\u52a8\u5668\u4e0a\u542f\u52a8\u3002\u901a\u5e38\u6765\u8bf4\uff0c\u4f60\u53ea\u8981\u50cf\u64cd\u4f5c BIOS \u8bbe\u5907\u4e00\u6837\u5728\u542f\u52a8\u65f6\u9009\u62e9\u8fd9\u4e2a\u9a71\u52a8\u5668\u5c31\u53ef\u4ee5\u4e86\u3002\u5982\u679c\u8bbe\u5907\u662f\u540c\u65f6\u5b89\u88c5\u4e86Windows\u7684\u591a\u5f15\u5bfc\u542f\u52a8\uff0c\u6ce8\u610f Windows \u901a\u5e38\u4f1a\u5728\u8fd9\u91cc\u5b89\u88c5\u4e00\u4e2a EFI \u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u8be5\u7a0b\u5e8f\u7684\u76ee\u7684\u662f\u4ec5\u91cd\u5efaWindows\u7684UEFI\u542f\u52a8\u9879\u3002\u5982\u679c\u4f60\u60f3\u5728<a href=\"https:\/\/wiki.archlinuxcn.org\/wiki\/Mac\">Mac<\/a>\u4e0a\u5b89\u88c5GRUB\uff0c\u90a3\u4f60\u5fc5\u987b\u8981\u4f7f\u7528\u8be5\u9009\u9879\u3002\u67d0\u4e9b\u53f0\u5f0f\u673a\u4e3b\u677f\u53ea\u4f1a\u5728\u6b64\u4f4d\u7f6e\u5bfb\u627e EFI \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u56e0\u6b64\u8be5\u9009\u9879\u662f\u5fc5\u9700\u7684\uff0c<strong>\u5c24\u5176\u662f\u5fae\u661f\uff08MSI\uff09\u4e3b\u677f<\/strong>\u3002 \u5982\u679c\u4f60\u66f4\u65b0\u4e86UEFI\uff0c\u542f\u52a8\u9879\u53ef\u80fd\u4f1a\u5728\u66f4\u65b0\u540e\u4e22\u5931\u3002\u56e0\u6b64\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u201cremovable\u201d\u542f\u52a8\u9879\u4f5c\u4e3a\u540e\u5907\u3002<\/div><\/div>\n\n\n<ol class=\"wp-block-footnotes\"><li id=\"7a97375c-e568-4805-914c-d41806398c02\"><a href=\"https:\/\/wiki.archlinuxcn.org\/wiki\/GRUB#%E5%AE%89%E8%A3%85\">https:\/\/wiki.archlinuxcn.org\/wiki\/GRUB#%E5%AE%89%E8%A3%85<\/a> <a href=\"#7a97375c-e568-4805-914c-d41806398c02-link\" aria-label=\"\u8df3\u8f6c\u5230\u811a\u6ce8\u5f15\u7528 1\">\u21a9\ufe0e<\/a><\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">\u95ee\u9898\u539f\u56e0\u662f\u7531\u4e8e\u5fae\u661f\u4e3b\u677f\u53ea\u4f1a\u5728\u7279\u5b9a\u4f4d\u7f6e\u5bfb\u627e\u542f\u52a8\u9879\uff0c\u800c\u5728\u5b89\u88c5 GRUB \u65f6\u6ca1\u6709\u52a0 <code>--removeable<\/code> \u53c2\u6570\uff0c\u5bfc\u81f4\u65b0\u4e3b\u677f\u627e\u4e0d\u5230\u542f\u52a8\u9879\uff0c\u4ece\u800c\u5361 BOOT \u706f\u65e0\u6cd5\u542f\u52a8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u5df2\u7ecf\u5728\u8fd9\u53f0\u673a\u5668\u4e0a\u7528\u4e86\u8fd1 5 \u5e74 Linux \u4e86\uff0c\u5728\u539f\u5148\u7684\u7cfb\u7edf\u91cc\u4e00\u76f4\u8fd0\u8f6c\u826f\u597d\uff0c\u4f46\u6700\u8fd1\u66f4\u6362\u4e86\u4e3b\u677f\u4e4b\u540e\u53d1\u73b0\u7cfb\u7edf\u65e0\u6cd5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"[{\"content\":\"<a href=\\\"https:\/\/wiki.archlinuxcn.org\/wiki\/GRUB#%E5%AE%89%E8%A3%85\\\">https:\/\/wiki.archlinuxcn.org\/wiki\/GRUB#%E5%AE%89%E8%A3%85<\/a>\",\"id\":\"7a97375c-e568-4805-914c-d41806398c02\"}]"},"categories":[7],"tags":[13,15],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-7","tag-linux","tag-15"],"_links":{"self":[{"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":8,"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/posts\/188\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.odyy345.top\/index.php\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}