{"id":1443,"date":"2023-08-16T08:45:27","date_gmt":"2023-08-16T00:45:27","guid":{"rendered":"https:\/\/lyvba.com\/?p=1443"},"modified":"2023-08-16T09:28:29","modified_gmt":"2023-08-16T01:28:29","slug":"linux-cloud-dd","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2023\/08\/16\/linux-cloud-dd\/","title":{"rendered":"\u4f7f\u7528 dd \u547d\u4ee4\u505a\u4e86\u4e2a Deiban 12 \u7cfb\u7edf\u955c\u50cf debian12.img.gz\uff0c\u7ecf\u6d4b\u8bd5\u80fd\u6062\u590d\u4f7f\u7528"},"content":{"rendered":"<h2>\u5236\u4f5c\u547d\u4ee4<\/h2>\n<pre><code>dd if=\/dev\/sda conv=sync,noerror bs=64K | gzip -c  > \/dev\/shm\/debian12.img.gz<\/code><\/pre>\n<h2>\u4e0a\u4f20\u547d\u4ee4<\/h2>\n<pre><code>scp debian12.img.gz   root@150.230.xxx.xxx:\/tmp<\/code><\/pre>\n<h2>DD \u6062\u590d\u547d\u4ee4<\/h2>\n<pre><code>wget -O- \"http:\/\/150.230.xxx.xxx\/debian12.img.gz\" | gunzip | dd of=\/dev\/vda<\/code><\/pre>\n<h2>\u6062\u590d\u8bf4\u660e<\/h2>\n<p>\u5728\u65b0\u673a\u5668\u4e0a\uff0c\u4e0d\u7528\u4fee\u590d\u6a21\u5f0f\uff0c\u76f4\u63a5 dd \u4f1a\u662f\u5931\u8d25\uff0c\u6240\u4ee5 \u4f7f\u7528 Debian \u7f51\u7edc\u5b89\u88c5ISO\u542f\u52a8\u5230\u4fee\u590d\u6a21\u5f0f\uff0c<br \/>\n\u5728\u4fee\u590d\u6a21\u5f0f\u4e0b\uff0c\u4f7f\u7528 DD \u6062\u590d\u547d\u4ee4\uff0c\u6062\u590d\u6210\u529f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2023\/08\/1.png\" alt=\"\" \/><\/p>\n<p>\u56e0\u4e3a\u5236\u4f5c\u7684\u65f6\u5019\uff0c\u5077\u61d2\u76f4\u63a5\u5728\u539f\u7cfb\u7edf\u91cc\u628a \/dev\/sda \u6253\u5305\u5230 \/dev\/shm \u5185\u5b58\u76d8\u91cc\uff0c<br \/>\n\u6240\u4ee5\u6062\u590d\u540e\uff0c\u9700\u8981\u4f7f\u7528\u547d\u4ee4 <code>fsck \/dev\/vda1<\/code> \u4fee\u590d\u7cfb\u7edf\u76d8\u9519\u8bef<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2023\/08\/2.png\" alt=\"\" \/><\/p>\n<p>\u4fee\u590d\u78c1\u76d8\u9519\u8bef\u540e\uff0c\u91cd\u542f\u5c31OK\u4e86<br \/>\n<img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2023\/08\/3.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5236\u4f5c\u547d\u4ee4 dd if=\/dev\/sda conv=sync,noerror bs=64K | gzi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1431,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[23,17],"class_list":["post-1443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux","tag-vps"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1443"}],"version-history":[{"count":2,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1443\/revisions"}],"predecessor-version":[{"id":1448,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1443\/revisions\/1448"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media\/1431"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}