{"id":100,"date":"2025-08-04T17:22:50","date_gmt":"2025-08-04T09:22:50","guid":{"rendered":"https:\/\/caoxunyi.cn\/?p=100"},"modified":"2025-08-08T12:12:20","modified_gmt":"2025-08-08T04:12:20","slug":"arch-linux-%e5%94%ae%e5%90%8e%e6%9c%8d%e5%8a%a1%ef%bc%9agrub-%e5%bc%80%e6%9c%ba%e5%bc%95%e5%af%bc%e9%a1%b9%e7%be%8e%e5%8c%96","status":"publish","type":"post","link":"https:\/\/caoxunyi.cn\/index.php\/100\/","title":{"rendered":"Arch Linux \u552e\u540e\u670d\u52a1\uff1aGRUB \u5f00\u673a\u5f15\u5bfc\u9879\u7f8e\u5316"},"content":{"rendered":"<p>\u5f53\u4f60\u6210\u529f\u5b89\u88c5 Arch Linux \u540e\uff0c\u9ed8\u8ba4\u7684 GRUB \u5f15\u5bfc\u754c\u9762\u53ef\u80fd\u6709\u4e9b\u7b80\u964b\u3002\u6b63\u6240\u8c13\u201c<strong>\u989c\u503c\u5373\u662f\u7b2c\u4e00\u751f\u4ea7\u529b<\/strong>\u201d\uff0c\u8ba9\u6211\u4eec\u901a\u8fc7\u5b89\u88c5 GRUB \u4e3b\u9898\u6765\u7f8e\u5316\u4f60\u7684\u5f00\u673a\u5f15\u5bfc\u754c\u9762\u5427\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e00\u6b65\uff1a\u5bfb\u627e\u6ee1\u610f\u7684\u4e3b\u9898<\/h3>\n<p>\u4ee5\u4e0b\u662f\u51e0\u4e2a\u63a8\u8350\u7684\u4e3b\u9898\u8d44\u6e90\u7f51\u7ad9\uff0c\u4f60\u53ef\u4ee5\u4ece\u4e2d\u6311\u9009\u5fc3\u4eea\u7684 GRUB \u4e3b\u9898\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/13atm01\/GRUB-Theme\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/github.com\/13atm01\/GRUB-Theme<\/a>\uff08\u5404\u79cd\u4e8c\u6b21\u5143\u98ce\u683c\u4e3b\u9898\uff09<\/li>\n<li><a href=\"https:\/\/github.com\/Jacksaur\/Gorgeous-GRUB\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/github.com\/Jacksaur\/Gorgeous-GRUB<\/a>\uff08\u8fd9\u91cc\u6574\u5408\u4e86\u5927\u91cf\u7684\u4e3b\u9898\uff0c\u5404\u79cd\u98ce\u683c\u4efb\u541b\u6311\u9009\uff09<\/li>\n<li><a href=\"https:\/\/www.gnome-look.org\/browse\/\" target=\"_blank\"  rel=\"nofollow\" >https:\/\/www.gnome-look.org\/browse\/<\/a>\uff08\u4e00\u4e2a\u975e\u5e38\u53d7\u6b22\u8fce\u7684Linux\u4e3b\u9898\u548c\u7f8e\u5316\u8d44\u6e90\u7f51\u7ad9\uff09<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u4ecd\u4e0d\u6ee1\u610f\uff0c\u53ef\u4ee5\u5728 <strong>GitHub<\/strong> \u4e0a\u641c\u7d22 <code>grub theme<\/code> \u6765\u53d1\u73b0\u66f4\u591a\u4e3b\u9898\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e8c\u6b65\uff1a\u5b89\u88c5\u4e0e\u914d\u7f6e\u4e3b\u9898<\/h3>\n<p>\u5927\u591a\u6570\u4e3b\u9898\u90fd\u4f1a\u63d0\u4f9b\u4e00\u4e2a <code>README.md<\/code> \u6587\u4ef6\u6765\u6307\u5bfc\u4f60\u5982\u4f55\u5b89\u88c5\u3002\u4e0b\u9762\u4ee5 Hatsune Miku \u4e3b\u9898\u4e3a\u4f8b\u8fdb\u884c\u6f14\u793a\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u514b\u9686\u4e3b\u9898\u4ed3\u5e93<\/strong><\/p>\n<p>\u4f7f\u7528 <code>git clone<\/code> \u547d\u4ee4\u5c06\u4e3b\u9898\u4ed3\u5e93\u514b\u9686\u5230\u4f60\u7684\u672c\u5730\u3002<\/p>\n<pre><code class=\"lang-sh language-sh sh\">git clone https:\/\/github.com\/13atm01\/GRUB-Theme.git<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>\u8fdb\u5165\u76ee\u5f55\u5e76\u8fd0\u884c\u5b89\u88c5\u811a\u672c<\/strong><\/p>\n<p>\u8fdb\u5165\u514b\u9686\u4e0b\u6765\u7684\u4e3b\u9898\u76ee\u5f55\uff0c\u7136\u540e\u8fd0\u884c\u5b89\u88c5\u811a\u672c\uff08\u5927\u90e8\u5206\u4e3b\u9898\u4f1a\u81ea\u5e26\uff09\u3002<\/p>\n<pre><code class=\"lang-sh language-sh sh\">cd 'Hatsune Miku'\/\nsudo sh .\/install.sh<\/code><\/pre>\n<p>\u8fd9\u4e2a\u811a\u672c\u901a\u5e38\u4f1a\u81ea\u52a8\u5c06\u4e3b\u9898\u6587\u4ef6\u590d\u5236\u5230\u6b63\u786e\u7684\u76ee\u5f55 (<code>\/usr\/share\/grub\/themes\/<\/code>)\uff0c\u5e76\u914d\u7f6e <code>\/etc\/default\/grub<\/code> \u6587\u4ef6\uff0c\u5c06\u4e3b\u9898\u8def\u5f84\u6dfb\u52a0\u5230 <code>GRUB_THEME<\/code> \u53d8\u91cf\u4e2d\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u751f\u6210\u65b0\u7684 GRUB \u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<p>\u5728 Arch Linux \u4e2d\uff0c\u4f60\u9700\u8981\u4f7f\u7528 <code>grub-mkconfig<\/code> \u547d\u4ee4\u6765\u66f4\u65b0 GRUB \u914d\u7f6e\uff0c\u8ba9\u66f4\u6539\u751f\u6548\u3002<\/p>\n<pre><code class=\"lang-sh language-sh sh\">sudo grub-mkconfig -o \/boot\/grub\/grub.cfg<\/code><\/pre>\n<p>\u5f53\u4f60\u770b\u5230\u7c7b\u4f3c\u4ee5\u4e0b\u8f93\u51fa\u65f6\uff0c\u8bf4\u660e\u4e3b\u9898\u5df2\u6210\u529f\u5b89\u88c5\uff1a<\/p>\n<pre><code>\u6b63\u5728\u751f\u6210 grub \u914d\u7f6e\u6587\u4ef6 ...\n\u627e\u5230\u4e3b\u9898\uff1a\/usr\/share\/grub\/themes\/HatsuneMiku16th\/theme.txt\n\u627e\u5230 Linux \u955c\u50cf\uff1a\/boot\/vmlinuz-linux\n...\n\u5b8c\u6210<\/code><\/pre>\n<\/li>\n<\/ol>\n<hr \/>\n<h3>\u5e38\u89c1\u95ee\u9898\u4e0e\u624b\u52a8\u914d\u7f6e<\/h3>\n<p>\u5982\u679c\u4f60\u9047\u5230\u95ee\u9898\uff0c\u6216\u8005\u60f3\u624b\u52a8\u66f4\u6539\u4e3b\u9898\uff0c\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u6b65\u9aa4\u3002<\/p>\n<h4><strong>1. \u786e\u8ba4\u4e3b\u9898\u8def\u5f84<\/strong><\/h4>\n<p>GRUB \u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u662f <code>\/etc\/default\/grub<\/code>\u3002\u4f60\u9700\u8981\u786e\u4fdd\u5176\u4e2d\u7684 <strong><code>GRUB_THEME<\/code><\/strong> \u53d8\u91cf\u6307\u5411\u6b63\u786e\u7684\u4e3b\u9898\u6587\u4ef6\u8def\u5f84\u3002<\/p>\n<pre><code class=\"lang-sh language-sh sh\">GRUB_THEME=&quot;\/usr\/share\/grub\/themes\/HatsuneMiku16th\/theme.txt&quot;<\/code><\/pre>\n<h4><strong>2. \u91cd\u65b0\u751f\u6210\u914d\u7f6e\u6587\u4ef6<\/strong><\/h4>\n<p>\u5728\u5bf9 <code>\/etc\/default\/grub<\/code> \u6587\u4ef6\u8fdb\u884c\u4efb\u4f55\u4fee\u6539\u540e\uff0c<strong>\u52a1\u5fc5<\/strong>\u8fd0\u884c <code>grub-mkconfig<\/code> \u547d\u4ee4\uff0c\u5426\u5219\u66f4\u6539\u4e0d\u4f1a\u751f\u6548\u3002<\/p>\n<pre><code class=\"lang-sh language-sh sh\">sudo grub-mkconfig -o \/boot\/grub\/grub.cfg<\/code><\/pre>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u5c06\u4f60\u7684\u4e3b\u9898\u3001\u7cfb\u7edf\u5185\u6838\u548c\u542f\u52a8\u53c2\u6570\u7b49\u4fe1\u606f\u6574\u5408\u8fdb\u4e00\u4e2a\u53ef\u7528\u7684\u5f15\u5bfc\u6587\u4ef6\u4e2d\u3002\u5f53\u4f60\u4e0b\u6b21\u91cd\u542f\u65f6\uff0c\u4f60\u7684\u65b0\u4e3b\u9898\u5c31\u4f1a\u751f\u6548\u3002\u6574\u4e2a\u8fc7\u7a0b\u7b80\u5355\u4e14\u5b89\u5168\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5f53\u4f60\u6210\u529f\u5b89\u88c5 Arch Linux \u540e\uff0c\u9ed8\u8ba4\u7684 GRUB \u5f15\u5bfc\u754c\u9762\u53ef\u80fd\u6709\u4e9b\u7b80\u964b\u3002\u6b63\u6240\u8c13\u201c\u989c\u503c\u5373\u662f\u7b2c\u4e00\u751f\u4ea7\u529b\u201d\uff0c\u8ba9\u6211\u4eec\u901a\u8fc7\u5b89\u88c5 GR &#8230;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[6,1],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-endeavoros","category-learn"],"_links":{"self":[{"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":3,"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":103,"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/posts\/100\/revisions\/103"}],"wp:attachment":[{"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/caoxunyi.cn\/index.php\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}