{"id":3974,"date":"2013-10-26T19:41:08","date_gmt":"2013-10-26T11:41:08","guid":{"rendered":"https:\/\/www.icocean.com\/wp\/?p=3974"},"modified":"2013-10-26T19:41:08","modified_gmt":"2013-10-26T11:41:08","slug":"windows7-boot-ini%e5%90%af%e5%8a%a8%e8%8f%9c%e5%8d%95%e9%a1%b9%e7%9a%84%e4%bf%ae%e6%94%b9%ef%bc%8c%e5%8c%85%e6%8b%ac%e5%a2%9e%e5%8a%a0%e6%96%b0%e7%9a%84%e5%90%af%e5%8a%a8%e8%8f%9c%e5%8d%95%ef%bc%8c","status":"publish","type":"post","link":"https:\/\/www.icocean.com\/blog\/?p=3974","title":{"rendered":"windows7 boot.ini\u542f\u52a8\u83dc\u5355\u9879\u7684\u4fee\u6539\uff0c\u5305\u62ec\u589e\u52a0\u65b0\u7684\u542f\u52a8\u83dc\u5355\uff0c\u5220\u9664\u542f\u52a8\u83dc\u5355\u7b49"},"content":{"rendered":"<p>win7\u6ca1\u6709boot.ini\u8fd9\u4e2a\u6587\u4ef6\uff0c\u6807\u9898\u5199\u6210\u8fd9\u6837\uff0c\u53ea\u662f\u4e3a\u4e86\u65b9\u4fbfXP\u7684\u641c\u7d22\u4e60\u60ef\uff08\u6807\u9898\u515a\uff1f\uff09<br \/>\n\u5148\u8bb2\u4e00\u4e0b\u4ee5\u7ba1\u7406\u5458\u6a21\u5f0f\u8fd0\u884ccmd\u7684\u65b9\u6cd5\uff1a<br \/>\n\u65b9\u6cd5\u5c31\u5728c:\\windows\\system32\\cmd.exe\u4e0a\u53f3\u952e\u201c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u201d\u4e0d\u8fc7\u6bcf\u6b21\u53bbc:\\windows\\system32\\\u627ecmd.exe\u5f88\u9ebb\u70e6\uff0c\u53ef\u4ee5\u5728\u684c\u9762\u53f3\u952e-\u65b0\u5efa\u5feb\u6377\u65b9\u5f0f-\u8f93\u5165\u201ccmd\u201d-\u4e0b\u4e00\u6b65-\u5b8c\u6210\uff0c\u8fd9\u6837\u53ef\u4ee5\u76f4\u63a5\u5728\u684c\u9762cmd\u7684\u5feb\u6377\u65b9\u5f0f\u4e0a\u53f3\u952e\u201c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u201d\u4e86\uff0c\u6548\u679c\u8ddf\u5728c:\\windows\\system32\\cmd.exe\u4e0a\u53f3\u952e\u201c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u201d\u662f\u4e00\u6837\u7684\u3002\u4ee5\u4e0b\u8bb2\u5230\u7684\u83b7\u5f97\u542f\u52a8\u83dc\u5355\u9879ID\u6807\u793a\u7b26\uff0c\u91cd\u547d\u540d\u542f\u52a8\u83dc\u5355\u9879\uff0c\u5220\u9664\u542f\u52a8\u83dc\u5355\u9879\uff0c\u8c03\u8282\u542f\u52a8\u83dc\u5355\u9879\u90fd\u9700\u7ba1\u7406\u5458\u6a21\u5f0f\u8fd0\u884ccmd\u3002<!--more--><br \/>\n  \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u6734\u7d20\u7684\u5206\u5272\u7ebf\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2013<br \/>\n\u4ee5\u7ba1\u7406\u5458\u6a21\u5f0f\u8fd0\u884ccmd\uff0c\u8f93\u5165bcdedit \/create \/d &#8220;\u4f60\u6253\u7b97\u65b0\u5efa\u7684\u542f\u52a8\u83dc\u5355\u9879\u7684\u540d\u5b57&#8221; \/application bootsector<br \/>\n\u56de\u8f66\u540e\uff0c\u63d0\u793a\u64cd\u4f5c\u6210\u529f\uff0c\u5e76\u5f97\u5230\u4e00\u4e2aid\u6807\u793a\u7b26\uff0c\u8bb0\u4e0b\u6765\uff08CMD\u7a97\u53e3\u53f3\u952e\u6807\u8bb0\uff09\uff0c\u63a5\u4e0b\u6765\u7528\u5f97\u7740\u3002<br \/>\n\u7136\u540e\u518d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<br \/>\nbcdedit \/set {id\u6807\u793a\u7b26} device partition=c:<br \/>\nbcdedit \/set {id\u6807\u793a\u7b26} path \\grldr.mbr<br \/>\nbcdedit \/displayorder {id\u6807\u793a\u7b26} \/addlast<br \/>\n\u64cd\u4f5c\u5b8c\u6210\uff0c\u81f3\u6b64\u4e00\u4e2a\u65b0\u7684\u542f\u52a8\u83dc\u5355\u9879\u5df2\u7ecf\u589e\u52a0\u4e86\uff0c\u53ef\u4ee5\u5230\u8ba1\u7b97\u673a\u53f3\u952e-\u5c5e\u6027-\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e-\u542f\u52a8\u548c\u6545\u969c\u6062\u590d-\u8bbe\u7f6e\u91cc\u67e5\u770b\u3002\u4e0a\u9762\u8fd9\u4e9b\u6b65\u9aa4\u5176\u5b9e\u5c31\u662f\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u542f\u52a8\u83dc\u5355\u9879\u7684\u5199\u6cd5<br \/>\n  \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u6734\u7d20\u7684\u5206\u5272\u7ebf\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2013<br \/>\n\u83b7\u5f97\u542f\u52a8\u83dc\u5355\u9879ID\u6807\u793a\u7b26\uff0c\u91cd\u547d\u540d\u542f\u52a8\u83dc\u5355\u9879\uff0c\u5220\u9664\u542f\u52a8\u83dc\u5355\u9879\uff0c\u8c03\u8282\u542f\u52a8\u83dc\u5355\u9879\u7b49\u64cd\u4f5c\u7684\u65b9\u6cd5\uff1a<br \/>\n\u67e5\u770b\u5f53\u524d\u6240\u6709\u542f\u52a8\u83dc\u5355\u9879\u7684ID\u6807\u793a\u7b26\uff1a<br \/>\nbcdedit \/ enum<br \/>\n\u793a\u4f8b\uff1a<br \/>\nC:\\Users\\Administrator>bcdedit \/enum<br \/>\nWindows \u542f\u52a8\u7ba1\u7406\u5668<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2013<br \/>\n\u6807\u8bc6\u7b26                  {bootmgr}<br \/>\ndevice                  partition=C:<br \/>\ndescription             Windows Boot Manager<br \/>\nlocale                  zh-CN<br \/>\ninherit                 {globalsettings}<br \/>\ndefault                 {current}<br \/>\nresumeobject            {7bd3bca4-d916-11e0-af47-9a1b0598b6b6}<br \/>\ndisplayorder            {current}<br \/>\n                        {88888888-fa0f-11da-8ddf-001320035401}<br \/>\ntoolsdisplayorder       {memdiag}<br \/>\ntimeout                 30<br \/>\nWindows \u542f\u52a8\u52a0\u8f7d\u5668<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014-<br \/>\n\u6807\u8bc6\u7b26                  {current}<br \/>\ndevice                  partition=C:<br \/>\npath                    \\Windows\\system32\\winload.exe<br \/>\ndescription             Windows 7<br \/>\nlocale                  zh-CN<br \/>\ninherit                 {bootloadersettings}<br \/>\nrecoverysequence        {7bd3bca6-d916-11e0-af47-9a1b0598b6b6}<br \/>\nrecoveryenabled         Yes<br \/>\nosdevice                partition=C:<br \/>\nsystemroot              \\Windows<br \/>\nresumeobject            {7bd3bca4-d916-11e0-af47-9a1b0598b6b6}<br \/>\nnx                      OptIn<br \/>\nWindows \u542f\u52a8\u52a0\u8f7d\u5668<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014-<br \/>\n\u6807\u8bc6\u7b26                  {88888888-fa0f-11da-8ddf-001320035401}<br \/>\ndevice                  ramdisk=[F:]\\sources\\boot.wim,{99999999-fa0f-11da-8ddf-<br \/>\n01320035401}<br \/>\npath                    \\windows\\system32\\boot\\winload.exe<br \/>\ndescription             nt6 hdd Installer mode 2 [EMS Enable]<br \/>\nlocale                  en-US<br \/>\nosdevice                ramdisk=[F:]\\sources\\boot.wim,{99999999-fa0f-11da-8ddf-<br \/>\n01320035401}<br \/>\nsystemroot              \\windows<br \/>\ndetecthal               Yes<br \/>\nwinpe                   Yes<br \/>\nems                     Yes<br \/>\nC:\\Users\\Administrator><\/p>\n<p>\u5176\u4e2d\u6807\u793a\u7b26\u4e3a{bootmgr}\u548c\u6807\u793a\u7b26\u4e3a{current}\u7684\u4e24\u4e2a\u542f\u52a8\u83dc\u5355\u9879\u662f\u7cfb\u7edf\u81ea\u5df1\u7684\uff0c\u4e0d\u53ef\u4ee5\u5220\u9664\u3002<br \/>\n\u91cd\u547d\u540d\u4e00\u4e2a\u542f\u52a8\u9879\uff1a<br \/>\nbcdedit \/set {id\u6807\u793a\u7b26} Description &#8220;\u8981\u91cd\u547d\u540d\u7684\u540d\u5b57&#8221;<br \/>\n\u5220\u9664\u4e00\u4e2a\u542f\u52a8\u9879\uff1a<br \/>\nBCDEDIT \/DELETE{id\u6807\u793a\u7b26}<\/p>\n<p>\u8c03\u8282\u591a\u4e2a\u542f\u52a8\u9879\u7684\u987a\u5e8f\uff1a<br \/>\nbcdedit \/displayorder {id\u6807\u793a\u7b261} {id\u6807\u793a\u7b262} {id\u6807\u793a\u7b263} \u2026 {id\u6807\u793a\u7b26n} \uff08N\u4ee3\u8868\u4ec0\u4e48\uff1f\u4f60\u4e0d\u662f\u5e38\u8bf4\u4f60\u90fd\u505a\u8fc7N\u6b21\u4e86\u5417\uff1f\uff09<br \/>\n\u8c03\u8282\u6307\u5b9a\u542f\u52a8\u9879\u5230\u6700\u524d\uff1a<br \/>\nbcdedit \/displayorder {id\u6807\u793a\u7b26} \/addfirst<br \/>\n\u8c03\u8282\u6307\u5b9a\u542f\u52a8\u9879\u5230\u6700\u540e\uff1a<br \/>\nbcdedit \/displayorder {id\u6807\u793a\u7b26} \/addlast<\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u6734\u7d20\u7684\u5206\u5272\u7ebf\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2013<br \/>\nwin7\u600e\u4e48\u521b\u5efa&#8221;windowsn \u65e7OS\u52a0\u8f7d\u5668&#8221;<br \/>\n1\uff0c\u5f00\u59cb\u2014\u2014\u2014\u8fd0\u884c\u2014\u2014-CMD\u4e2d\u4f9d\u6b21\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff08\u8981\u4ee5\u7ba1\u7406\u5458\u6a21\u5f0f\uff09<br \/>\nBcdedit \/create {ntldr} \/d &#8220;Windows Xp&#8221;<br \/>\nBcdedit \/set {ntldr} device partition=x:\uff08\u6ce8\uff1aX\u662f\u5b89\u88c5XP\u7684\u9a71\u52a8\u5668\uff09<br \/>\nBcdedit \/set {ntldr} path \\ntldr<br \/>\nBcdedit \/displayorder {ntldr} \/addlast<br \/>\n2\uff0c\u590d\u5236XP\u7cfb\u7edf\u6839\u76ee\u5f55\u91cc\u7684\u51e0\u4e2a\u9690\u85cf\u6587\u4ef6Ntldr\u3001Boot.ini\u3001NTDetect.com\u5230WIN7\u7cfb\u7edf\u6240\u5728\u7684\u78c1\u76d8\u6839\u76ee\u5f55\u4e0b\u3002<br \/>\n3\uff0c\u91cd\u8981\uff0c\u66f4\u6539win7\u83dc\u5355\u7684\u663e\u793a\u65f6\u95f4\u3002\u5f00\u59cb\u2014\u2014\u8ba1\u7b97\u673a\u53f3\u952e\u5c5e\u6027\u2014\u2014\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u2014\u2014\u9ad8\u7ea7\u2014\u2014\uff08\u542f\u52a8\u548c\u6545\u969c\u6062\u590d\uff09\u8bbe\u7f6e\u2014\u2014\u663e\u793a\u64cd\u4f5c\u7cfb\u7edf\u5217\u8868\u7684\u65f6\u95f4\u2014\u2014\u6539\u4e3a\u4f60\u8981\u663e\u793a\u7684\u65f6\u957f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>win7\u6ca1\u6709boot.ini\u8fd9\u4e2a\u6587\u4ef6\uff0c\u6807\u9898\u5199\u6210\u8fd9\u6837\uff0c\u53ea\u662f\u4e3a\u4e86\u65b9\u4fbfXP\u7684\u641c\u7d22\u4e60\u60ef\uff08\u6807\u9898\u515a\uff1f\uff09 \u5148\u8bb2\u4e00\u4e0b\u4ee5\u7ba1\u7406\u5458\u6a21 <a href='https:\/\/www.icocean.com\/blog\/?p=3974' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3974","post","type-post","status-publish","format-standard","hentry","category-4","category-4-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3974"}],"version-history":[{"count":1,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3974\/revisions"}],"predecessor-version":[{"id":3975,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3974\/revisions\/3975"}],"wp:attachment":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}