{"id":923,"date":"2024-09-28T16:48:35","date_gmt":"2024-09-28T08:48:35","guid":{"rendered":"https:\/\/zhujifabu.com\/index.php\/2024\/09\/28\/linux%e7%b3%bb%e7%bb%9f%e5%9b%ba%e6%80%81%e7%a1%ac%e7%9b%98%e7%94%a8dd%e5%91%bd%e4%bb%a4%e5%85%8b%e9%9a%86%e6%8a%80%e5%b7%a7-dd%e5%91%bd%e4%bb%a4%e5%ae%9e%e7%8e%b0%e7%a1%ac%e7%9b%98%e5%85%8b%e9%9a%86\/"},"modified":"2024-09-28T16:48:35","modified_gmt":"2024-09-28T08:48:35","slug":"linux%e7%b3%bb%e7%bb%9f%e5%9b%ba%e6%80%81%e7%a1%ac%e7%9b%98%e7%94%a8dd%e5%91%bd%e4%bb%a4%e5%85%8b%e9%9a%86%e6%8a%80%e5%b7%a7-dd%e5%91%bd%e4%bb%a4%e5%ae%9e%e7%8e%b0%e7%a1%ac%e7%9b%98%e5%85%8b%e9%9a%86","status":"publish","type":"post","link":"https:\/\/www.zhujifabu.com\/index.php\/2024\/09\/28\/linux%e7%b3%bb%e7%bb%9f%e5%9b%ba%e6%80%81%e7%a1%ac%e7%9b%98%e7%94%a8dd%e5%91%bd%e4%bb%a4%e5%85%8b%e9%9a%86%e6%8a%80%e5%b7%a7-dd%e5%91%bd%e4%bb%a4%e5%ae%9e%e7%8e%b0%e7%a1%ac%e7%9b%98%e5%85%8b%e9%9a%86\/","title":{"rendered":"Linux\u7cfb\u7edf\u56fa\u6001\u786c\u76d8\u7528dd\u547d\u4ee4\u514b\u9686\u6280\u5de7 (dd\u547d\u4ee4\u5b9e\u73b0\u786c\u76d8\u514b\u9686)"},"content":{"rendered":"<p>\u56fa\u6001\u786c\u76d8\u7684\u51fa\u73b0\uff0c\u5927\u5927\u63d0\u9ad8\u4e86\u8ba1\u7b97\u673a\u7cfb\u7edf\u7684\u8bfb\u5199\u901f\u5ea6\uff0c\u662f\u8ba1\u7b97\u673a\u6027\u80fd\u4f18\u5316\u7684\u91cd\u8981\u624b\u6bb5\u4e4b\u4e00\u3002\u7136\u800c\uff0c\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u56fa\u6001\u786c\u76d8\u7684\u4f7f\u7528\u5bff\u547d\u4e5f\u4f1a\u9010\u6e10\u7f29\u77ed\uff0c\u751a\u81f3\u4f1a\u51fa\u73b0\u574f\u9053\u3001\u6545\u969c\u7b49\u95ee\u9898\uff0c\u9700\u8981\u66f4\u6362\u3002\u5728\u5b89\u88c5\u56fa\u6001\u786c\u76d8\u65f6\uff0c\u5982\u4f55\u4fdd\u7559\u539f\u6709\u7cfb\u7edf\u7684\u6570\u636e\u548c\u8bbe\u7f6e\uff0c\u4ee5\u4fbf\u80fd\u591f\u5feb\u901f\u6062\u590d\u539f\u6709\u4e1a\u52a1\u73af\u5883\uff0c\u6210\u4e3a\u4e86\u4f17\u591aLinux\u7ba1\u7406\u5458\u5173\u6ce8\u7684\u91cd\u8981\u95ee\u9898\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Ubuntu\u7684dd\u547d\u4ee4\u6216\u8005Clonezilla\u5de5\u5177\uff0c\u5b9e\u73b0Linux\u7cfb\u7edf\u56fa\u6001\u786c\u76d8\u514b\u9686\u7684\u6280\u5de7\uff0c\u5e2e\u52a9\u60a8\u5728\u66f4\u6362\u56fa\u6001\u786c\u76d8\u65f6\u987a\u5229\u5b8c\u6210\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-225553 aligncenter\" src=\"\/\/zhujifabu.com\/wp-content\/uploads\/2024\/09\/20240928084834-66f7c2e2908b8.jpg\" alt=\"Linux\u7cfb\u7edf\u56fa\u6001\u786c\u76d8\u7528dd\u547d\u4ee4\u514b\u9686\u6280\u5de7 (dd\u547d\u4ee4\u5b9e\u73b0\u786c\u76d8\u514b\u9686)\" alt=\"\" width=\"650\" height=\"384\" \/><\/p>\n<p><span style=\"color: #003300\"><strong>\u4e00\u3001\u4f7f\u7528dd\u547d\u4ee4\u5b9e\u73b0\u786c\u76d8\u514b\u9686<\/strong><\/span><\/p>\n<p>dd\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u5e38\u7528\u7684\u4e00\u6761\u547d\u4ee4\uff0c\u4e3b\u8981\u7528\u4e8e\u590d\u5236\u548c\u8f6c\u6362\u6587\u4ef6\u3002\u5728\u5bf9Linux\u7cfb\u7edf\u56fa\u6001\u786c\u76d8\u8fdb\u884c\u514b\u9686\u65f6\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528dd\u547d\u4ee4\u6765\u5b9e\u73b0\u3002\u4ee5\u4e0b\u662f\u5b9e\u73b0\u65b9\u6cd5\uff1a<\/p>\n<p><strong>1.\u5927\u6587\u4ef6\u62f7\u8d1d<\/strong><\/p>\n<p><strong>\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/strong><\/p>\n<p><span style=\"color: #ff6600\">dd if=\/dev\/sda of=\/dev\/sdb bs=64k conv=noerror,sync status=progress<\/span><\/p>\n<p>\u5176\u4e2d\uff0cif\u53c2\u6570\u540e\u9762\u4ee3\u8868\u7684\u662f\u6e90\u76d8\uff0c\u5373\u5f85\u590d\u5236\u7684\u786c\u76d8\uff0cof\u53c2\u6570\u540e\u9762\u4ee3\u8868\u7684\u662f\u76ee\u6807\u76d8\uff0c\u5373\u5f85\u751f\u6210\u7684\u514b\u9686\u786c\u76d8\u3002bs\u53c2\u6570\u4ee3\u8868\u7684\u662f\u6bcf\u6b21\u8bfb\u5199\u7684\u5757\u5927\u5c0f\uff0c\u907f\u514d\u5927\u6587\u4ef6\u76f4\u63a5\u62f7\u8d1d\u5bfc\u81f4\u6587\u4ef6\u635f\u574f\u6216\u51fa\u73b0\u574f\u9053\u3002\u4e00\u822c\u5efa\u8bae\u8bbe\u7f6e\u4e3a64k\u6216128k\uff0c\u8f83\u4e3a\u5b89\u5168\u53ef\u9760\u3002conv\u53c2\u6570\u4ee3\u8868\u7684\u662f\u6570\u636e\u8f6c\u6362\uff0cnoerror\u9009\u9879\u8868\u793a\u5728\u8bfb\u53d6\u6570\u636e\u65f6\u51fa\u73b0\u9519\u8bef\u65f6\uff0c\u8df3\u8fc7\u9519\u8bef\u6570\u636e\uff0csync\u9009\u9879\u8868\u793a\u5c06\u8f93\u51fa\u540c\u6b65\u5199\u5165\u76ee\u6807\u8bbe\u5907\u3002\u4ee5\u4e0a\u547d\u4ee4\u6267\u884c\u8fc7\u7a0b\u4e2d\uff0cdd\u547d\u4ee4\u5c06\u5c06\u6e90\u76d8\u7684\u6240\u6709\u5185\u5bb9\u62f7\u8d1d\u5230\u76ee\u6807\u76d8\u4e2d\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u4f1a\u6bd4\u8f83\u957f\u3002\u8f93\u5165\u547d\u4ee4\u540e\uff0c\u7b49\u5f85\u62f7\u8d1d\u5b8c\u6210\u5373\u53ef\u3002status=progress\u7684\u610f\u601d\uff0c\u5219\u662f\u663e\u793a\u8fdb\u5ea6\u7684\u610f\u601d\u3002<\/p>\n<p><strong>2.\u5206\u533a\u62f7\u8d1d<\/strong><\/p>\n<p><strong>\u5982\u679c\u60a8\u53ea\u9700\u8981\u62f7\u8d1d\u786c\u76d8\u4e0a\u7684\u67d0\u4e2a\u5206\u533a\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/strong><\/p>\n<p><span style=\"color: #ff6600\">dd if=\/dev\/sda1 of=\/dev\/sdb1 bs=64k conv=noerror,sync<\/span><\/p>\n<p>\u5176\u4e2d\uff0cif\u53c2\u6570\u540e\u9762\u4ee3\u8868\u7684\u662f\u6e90\u8bbe\u5907\u7684\u5206\u533a\uff0cof\u53c2\u6570\u540e\u9762\u4ee3\u8868\u7684\u662f\u76ee\u6807\u8bbe\u5907\u7684\u5206\u533a\u3002\u8fd8\u9700\u8981\u6ce8\u610f\uff0c\u5728\u4f7f\u7528dd\u547d\u4ee4\u8fdb\u884c\u5206\u533a\u514b\u9686\u65f6\uff0c\u4e0d\u9700\u8981\u624b\u52a8\u521b\u5efa\u5206\u533a\uff0cdd\u547d\u4ee4\u4f1a\u81ea\u52a8\u5c06\u6e90\u5206\u533a\u7684\u6240\u6709\u8bbe\u5907\u5757\u590d\u5236\u5230\u76ee\u6807\u5206\u533a\u4e2d\uff0c\u65e0\u9700\u4f5c\u4efb\u4f55\u6539\u52a8\u3002<\/p>\n<p><span style=\"color: #003300\"><strong>\u4e8c\u3001\u4f7f\u7528Clonezilla\u5de5\u5177\u5b9e\u73b0\u786c\u76d8\u514b\u9686<\/strong><\/span><\/p>\n<p>\u9664\u4e86\u4f7f\u7528dd\u547d\u4ee4\u5b9e\u73b0\u786c\u76d8\u514b\u9686\u5916\uff0c\u8fd8\u6709\u5f88\u591a\u514b\u9686\u5de5\u5177\u53ef\u4ee5\u4f7f\u7528\u3002\u5176\u4e2d\uff0cClonezilla\u5de5\u5177\u662f\u514d\u8d39\u3001\u529f\u80fd\u5f3a\u5927\u4e14\u6613\u4e8e\u4f7f\u7528\u7684\u4e00\u6b3eLinux\u7cfb\u7edf\u514b\u9686\u5de5\u5177\uff0c\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7cfb\u7edf\u514b\u9686\u3001\u5907\u4efd\u3001\u8fd8\u539f\u7b49\u9886\u57df\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528Clonezilla\u5de5\u5177\u5b9e\u73b0\u786c\u76d8\u514b\u9686\u7684\u6b65\u9aa4\uff1a<\/p>\n<p><strong>1.\u4e0b\u8f7dClonezilla\u955c\u50cf<\/strong><\/p>\n<p>\u524d\u5f80Clonezilla\u5b98\u7f51 http:\/\/clonezilla.org\/downloads.php \uff0c\u9009\u62e9\u9002\u5408\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u4e0b\u8f7dClonezilla\u955c\u50cf\u3002<\/p>\n<p><strong>2.\u5236\u4f5c\u542f\u52a8\u76d8<\/strong><\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u5c06\u955c\u50cf\u6587\u4ef6\u5236\u4f5c\u6210\u542f\u52a8\u76d8\uff0c\u53ef\u4ee5\u4f7f\u7528U\u76d8\u6216\u8005\u5149\u76d8\u3002\u5728\u5236\u4f5c\u5b8c\u6210\u540e\uff0c\u5c06\u542f\u52a8\u76d8\u63d2\u5165\u9700\u8981\u514b\u9686\u7684\u8ba1\u7b97\u673a\u4e2d\u5e76\u5f00\u673a\u3002<\/p>\n<p><strong>3.\u9009\u62e9Clonezilla\u514b\u9686\u65b9\u5f0f<\/strong><\/p>\n<p>\u542f\u52a8\u8ba1\u7b97\u673a\u540e\uff0c\u8fdb\u5165Clonezilla\u754c\u9762\u3002\u9009\u62e9\u6240\u9700\u7684\u514b\u9686\u65b9\u5f0f\uff0c\u6709\u786c\u76d8\u5230\u786c\u76d8\u590d\u5236\u548c\u786c\u76d8\u5907\u4efd\u6062\u590d\u4e24\u79cd\u9009\u62e9\uff0c\u6839\u636e\u9700\u6c42\u9009\u62e9\u4e0d\u540c\u7684\u9009\u9879\u3002<\/p>\n<p><strong>4.\u9009\u62e9\u5206\u533a\u5e76\u5f00\u59cb\u514b\u9686<\/strong><\/p>\n<p>\u5728\u5206\u522b\u9009\u62e9\u6e90\u786c\u76d8\u548c\u76ee\u6807\u786c\u76d8\u540e\uff0c\u6839\u636e\u63d0\u793a\u9009\u62e9\u9700\u8981\u514b\u9686\u7684\u5206\u533a\uff0c\u7136\u540e\u5373\u53ef\u5f00\u59cb\u514b\u9686\u8fc7\u7a0b\u3002\u514b\u9686\u8fc7\u7a0b\u9700\u8981\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u65f6\u95f4\u957f\u77ed\u53d6\u51b3\u4e8e\u786c\u76d8\u5bb9\u91cf\u5927\u5c0f\u548c\u514b\u9686\u65b9\u5f0f\u7b49\u56e0\u7d20\u3002<\/p>\n<p><strong>5.\u786e\u8ba4\u514b\u9686\u7ed3\u679c\u5e76\u6062\u590d\u7cfb\u7edf<\/strong><\/p>\n<p>\u514b\u9686\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u63d2\u62d4\u786c\u76d8\u8fdb\u884c\u9a8c\u8bc1\uff0c\u786e\u4fdd\u514b\u9686\u7ed3\u679c\u6b63\u786e\u3002\u5982\u679c\u514b\u9686\u6210\u529f\uff0c\u5219\u53ef\u4ee5\u5c06\u76ee\u6807\u786c\u76d8\u5b89\u88c5\u5230\u9700\u8981\u4f7f\u7528\u7684\u8ba1\u7b97\u673a\u4e2d\uff0c\u8fdb\u5165\u5230Ubuntu\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p><span style=\"color: #ff6600\">sudo update-grub<\/span><\/p>\n<p>\u66f4\u65b0grub\u5f15\u5bfc\u3002\u91cd\u542f\u8ba1\u7b97\u673a\uff0c\u5373\u53ef\u4f7f\u7528\u5b8c\u5168\u76f8\u540c\u7684\u7cfb\u7edf\u548c\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\u4e86Ubuntu\u7cfb\u7edf\u4e0b\u4e24\u79cd\u5b9e\u73b0\u56fa\u6001\u786c\u76d8\u514b\u9686\u7684\u6280\u5de7\uff1a\u4f7f\u7528dd\u547d\u4ee4\u548cClonezilla\u5de5\u5177\u3002\u5176\u4e2d\uff0cdd\u547d\u4ee4\u9002\u5408\u5bf9Linux\u7cfb\u7edf\u8fdb\u884c\u7b80\u5355\u7684\u786c\u76d8\u514b\u9686\uff0c\u800cClonezilla\u5de5\u5177\u5219\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u9009\u62e9\u4e0d\u540c\u7684\u514b\u9686\u65b9\u5f0f\uff0c\u5e76\u8fdb\u884c\u5907\u4efd\u6062\u590d\u7b49\u64cd\u4f5c\u3002\u65e0\u8bba\u60a8\u9009\u62e9\u54ea\u79cd\u65b9\u5f0f\uff0c\u90fd\u9700\u8981\u6ce8\u610f\u5907\u4efd\u6570\u636e\u3001\u6b63\u786e\u9009\u62e9\u786c\u76d8\u3001\u786e\u8ba4\u514b\u9686\u7ed3\u679c\u7b49\u91cd\u8981\u6b65\u9aa4\u3002\u5e0c\u671b\u672c\u6587\u53ef\u4ee5\u4e3a\u60a8\u5728\u66f4\u6362\u56fa\u6001\u786c\u76d8\u65f6\u63d0\u4f9b\u53c2\u8003\u548c\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86Linux\u7cfb\u7edf\u56fa\u6001\u786c\u76d8\u7528dd\u547d\u4ee4\u514b\u9686\u6280\u5de7 (dd\u547d\u4ee4\u5b9e\u73b0\u786c\u76d8\u514b\u9686)\uff0c\u5177\u6709\u5f88\u597d\u7684\u53c2\u8003\u4ef7\u503c\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002\u4e00\u8d77\u8ddf\u968f\u5c0f\u7f16\u8fc7\u6765\u770b\u770b\u5427...<\/p>\n","protected":false},"author":3,"featured_media":922,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[46,29,49,48,47],"class_list":["post-923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jishu","tag-46","tag-29","tag-49","tag-48","tag-47"],"_links":{"self":[{"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/posts\/923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/comments?post=923"}],"version-history":[{"count":0,"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/posts\/923\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/media?parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/categories?post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhujifabu.com\/index.php\/wp-json\/wp\/v2\/tags?post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}