{"id":254916,"date":"2014-10-30T06:57:58","date_gmt":"2014-10-29T22:57:58","guid":{"rendered":"http:\/\/blog.zhenglei.net\/?p=254916"},"modified":"2016-10-20T20:52:54","modified_gmt":"2016-10-20T12:52:54","slug":"usb-loop-device","status":"publish","type":"post","link":"https:\/\/blog.zhenglei.net\/?p=254916","title":{"rendered":"Create USB image file with loop device"},"content":{"rendered":"<p># Install necessary tools<\/p>\n<p><strong>apt-get clean<\/strong><\/p>\n<p><strong>apt-get update<\/strong><\/p>\n<p><strong>apt-get install kpartx<\/strong><\/p>\n<p><strong>#apt-get install gparted<\/strong><\/p>\n<p><strong>apt-get installed parted<\/strong><\/p>\n<p><strong>apt-get install qemu-utils<\/strong><\/p>\n<p><strong>apt-get install syslinux<\/strong><\/p>\n<p><strong>apt-get install dosfstools<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p># Install ms-sys<\/p>\n<p><strong># wget<\/strong> <a href=\"http:\/\/superb-dca3.dl.sourceforge.net\/project\/ms-sys\/ms-sys%20stable\/2.4.0\/ms-sys-2.4.0.tar.gz\">http:\/\/superb-dca3.dl.sourceforge.net\/project\/ms-sys\/ms-sys%20stable\/2.4.0\/ms-sys-2.4.0.tar.gz<\/a><\/p>\n<p>wget http:\/\/heanet.dl.sourceforge.net\/project\/ms-sys\/ms-sys%20stable\/2.4.1\/ms-sys-2.4.1.tar.gz<\/p>\n<p>tar xvfz <a href=\"http:\/\/superb-dca3.dl.sourceforge.net\/project\/ms-sys\/ms-sys%20stable\/2.4.0\/ms-sys-2.4.0.tar.gz\">ms-sys-2.4.1.tar.gz<\/a><\/p>\n<p>cd <a href=\"http:\/\/superb-dca3.dl.sourceforge.net\/project\/ms-sys\/ms-sys%20stable\/2.4.0\/ms-sys-2.4.0.tar.gz\">ms-sys-2.4.1<\/a><\/p>\n<p>make<\/p>\n<p>make install<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p># Install necessary tools apt-get clean  &hellip; <a href=\"https:\/\/blog.zhenglei.net\/?p=254916\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[171,172,164,170,173,89],"class_list":["post-254916","post","type-post","status-publish","format-standard","hentry","category-linux","category-uncategorized","tag-dd","tag-iso","tag-loop","tag-losetup","tag-ms-sys","tag-usb"],"_links":{"self":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/254916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=254916"}],"version-history":[{"count":13,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/254916\/revisions"}],"predecessor-version":[{"id":254921,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/254916\/revisions\/254921"}],"wp:attachment":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=254916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=254916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=254916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}