{"id":862,"date":"2012-09-05T19:56:50","date_gmt":"2012-09-05T11:56:50","guid":{"rendered":"http:\/\/blog.dynox.cn\/?p=862"},"modified":"2017-10-19T00:04:56","modified_gmt":"2017-10-18T16:04:56","slug":"win7%e8%b0%83%e8%af%95%e6%a8%a1%e5%bc%8f%e9%97%ae%e9%a2%98%e4%b8%80%e4%be%8b","status":"publish","type":"post","link":"https:\/\/blog.dynox.cn\/?p=862","title":{"rendered":"Win7\u8c03\u8bd5\u6a21\u5f0f\u95ee\u9898\u4e00\u4f8b"},"content":{"rendered":"<div class=\"gruber-markdown\"><p><span style=\"font-size: small;\">BootMgr\u7684\u5f15\u5165\uff0c\u867d\u7136\u589e\u52a0\u4e86\u64cd\u4f5c\u53ca\u7ef4\u62a4\u7684\u590d\u6742\u5ea6\uff0c\u4f46\u76f8\u5e94\u5e26\u6765\u7684\u597d\u5904\u4e5f\u4e0d\u5c11\uff0c\u5c31\u6bd4\u5982\u6211\u66fe\u505a\u8fc7\u7684\u4e00\u6b21\u64cd\u4f5c\uff1a\u5c06Win7\u7cfb\u7edf\u4ece\u7b2c\u4e00\u5206\u533a\u79fb\u52a8\u81f3\u7b2c\u4e09\u5206\u533a\u3002\u8fd9\u6837\u7684\u64cd\u4f5c\u5728XP\u65f6\u4ee3\uff0c\u662f\u4e0d\u592a\u53ef\u80fd\u7684\uff0c\u56e0\u4e3a\u8fd9\u5c31\u610f\u5473\u7740\u76d8\u7b26\u7684\u6539\u53d8\uff0c\u7cfb\u7edf\u5185\u90e8\u914d\u7f6e\u90fd\u662f\u4ee5\u76d8\u7b26\u6765\u786e\u5b9a\u7684\uff0c\u800cWin7\u59cb\u7ec8\u5c06\u7cfb\u7edf\u76d8\u52a0\u8f7d\u81f3C:\u4e0a\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u5c06Win7\u79fb\u52a8\u540e\uff0c\u4fee\u6539BootMgr\u8bb0\u5f55\u4e2d\u7684device\u53caosdevice\u9879\u540e\uff0cWin7\u7cfb\u7edf\u4fbf\u80fd\u6b63\u5e38\u542f\u52a8\uff0c\u76f8\u5e94\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"prettyprint\" class=\"language-c\">bcdedit \/set {uuid} device=partitioin=X:\nbcdedit \/set {uuid} osdevice=partitioin=X:<\/code><\/pre>\n<p>\u7136\u540e\u5c06debug\u6a21\u5f0f\u6253\u5f00:<\/p>\n<pre><code class=\"prettyprint\" class=\"language-c\">bcdedit \/debug {uuid} on<\/code><\/pre>\n<p><span style=\"font-size: small;\">\u7136\u540e\u518d\u8bbe\u7f6edbgsettings\u4e3a1394\uff0c\u800c\u4e0d\u662f\u9ed8\u8ba4\u7684com\u4e32\u53e3\uff1a<\/span><\/p>\n<pre><code class=\"prettyprint\" class=\"language-c\">C:\\&gt;bcdedit \/dbgsettings\nAn error occurred while attempting to access the boot configuration data.\nThe system cannot find the file specified.<\/code><\/pre>\n<p><span style=\"font-size: small;\">\u7cfb\u7edf\u4e2d\u7adf\u6ca1\u6709dbgsettings\uff0c\u90a3\u5c31\u81ea\u5df1\u521b\u5efa\u597d\u4e86\uff1a<\/span>\n<code><\/p>\n<pre><code class=\"prettyprint\" class=\"language-c\">C:\\&gt;bcdedit \/create {dbgsettings}\nThe entry {dbgsettings} was successfully created.\nC:\\&gt;bcdedit \/dbgsettings\nThere are no debugger settings present.\nThe operation completed successfully.\nC:\\&gt;bcdedit \/dbgsettings 1394 channel:11\nThe operation completed successfully.\nC:\\&gt;bcdedit \/dbgsettings\ndebugtype\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1394\nchannel\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 11\nThe operation completed successfully.<\/code><\/pre>\n<p><\/code><\/p>\n<p><span style=\"font-size: small;\">\u8bbe\u7f6e\u597d\u751f\u91cd\u542f\u7cfb\u7edf\uff0c\u4f46wndbg\u6b7b\u6d3b\u5c31\u662f\u8fde\u4e0d\u4e0a\u3002\u4f46\u540c\u6837\u7684\u786c\u4ef6\uff0c\u7528XP\u542f\u52a8windbg\u786e\u5b9e\u80fd\u6b63\u5e38\uff0c\u6240\u4ee5\u6392\u9664\u4e86\u7ebf\u6750\u3001\u786c\u4ef6\u95ee\u9898\uff0c\u8fd8\u662f\u8981\u4eceWin7\u7cfb\u7edf\u7740\u624b\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u7ecf\u8fc7\u8be6\u7ec6\u5bf9\u6bd4\u6b63\u5e38\u7cfb\u7edf\u7684BootMgr\u8bbe\u7f6e\u540e\uff0c\u53d1\u73b0\u662fdbgsettings\u867d\u8bbe\u597d\u4e86\uff0c\u4f46\u5e76\u6ca1\u6709\u5173\u8054\u5230Win7\u542f\u52a8\u9879\u4e0a\u3002\u90a3\u5c31\u505a\u4e00\u4e0b\u5173\u8054\u8bd5\u8bd5\uff1a<\/span><\/p>\n<pre><code class=\"prettyprint\" class=\"language-c\">C:\\&gt;bcdedit \/create {globalsettings}\nThe entry {globalsettings} was successfully created.\nC:\\&gt;bcdedit \/set {globalsettings}\u00a0 inherit {dbgsettings}\nThe operation completed successfully.\nC:\\&gt;bcdedit \/set {current} inherit {globalsettings}\nThe operation completed successfully.<\/code><\/pre>\n<p><span style=\"font-size: small;\">\u91cd\u542f\u7cfb\u7edf\u540e\uff0cwindbg\u4fbf\u80fd\u6b63\u5e38\u8fde\u63a5\u4e86\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">\u633a\u7b80\u5355\u7684\u4e8b\uff0c\u975e\u8981\u641e\u5f97\u8fd9\u4e48\u590d\u6742\uff01\u96be\u602a\u7b80\u5355\u7684\u82f9\u679c\u4ea7\u54c1\u5374\u8d62\u5f97\u4e86\u5982\u6b64\u591a\u7528\u6237\u7684\u82b3\u5fc3\uff01\uff1f<\/span><\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>BootMgr\u7684\u5f15\u5165\uff0c\u867d\u7136\u589e\u52a0\u4e86\u64cd\u4f5c\u53ca\u7ef4\u62a4\u7684\u590d\u6742\u5ea6\uff0c\u4f46\u76f8\u5e94\u5e26\u6765\u7684\u597d\u5904\u4e5f\u4e0d\u5c11\uff0c\u5c31\u6bd4\u5982\u6211\u66fe\u505a\u8fc7\u7684\u4e00\u6b21\u64cd\u4f5c\uff1a\u5c06Win [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[9],"tags":[419,63,418,65,394],"views":3186,"_links":{"self":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/862"}],"collection":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=862"}],"version-history":[{"count":5,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/862\/revisions"}],"predecessor-version":[{"id":1625,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/862\/revisions\/1625"}],"wp:attachment":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}