{"id":201,"date":"2015-04-28T01:56:06","date_gmt":"2015-04-27T17:56:06","guid":{"rendered":"http:\/\/gnonstop.linkpc.net\/~gordon\/?p=201"},"modified":"2025-08-31T05:42:10","modified_gmt":"2025-08-30T21:42:10","slug":"%e5%ae%89%e8%a3%9d-windows-%e5%be%8c%e6%81%a2%e5%be%a9-ubuntu-grub-2-%e9%96%8b%e6%a9%9f","status":"publish","type":"post","link":"https:\/\/guerilla.ddns.net\/wp\/?p=201","title":{"rendered":"\u5b89\u88dd Windows \u5f8c\u6062\u5fa9 Ubuntu Grub 2 \u958b\u6a5f"},"content":{"rendered":"<p>Ubuntu 9.10 \u4ee5\u5f8c\uff0c\u662f\u4f7f\u7528 grub2 \u4f5c\u70ba\u958b\u6a5f loader<br \/>\n&nbsp;<br \/>\n1. \u7528 Ubuntu CD (\u6216\u662f Live USB) \u958b\u6a5f\uff0c\u9078\u64c7 Try Ubuntu<br \/>\n&nbsp;<br \/>\n2. \u5982\u679c\u9032\u5165\u684c\u9762\uff0c\u81ea\u884c\u6253\u958b\u7d42\u7aef\u6a5f (Terminal), \u8f38\u5165\u4ee5\u4e0b\u6307\u4ee4<\/p>\n<p style=\"padding-left: 30px;\">2.1 \u9032\u5165 root \u6a21\u5f0f:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo -i<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 30px;\">2.2 \u770b\u5206\u5340\u8cc7\u8a0a:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">blkid<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 30px;\">2.3 \u628a\u6839\u76ee\u9304 \/ mount (\u5047\u8a2d Ubuntu \u7684\u78c1\u5340\u662f\u5728 sda5):<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mount \/dev\/sda5 \/mnt<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 30px;\">2.4 \u5982\u679c\u6709 \/boot \u9019\u500b\u55ae\u7368\u5206\u5340 (\u5047\u8a2d Ubuntu \u7684\u78c1\u5340\u662f\u5728 sda6):<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">mount \/dev\/sda6 \/mnt\/boot<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 30px;\">2.5<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">grub-install --root-directory=\/mnt\/ \/dev\/sda<\/code><\/pre>\n<p>&nbsp;<br \/>\n3. \u91cd\u958b\u6a5f\uff0c\u6536\u5de5\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 9.10 \u4ee5\u5f8c\uff0c\u662f\u4f7f\u7528 grub2 \u4f5c\u70ba\u958b\u6a5f loader &nbsp; 1. \u7528 Ubuntu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[18],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-infotech","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=201"}],"version-history":[{"count":7,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":3514,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/201\/revisions\/3514"}],"wp:attachment":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}