{"id":1359,"date":"2023-08-26T10:04:37","date_gmt":"2023-08-26T02:04:37","guid":{"rendered":"http:\/\/www.autouav.net.cn\/?p=1359"},"modified":"2023-08-26T17:15:06","modified_gmt":"2023-08-26T09:15:06","slug":"%e5%88%b6%e4%bd%9c%e6%a0%91%e8%8e%93%e6%b4%be%e9%95%9c%e5%83%8f","status":"publish","type":"post","link":"https:\/\/www.autouav.net.cn\/?p=1359","title":{"rendered":"\u5236\u4f5c\u6811\u8393\u6d3e\u955c\u50cf"},"content":{"rendered":"<div id=\"content_views\" class=\"htmledit_views\">\n<p><strong><em>\u65b9\u6cd51\uff1a<\/em><\/strong>\u8f6f\u4ef6Win32Diskimager\uff0cpc win\u7cfb\u7edf\u5c31\u53ef\u4ee5\u64cd\u4f5c\u3002\u5c06\u5e26\u6811\u8393\u6d3e\u955c\u50cf\u7684sd\u5361\u63d2\u5165\u7535\u8111\uff0c\u5728\u4efb\u610f\u4f4d\u7f6e\u65b0\u5efa\u4e00\u4e2a.img\u7ed3\u5c3e\u7684\u6587\u4ef6\uff0c\u6253\u5f00Win32Diskimager\u9009\u4e2d\u521a\u521a\u65b0\u5efa\u7684img\u6587\u4ef6\u548csd\u5361\u9a71\u52a8\uff0c\u70b9\u51fbread\u5c31\u53ef\u4ee5\u5236\u4f5c\uff0c\u64cd\u4f5c\u65b9\u4fbf\uff0c\u4f46\u662f\u5236\u51fa\u6765\u7684\u955c\u50cf\u53efsd\u5361\u603b\u5bb9\u91cf\u4e00\u6837\u5927\uff0c\u5236\u4f5c\u548c\u70e7\u5f55\u65f6\u95f4\u6bd4\u8f83\u957f\uff0c\u518d\u6b21\u4f7f\u7528\u65f6\u4e0d\u80fd\u70e7\u5f55\u5c0f\u4e8e\u5f53\u524dsd\u5361\u7684\u5361\u4e2d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/d5fe68ea525a14e459134b350c1aa64a.png\" alt=\"\" \/><\/p>\n<p><em><strong>\u65b9\u6cd52\uff1a<\/strong><\/em>linux\u7cfb\u7edf\u4e0b\u5236\u4f5c\uff0c\u63d2\u5165sd\u5361\uff0c\u5728\u547d\u4ee4\u884c\u8f93\u5165 df -lh \u67e5\u770b\u6302\u8f7d\u7684\u5206\u533a \uff0c\u663e\u793a\/dev\/sdb\u8fd9\u4e2a\u8bbe\u5907\u6709\/dev\/sdb1\u548c\/dev\/sdb2\u4e24\u4e2a\u5206\u533a(\u4e5f\u53ef\u80fd\u65f6sdc\u3001sdd)\uff0c\u7ee7\u800c\u4f7f\u7528\u547d\u4ee4\uff1asudo dd if=\/dev\/sdb of=.\/name.img\u00a0 if\u540e\u9762\u8ddf\u7684\u662f\u6302\u8f7d\u7684sd\u5361\u8bbe\u5907\uff0cof\u540e\u9762\u662f\u51c6\u5907\u751f\u6210\u7684\u955c\u50cf\u8def\u5f84\u548c\u540d\u79f0\u3002\u5236\u4f5c\u51fa\u6765\u6765\u7684\u955c\u50cf\u548c\u65b9\u6cd51\u4e00\u6837\uff0c\u4e5f\u662f\u6709\u5927\u5c0f\u9650\u5236\u3002<\/p>\n<p><em><strong>\u65b9\u6cd53<\/strong>\uff1a<\/em>\u4f7f\u7528gparted\u5de5\u5177\u4fee\u6539\u5206\u533a\u5236\u4f5c\u6700\u5c0f\u955c\u50cf<\/p>\n<p>\u5b89\u88c5gparted\u547d\u4ee4\uff1asudo apt install gparted<\/p>\n<ul>\n<li><strong>\u7ec8\u7aef\u67e5\u770bU\u76d8\u5728Ubuntu\u7cfb\u7edf\u5185\u7684\u78c1\u76d8\u540d\u79f0<\/strong><\/li>\n<\/ul>\n<pre data-index=\"0\"><code class=\"hljs language-undefined\">sudo fdisk -l<\/code><\/pre>\n<p>\u5728\u7ec8\u7aef\u8f93\u5165gparted \/dev\/sdb \u6253\u5f00\u6302\u8f7d\u7684sd\u5361<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/1aeabbae06f11760e6b11117396c06f7.png\" alt=\"\" \/><\/p>\n<p>\u4e0a\u56fe\u663e\u793a\u7684\u7b2c\u4e00\u4e2a\u662f\/boot\u7684FAT32\u5206\u533a\uff0c\u7b2c\u4e8c\u4e2a\u662f\u6839\u5206\u533a\u3002\u7b2c\u4e8c\u5206\u533a\u670922.33GiB\u662f\u6ca1\u6709\u4f7f\u7528\u7684\uff0c\u8fd9\u90e8\u5206\u4e0d\u9700\u8981\u5907\u4efd\u5230\u955c\u50cf\u4e2d\uff0c<\/p>\n<p>\u9009\u4e2d<strong>sdb2<\/strong>\uff0c\u70b9\u51fb\u5206\u533a\u2013&gt;\u5378\u8f7d<\/p>\n<p>\u9009\u4e2d<strong>sdb2<\/strong>\uff0c\u70b9\u51fb\u5de5\u5177\u680f\u7684\u5411\u53f3\u7bad\u5934\u6216\u70b9\u51fb\u5206\u533a\u2013&gt;\u66f4\u6539\u5927\u5c0f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/345c99dc1f2e0438651fb330cd8c6c8e.png\" alt=\"\" \/><\/p>\n<p><u><strong>\u8bbe\u8ba1\u5206\u533a\u5927\u5c0f\uff0c<\/strong><\/u><strong>\u00a0\u6b64\u6b65\u9aa4\u53ef\u80fd\u4f1a\u62a5\u9519\uff0c\u8fd9\u662f\u4f60\u8981\u4fee\u6539\u7684\u5206\u533a\u592a\u5c0f\u4e86\uff0c\u5c06\u5206\u533a\u4fee\u6539\u5927\u4e00\u70b9\uff0c\u91cd\u65b0\u6267\u884c\u64cd\u4f5c\u5c31\u53ef\u4ee5\u4e86\uff0c\u5177\u4f53\u662f\u591a\u5c11\u9700\u8981\u770b\u4e2a\u4eba\u7684\u60c5\u51b5\u200b\u200b\u200b<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/5c3e23bbfb5a90795ec2c43e3aff1691.png\" alt=\"\" \/><\/p>\n<p>\u70b9\u51fb\u5de5\u5177\u680f\u7684\u52fe\u6267\u884c\u64cd\u4f5c<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/7546bdad5dcdff173af76a5d4891c0a7.png\" alt=\"\" \/><\/p>\n<p>\u4fee\u6539\u540e\u7684\u7ed3\u679c<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/5c3e23bbfb5a90795ec2c43e3aff1691.png\" alt=\"\" \/><\/p>\n<p>\u67e5\u770b\u5206\u533a\u60c5\u51b5<code>sudo fdisk -l \/dev\/sdb\uff0c<strong>\u5236\u4f5c\u955c\u50cf<\/strong><\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/fa08afdfab4ee57b20e64b35e01e4c2a.png\" alt=\"\" \/><\/p>\n<p>\u4ece\u663e\u793a\u4fe1\u606f\u770b\u51fa\uff0c\u6247\u533a\u5927\u5c0f\u4e3a512\uff0c\u6247\u533a\u672b\u5c3e\u4e3a17256447\u8fd0\u884cdd\u547d\u4ee4<\/p>\n<pre><code class=\"language-html\">sudo dd if=\/dev\/sdb of=.\/name.img bs=512 count=17256448 #\u56e0\u4e3a\u6247\u533a\u662f\u51b20\u8ba1\u6570\uff0c\u6240\u4ee5count\u8981\u52a0\u4e00\r\n\r\n<\/code><\/pre>\n<pre><code class=\"prism language-python\">tar cJf <span class=\"token builtin\">file<\/span><span class=\"token punctuation\">.<\/span>tar<span class=\"token punctuation\">.<\/span>xz input1<\/code><code class=\"language-html\"><\/code><\/pre>\n<p><u><strong>bs\u540e\u9762\u8981\u6839\u636e\u4e0a\u56fe\u6247\u533a\u5927\u5c0f\u586b\u5199\uff0ccount\u8981\u6839\u636e\u9014\u4e2d\u5206\u533a2\u7684\u6247\u533a\u672b\u5c3e\u6570\u76ee\u52a01\u586b\u5199<\/strong><\/u><\/p>\n<p>\u7b49\u5f85\u6267\u884c\u7ed3\u675f\u5c31\u53ef\u4ee5\u4e86\uff0c\u70e7\u5f55\u540e\u955c\u50cf\u7684\u5206\u533a\u5927\u5c0f\u4e5f\u53ef\u7528<strong>gparted\u548cubuntu\u7684\u78c1\u76d8\u5de5\u5177\u6269\u5bb9<\/strong>\uff0c\u6216\u8005\u76f4\u63a5\u5728\u6811\u8393\u6d3e\u4e0a\u6269\u5bb9<\/p>\n<p>ps\uff1a\u4e0a\u8ff0\u4fee\u6539\u5206\u533a\u5927\u5c0f\u4e5f\u53ef\u4ee5\u7528ubuntu\u81ea\u5e26\u7684\u78c1\u76d8\u5de5\u5177\u8fdb\u884c\u4fee\u6539<\/p>\n<p>\u6253\u5f00\u78c1\u76d8\u5de5\u5177\uff0c\u9009\u4e2d\u6302\u8f7d\u7684SD\u5361<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/31386b3a53662facf1a6dae1f81ba639.png\" alt=\"\" \/><\/p>\n<p>\u9009\u4e2dsdb2\u5206\u533a\uff0c\u70b9\u51fb\u5de6\u4e0b\u65b9\u7684\u65b9\u5f62\u6309\u952e\u5378\u8f7dsdb2<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/095ac8bc45fab3aa0a1f3f719fdbe359.png\" alt=\"\" \/><\/p>\n<p>\u8c03\u6574\u5206\u533a\u5927\u5c0f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/1f92f6921f40b7fe4f94189b6fe1d8ce.png\" alt=\"\" \/><\/p>\n<p>\u5c06\u6e38\u6807\u62c9\u5230\u9002\u5f53\u7684\u5927\u5c0f\u4f4d\u7f6e\uff0c\u70b9\u51fb\u8c03\u6574\u5927\u5c0f\uff0c\u7b49\u5f85\u5373\u53ef\uff0c\u5982\u679c\u51fa\u73b0\u9519\u8bef\uff0c\u518d\u6b21\u8c03\u6574\u5206\u533a\u5927\u5c0f\u5373\u53ef<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/64c14b1931874e7f4cb7b547bb633ada.png\" alt=\"\" \/><\/p>\n<p>\u4fee\u6539\u7ed3\u679c<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.autouav.net.cn\/wp-content\/uploads\/2023\/08\/ff291f8953c3864ed251b3faf263cd67.png\" alt=\"\" \/><\/p>\n<\/div>\n<hr class=\"wp-block-separator has-text-color has-ast-global-color-6-color has-alpha-channel-opacity has-ast-global-color-6-background-color has-background is-style-wide\" \/>\n<div>\u7248\u6743\u58f0\u660e\uff1a\u672c\u6587\u4e3aqq_34824576\u539f\u521b\u6587\u7ae0\uff0c\u9075\u5faa<a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\" target=\"_blank\" rel=\"noopener nofollow\">CC 4.0 BY-SA<\/a>\u7248\u6743\u534f\u8bae\uff0c\u8f6c\u8f7d\u8bf7\u9644\u4e0a\u539f\u6587\u51fa\u5904\u94fe\u63a5\u548c\u672c\u58f0\u660e\u3002<\/div>\n<div>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/blog.csdn.net\/qq_34824576\/article\/details\/108751170\" target=\"_blank\" rel=\"noopener nofollow\">https:\/\/blog.csdn.net\/qq_34824576\/article\/details\/108751170<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u65b9\u6cd51\uff1a\u8f6f\u4ef6Win32Diskimager\uff0cpc win\u7cfb\u7edf\u5c31\u53ef\u4ee5\u64cd\u4f5c\u3002\u5c06\u5e26\u6811\u8393\u6d3e\u955c\u50cf\u7684sd\u5361\u63d2\u5165\u7535\u8111\uff0c\u5728\u4efb\u610f\u4f4d\u7f6e\u65b0\u5efa\u4e00\u4e2a.img\u7ed3\u5c3e\u7684\u6587\u4ef6\uff0c\u6253\u5f00Win32Diskimager\u9009\u4e2d\u521a\u521a\u65b0\u5efa\u7684img\u6587\u4ef6&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-1359","post","type-post","status-publish","format-standard","hentry","category-25"],"_links":{"self":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/1359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1359"}],"version-history":[{"count":4,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/1359\/revisions"}],"predecessor-version":[{"id":1384,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/1359\/revisions\/1384"}],"wp:attachment":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}