{"id":18,"date":"2009-09-29T01:27:50","date_gmt":"2009-09-28T22:27:50","guid":{"rendered":"http:\/\/yesybl.org\/blogcn\/?p=18"},"modified":"2009-09-29T01:27:50","modified_gmt":"2009-09-28T22:27:50","slug":"%e5%af%b9virtualbox%e8%99%9a%e6%8b%9f%e6%9c%bavdi%e9%95%9c%e5%83%8f%e6%96%87%e4%bb%b6%e8%bf%9b%e8%a1%8c%e7%98%a6%e8%ba%ab","status":"publish","type":"post","link":"https:\/\/www.yesybl.com\/?p=18","title":{"rendered":"\u5bf9VirtualBox\u865a\u62df\u673avdi\u955c\u50cf\u6587\u4ef6\u8fdb\u884c\u7626\u8eab"},"content":{"rendered":"<p>VirtualBox\u662f\u4e00\u6b3e\u975e\u5e38\u5e2e\u7684\u5f00\u6e90\u865a\u62df\u673a\u8f6f\u4ef6\uff0c\u4f53\u79ef\u5f88\u5c0f\uff0c\u8fd0\u884c\u5f88\u5feb\u3002\u6211\u5728Linux\u4e0b\u4f7f\u7528\u8be5\u8f6f\u4ef6\uff0c\u865a\u62dfwindowsxp\u3002\u4f46\u4f7f\u7528\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u5c24\u5176\u662f\u5728\u5ba2\u6237\u673a\u4e2d\u4f7f\u7528\u5927\u91cf\u4e34\u65f6\u6587\u4ef6\u540e\uff0c\u6587\u4ef6\u867d\u7136\u88ab\u5220\u9664\u4e86\uff0c\u4f46\u662f\u865a\u62df\u673a\u78c1\u76d8vdi\u6587\u4ef6\u7684\u5927\u5c0f\u5374\u53ea\u589e\u4e0d\u51cf\uff0c\u8fd9\u6837\uff0c\u5b9e\u9645\u7269\u7406\u786c\u76d8\u7684\u7a7a\u95f4\u5c31\u4f1a\u88ab\u767d\u767d\u6d6a\u8d39\uff0c\u9020\u6210host\u7684\u78c1\u76d8\u7a7a\u95f4\u7d27\u5f20\u3002\u73b0\u5728\u5c31\u8bf4\u4e00\u4e0b\uff0c\u5982\u4f55\u5c06vdi\u6587\u4ef6\u4e2d\u6ca1\u6709\u88ab\u4f7f\u7528\u7684\u7a7a\u767d\u7a7a\u95f4\u5f52\u8fd8\u7ed9\u4e3b\u673a\u7cfb\u7edf\uff0c\u7b49\u9700\u8981\u7684\u65f6\u5019\u518d\u5206\u914d\u7ed9\u5ba2\u6237\u673a\u4f7f\u7528\u3002<\/p>\n<p>\u6211\u4f7f\u7528Linux\u505a\u4e3b\u673a\uff0c\u5ba2\u6237\u673a\u662fwindows xp with NTFS file system.<br \/>\n\u9996\u5148\u5728\u5ba2\u6237\u673a\u4e2d\u5b89\u88c5SDelete\u8f6f\u4ef6\uff0c \u53ef\u5728\u4e0b\u9762\u7684\u5730\u5740\u4e0b\u8f7d\u5230\uff1a<\/p>\n<pre lang=\"text\">\nhttp:\/\/www.microsoft.com\/technet\/sysinternals\/Security\/SDelete.mspx\n<\/pre>\n<p>\u7136\u540e\u5728\u5ba2\u6237\u673a\u4e2d\u7684\u7ec8\u7aef\u91cc\uff08\u53cams-dos\u7a97\u53e3\uff09\u8f93\u5165<\/p>\n<pre lang=\"text\">\nsdelete -c c:\n<\/pre>\n<p>\u5982\u679c\u6709\u5206\u533a\uff0c\u4ee5\u6b64\u5bf9\u6bcf\u4e00\u4e2a\u5206\u533a\u8fdb\u884c\u7a7a\u767d\u78c1\u76d8\u7a7a\u95f4\u7684\u586b\u51990\u5904\u7406\u3002\u4e5f\u5c31\u662f\u5c06NTFS\u683c\u5f0f\u4e2d\u7684\u7a7a\u767d\u7a7a\u95f4\u5168\u90e8\u586b\u5199\u6210\u20180\u2019\u3002<br \/>\n\u5173\u95ed\u5ba2\u6237\u673a\u548cvirtualBox\uff0c\u5728bash\u63d0\u793a\u7b26\u4e0b\u8f93\u5165<\/p>\n<pre lang=\"bash\">\nvditool SHRINK WindowXP_with_NTFS.vdi\n<\/pre>\n<p>vditool\u662fvirtualBox\u81ea\u5df1\u5e26\u7684\u4e00\u4e2a\u5de5\u5177\u8f6f\u4ef6\uff0c\u4e3b\u8981\u662f\u5bf9vdi\u6587\u4ef6\u8fdb\u884c\u5404\u79cd\u64cd\u4f5c\u3002\u5176\u4e2dSHRINK\u662f\u4e00\u4e2a\u53c2\u6570\uff0c\u8868\u793a\u5bf9vdi\u6587\u4ef6\u8fdb\u884c\u7626\u8eab\u3002<br \/>\n\u5b8c\u6210\u5c31vdi\u6587\u4ef6\u5c31\u6062\u590d\u5230\u4e86\u8be5\u6709\u7684\u5927\u5c0f\uff0c\u91ca\u653e\u4e86\u4e0d\u5fc5\u8981\u5360\u7528\u7684\u7269\u7406\u786c\u76d8\u7a7a\u95f4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<a href=\"https:\/\/www.yesybl.com\/?p=18\" rel=\"bookmark\" title=\"Permalink to \u5bf9VirtualBox\u865a\u62df\u673avdi\u955c\u50cf\u6587\u4ef6\u8fdb\u884c\u7626\u8eab\"><p>VirtualBox\u662f\u4e00\u6b3e\u975e\u5e38\u5e2e\u7684\u5f00\u6e90\u865a\u62df\u673a\u8f6f\u4ef6\uff0c\u4f53\u79ef\u5f88\u5c0f\uff0c\u8fd0\u884c\u5f88\u5feb\u3002\u6211\u5728Linux\u4e0b\u4f7f\u7528\u8be5\u8f6f\u4ef6\uff0c\u865a\u62dfwindowsxp\u3002\u4f46\u4f7f\u7528\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u5c24\u5176\u662f\u5728\u5ba2\u6237\u673a\u4e2d\u4f7f\u7528\u5927\u91cf\u4e34\u65f6\u6587\u4ef6\u540e\uff0c\u6587\u4ef6\u867d\u7136\u88ab\u5220\u9664\u4e86\uff0c\u4f46\u662f\u865a\u62df\u673a\u78c1\u76d8vdi\u6587\u4ef6\u7684\u5927\u5c0f\u5374\u53ea\u589e\u4e0d\u51cf\uff0c\u8fd9\u6837\uff0c\u5b9e\u9645\u7269\u7406\u786c\u76d8\u7684\u7a7a\u95f4\u5c31\u4f1a\u88ab\u767d\u767d\u6d6a\u8d39\uff0c\u9020\u6210host\u7684\u78c1\u76d8\u7a7a\u95f4\u7d27\u5f20\u3002\u73b0\u5728\u5c31\u8bf4\u4e00\u4e0b\uff0c\u5982\u4f55\u5c06vdi\u6587\u4ef6\u4e2d\u6ca1\u6709\u88ab\u4f7f\u7528\u7684\u7a7a\u767d\u7a7a\u95f4\u5f52\u8fd8\u7ed9\u4e3b\u673a\u7cfb\u7edf\uff0c\u7b49\u9700\u8981\u7684\u65f6\u5019\u518d\u5206\u914d\u7ed9\u5ba2\u6237\u673a\u4f7f\u7528\u3002 \u6211\u4f7f\u7528Linux\u505a\u4e3b\u673a\uff0c\u5ba2\u6237\u673a\u662fwindows xp with NTFS file system. \u9996\u5148\u5728\u5ba2\u6237\u673a\u4e2d\u5b89\u88c5SDelete\u8f6f\u4ef6\uff0c \u53ef\u5728\u4e0b\u9762\u7684\u5730\u5740\u4e0b\u8f7d\u5230\uff1a http:\/\/www.microsoft.com\/technet\/sysinternals\/Security\/SDelete.mspx \u7136\u540e\u5728\u5ba2\u6237\u673a\u4e2d\u7684\u7ec8\u7aef\u91cc\uff08\u53cams-dos\u7a97\u53e3\uff09\u8f93\u5165 sdelete -c c: \u5982\u679c\u6709\u5206\u533a\uff0c\u4ee5\u6b64\u5bf9\u6bcf\u4e00\u4e2a\u5206\u533a\u8fdb\u884c\u7a7a\u767d\u78c1\u76d8\u7a7a\u95f4\u7684\u586b\u51990\u5904\u7406\u3002\u4e5f\u5c31\u662f\u5c06NTFS\u683c\u5f0f\u4e2d\u7684\u7a7a\u767d\u7a7a\u95f4\u5168\u90e8\u586b\u5199\u6210\u20180\u2019\u3002 \u5173\u95ed\u5ba2\u6237\u673a\u548cvirtualBox\uff0c\u5728bash\u63d0\u793a\u7b26\u4e0b\u8f93\u5165 vditool SHRINK WindowXP_with_NTFS.vdi vditool\u662fvirtualBox\u81ea\u5df1\u5e26\u7684\u4e00\u4e2a\u5de5\u5177\u8f6f\u4ef6\uff0c\u4e3b\u8981\u662f\u5bf9vdi\u6587\u4ef6\u8fdb\u884c\u5404\u79cd\u64cd\u4f5c\u3002\u5176\u4e2dSHRINK\u662f\u4e00\u4e2a\u53c2\u6570\uff0c\u8868\u793a\u5bf9vdi\u6587\u4ef6\u8fdb\u884c\u7626\u8eab\u3002 \u5b8c\u6210\u5c31vdi\u6587\u4ef6\u5c31\u6062\u590d\u5230\u4e86\u8be5\u6709\u7684\u5927\u5c0f\uff0c\u91ca\u653e\u4e86\u4e0d\u5fc5\u8981\u5360\u7528\u7684\u7269\u7406\u786c\u76d8\u7a7a\u95f4\u3002<\/p>\n<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pa4z28-i","_links":{"self":[{"href":"https:\/\/www.yesybl.com\/index.php?rest_route=\/wp\/v2\/posts\/18"}],"collection":[{"href":"https:\/\/www.yesybl.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yesybl.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yesybl.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yesybl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":0,"href":"https:\/\/www.yesybl.com\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yesybl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yesybl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yesybl.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}