{"id":2051,"date":"2022-11-04T23:10:10","date_gmt":"2022-11-04T15:10:10","guid":{"rendered":"https:\/\/www.yusian.com\/blog\/?p=2051"},"modified":"2022-11-05T21:58:45","modified_gmt":"2022-11-05T13:58:45","slug":"%e4%bf%ae%e6%94%b9grub%e9%80%89%e9%a1%b9%e7%9a%84%e7%ad%89%e5%be%85%e6%97%b6%e9%97%b4","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/ubuntu\/2022\/11\/04\/2310102051.html","title":{"rendered":"\u4fee\u6539GRUB\u9009\u9879\u7684\u7b49\u5f85\u65f6\u95f4"},"content":{"rendered":"<ol>\n<li>\u627e\u5230grub\u914d\u7f6e\u6587\u4ef6<code>\/etc\/default\/grub<\/code><\/li>\n<li>\u4fee\u6539GRUB_TIMEOUT\u503c\uff0c\u9ed8\u8ba4\u662f10\uff0c\u53ef\u4fee\u6539\u4e3a\u4efb\u610f\u975e\u8d1f\u6574\u6570<\/li>\n<\/ol>\n<pre><code class=\"language-txt line-numbers\"># If you change this file, run 'update-grub' afterwards to update\n# \/boot\/grub\/grub.cfg.\n# For full documentation of the options in this file, see:\n#   info -f grub -n 'Simple configuration'\nGRUB_DEFAULT=0\nGRUB_TIMEOUT_STYLE=hidden\nGRUB_TIMEOUT=1\nGRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; \/dev\/null || echo Debian`\nGRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"\nGRUB_CMDLINE_LINUX=\"\"\n<\/code><\/pre>\n<ol start=\"3\">\n<li>\u66f4\u65b0GRUB<\/li>\n<\/ol>\n<pre><code class=\"language-shell line-numbers\">$ update-grub\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u627e\u5230grub\u914d\u7f6e\u6587\u4ef6\/etc\/default\/grub \u4fee\u6539GRUB_TIMEOUT\u503c\uff0c\u9ed8\u8ba4\u662f10\uff0c\u53ef\u4fee\u6539\u4e3a\u4efb\u610f\u975e\u8d1f\u6574\u6570 # If you change this file, run &#8216;update-grub&#8217; afterwards to update # \/boot\/grub\/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n &#8216;Simple configuration&#8217; GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=1 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; \/dev\/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet splash&#8221; GRUB_CMDLINE_LINUX=&#8221;&#8221; \u66f4\u65b0GRUB $ update-grub<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386],"tags":[385,8,323],"class_list":["post-2051","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-grub","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=2051"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2051\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=2051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=2051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=2051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}