{"id":42008,"date":"2023-03-01T21:26:44","date_gmt":"2023-03-01T13:26:44","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=42008"},"modified":"2023-03-01T21:26:44","modified_gmt":"2023-03-01T13:26:44","slug":"linux-iso-copy","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-iso-copy.html","title":{"rendered":"\u4ece ISO \u955c\u50cf\u4e2d\u63d0\u53d6\u548c\u590d\u5236\u6587\u4ef6\u7684\u7edd\u62db(Linux)"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5047\u8bbe\u4f60\u7684 Linux \u670d\u52a1\u5668\u4e0a\u6709\u4e00\u4e2a\u8d85\u5927\u7684 ISO \u955c\u50cf\u6587\u4ef6\uff0c\u4f60\u60f3\u8981\u6253\u5f00\u5b83\uff0c\u7136\u540e\u63d0\u53d6\u6216\u8005\u590d\u5236\u5176\u4e2d\u7684\u4e00\u4e2a\u6587\u4ef6\u3002\u4f60\u4f1a\u600e\u4e48\u505a\u5462\uff1f\u5176\u5b9e\u5728 Linux \u7cfb\u7edf\u91cc\uff0c\u6709\u5f88\u591a\u65b9\u6cd5\u6765\u5b9e\u73b0\u8fd9\u4e2a\u8981\u6c42\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u6bd4\u5982\u8bf4\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4f20\u7edf\u7684 mount \u547d\u4ee4\u4ee5\u53ea\u8bfb\u65b9\u5f0f\u628a ISO \u955c\u50cf\u6587\u4ef6\u52a0\u8f7d\u4e3a loop \u8bbe\u5907\uff0c\u7136\u540e\u518d\u628a\u6587\u4ef6\u590d\u5236\u5230\u53e6\u4e00\u4e2a\u76ee\u5f55\u3002<\/p>\n

\u5728 Linux \u7cfb\u7edf\u4e0b\u63d0\u53d6 ISO \u955c\u50cf\u6587\u4ef6<\/strong><\/div>\n

\u4e3a\u4e86\u5b8c\u6210\u8be5\u6d4b\u8bd5\uff0c\u4f60\u5f97\u6709\u4e00\u4e2a ISO \u955c\u50cf\u6587\u4ef6\uff08\u6211\u4f7f\u7528 ubuntu-16.10-server-amd64.iso \u7cfb\u7edf\u955c\u50cf\u6587\u4ef6\uff09\u4ee5\u53ca\u7528\u4e8e\u6302\u8f7d\u548c\u63d0\u53d6 ISO \u955c\u50cf\u6587\u4ef6\u7684\u76ee\u5f55\u3002<\/p>\n

\u9996\u5148\uff0c\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u6302\u8f7d\u76ee\u5f55\u6765\u6302\u8f7d ISO \u955c\u50cf\u6587\u4ef6\uff1a<\/p>\n

$ sudo mkdir \/mnt\/iso<\/pre>\n

\u76ee\u5f55\u521b\u5efa\u5b8c\u6210\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u8fd0\u884c\u5982\u4e0b\u547d\u4ee4\u5f88\u5bb9\u6613\u5730\u6302\u8f7d ubuntu-16.10-server-amd64.iso \u7cfb\u7edf\u955c\u50cf\u6587\u4ef6\uff0c\u5e76\u67e5\u770b\u5176\u4e2d\u7684\u5185\u5bb9\u3002<\/p>\n

$ sudo mount -o loop ubuntu-16.10-server-amd64.iso \/mnt\/iso\r\n$ ls \/mnt\/iso\/<\/pre>\n

\"01\"<\/p>\n

\u5728 Linux \u7cfb\u7edf\u91cc\u6302\u8f7d ISO \u955c\u50cf<\/strong><\/span><\/div>\n

\u73b0\u5728\u4f60\u5c31\u53ef\u4ee5\u8fdb\u5165\u5230\u6302\u8f7d\u76ee\u5f55 \/mnt\/iso \u91cc\uff0c\u67e5\u770b\u6587\u4ef6\u6216\u8005\u4f7f\u7528cp \u547d\u4ee4\u628a\u6587\u4ef6\u590d\u5236\u5230 \/tmp \u76ee\u5f55\u4e86\u3002<\/p>\n

$ cd \/mnt\/iso\r\n$ sudo cp md5sum.txt \/tmp\/\r\n$ sudo cp -r ubuntu \/tmp\/\r\n<\/pre>\n

\"02\"<\/p>\n

\u5728 Linux \u7cfb\u7edf\u4e2d\u590d\u5236 ISO \u955c\u50cf\u91cc\u7684\u6587\u4ef6<\/strong><\/span><\/div>\n

\u6ce8\u610f\uff1a\"-r\" \u9009\u9879\u7528\u4e8e\u9012\u5f52\u590d\u5236\u76ee\u5f55\u91cc\u7684\u5185\u5bb9\u3002\u5982\u6709\u5fc5\u8981\uff0c\u4f60\u4e5f\u53ef\u4ee5\u76d1\u63a7\u590d\u5236\u547d\u4ee4\u7684\u5b8c\u6210\u8fdb\u5ea6\u3002<\/p>\n

\u4f7f\u7528 7zip \u547d\u4ee4\u63d0\u53d6 ISO \u955c\u50cf\u91cc\u7684\u5185\u5bb9<\/strong><\/div>\n

\u5982\u679c\u4e0d\u60f3\u6302\u8f7d ISO \u955c\u50cf\uff0c\u4f60\u53ef\u4ee5\u7b80\u5355\u5730\u5b89\u88c5\u4e00\u4e2a 7zip \u5de5\u5177\uff0c\u8fd9\u662f\u4e00\u4e2a\u81ea\u7531\u800c\u5f00\u6e90\u7684\u89e3\u538b\u7f29\u8f6f\u4ef6\uff0c\u7528\u4e8e\u538b\u7f29\u6216\u89e3\u538b\u4e0d\u540c\u7c7b\u578b\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u5305\u62ec TAR\u3001XZ\u3001GZIP\u3001ZIP\u3001BZIP2 \u7b49\u7b49\u3002<\/p>\n

$ sudo apt-get install p7zip-full p7zip-rar [On Debian\/Ubuntu systems]\r\n$ sudo yum install p7zip p7zip-plugins      [On CentOS\/RHEL systems]\r\n<\/pre>\n

7zip \u8f6f\u4ef6\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u4f7f\u75287z\u547d\u4ee4\u63d0\u53d6 ISO \u955c\u50cf\u6587\u4ef6\u91cc\u7684\u5185\u5bb9\u4e86\u3002<\/p>\n

$ 7z x ubuntu-16.10-server-amd64.iso\r\n<\/pre>\n

\"03\"<\/p>\n

\u4f7f\u7528 7zip \u5de5\u5177\u5728 Linux \u7cfb\u7edf\u4e0b\u63d0\u53d6 ISO \u955c\u50cf\u91cc\u7684\u6587\u4ef6<\/strong><\/span><\/div>\n

\u6ce8\u610f\uff1a\u8ddf Linux \u7684 mount \u547d\u4ee4\u76f8\u6bd4\u8d77\u6765\uff0c7zip \u5728\u538b\u7f29\u548c\u89e3\u538b\u7f29\u4efb\u4f55\u683c\u5f0f\u7684\u6587\u4ef6\u65f6\u901f\u5ea6\u66f4\u5feb\uff0c\u66f4\u667a\u80fd\u3002<\/p>\n

\u4f7f\u7528 isoinfo \u547d\u4ee4\u6765\u63d0\u53d6 ISO \u955c\u50cf\u6587\u4ef6\u5185\u5bb9<\/strong><\/div>\n

\u867d\u7136isoinfo\u547d\u4ee4\u662f\u7528\u6765\u4ee5\u76ee\u5f55\u7684\u5f62\u5f0f\u5217\u51fa iso9660 \u955c\u50cf\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u4f46\u662f\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u8be5\u7a0b\u5e8f\u6765\u63d0\u53d6\u6587\u4ef6\u3002
\n\u6211\u8bf4\u8fc7\uff0cisoinfo \u7a0b\u5e8f\u4f1a\u663e\u793a\u76ee\u5f55\u5217\u8868\uff0c\u56e0\u6b64\u5148\u5217\u51fa ISO \u955c\u50cf\u6587\u4ef6\u7684\u5185\u5bb9\u3002<\/p>\n

$ isoinfo -i ubuntu-16.10-server-amd64.iso -l\r\n<\/pre>\n

\"04\"<\/p>\n

Linux \u91cc\u5217\u51fa ISO \u6587\u4ef6\u7684\u5185\u5bb9<\/strong><\/span><\/div>\n

\u73b0\u5728\u4f60\u53ef\u4ee5\u6309\u5982\u4e0b\u7684\u65b9\u5f0f\u4ece ISO \u955c\u50cf\u6587\u4ef6\u4e2d\u63d0\u53d6\u5355\u6587\u4ef6\uff1a<\/p>\n

$ isoinfo -i ubuntu-16.10-server-amd64.iso -x MD5SUM.TXT > MD5SUM.TXT\r\n<\/pre>\n

\u6ce8\u610f\uff1a\u56e0\u4e3a\"-x\"\u89e3\u538b\u5230\u6807\u51c6\u8f93\u51fa\uff0c\u5fc5\u987b\u4f7f\u7528\u91cd\u5b9a\u5411\u6765\u63d0\u53d6\u6307\u5b9a\u6587\u4ef6\u3002
\n\"05\"<\/p>\n

\u4ece ISO \u955c\u50cf\u6587\u4ef6\u4e2d\u63d0\u53d6\u5355\u4e2a\u6587\u4ef6<\/strong><\/span><\/div>\n

\u5c31\u5230\u8fd9\u91cc\u5427\uff0c\u5176\u5b9e\u8fd8\u6709\u5f88\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\u8fd9\u4e2a\u8981\u6c42\uff0c\u5982\u679c\u4f60\u8fd8\u77e5\u9053\u5176\u5b83\u6709\u7528\u7684\u547d\u4ee4\u6216\u5de5\u5177\u6765\u63d0\u53d6\u590d\u5236\u51fa ISO \u955c\u50cf\u6587\u4ef6\u4e2d\u7684\u6587\u4ef6\uff0c\u8bf7\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u4e2d\u8ddf\u5927\u5bb6\u5206\u4eab\u4e0b\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-7992-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/linux-iso-copy.html<\/a>\u7f16\u8f91\u5458\uff1a\u90ed\u5efa\u9e4f\uff0c\u5ba1\u6838\u5458\uff1a\u82cf\u897f\u4e91<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5047\u8bbe\u4f60\u7684 Linux \u670d\u52a1\u5668\u4e0a\u6709\u4e00\u4e2a\u8d85\u5927\u7684 ISO \u955c\u50cf\u6587\u4ef6\uff0c\u4f60\u60f3\u8981\u6253\u5f00\u5b83\uff0c\u7136\u540e\u63d0\u53d6\u6216\u8005\u590d\u5236\u5176\u4e2d\u7684\u4e00\u4e2a\u6587\u4ef6\u3002\u4f60\u4f1a\u600e\u4e48\u505a\u5462\uff1f<\/p>\n","protected":false},"author":323,"featured_media":42052,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-42008","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/42008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=42008"}],"version-history":[{"count":10,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/42008\/revisions"}],"predecessor-version":[{"id":265837,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/42008\/revisions\/265837"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/42052"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=42008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=42008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=42008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}