{"id":2977,"date":"2024-08-20T15:33:57","date_gmt":"2024-08-20T13:33:57","guid":{"rendered":"https:\/\/digitalia.culturanuova.net\/blog\/?p=2977"},"modified":"2024-08-20T15:33:57","modified_gmt":"2024-08-20T13:33:57","slug":"clone-an-installation-with-dd","status":"publish","type":"post","link":"https:\/\/digitalia.culturanuova.net\/blog\/?p=2977","title":{"rendered":"clone an installation with DD"},"content":{"rendered":"\n<p>Today I managed to clone a mounted linux installation with DD. This was the code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> dd if=\/dev\/sdb3  of=\/dev\/sdb2 <\/code><\/pre>\n\n\n\n<p>\/dev\/sdb2 was mounted, but I let it inactive. In this way I got a perfecft and working clone of my first operative system. Of course I had to <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>fix a problem in the new partition (with GParted: check and fix partition): I noticed that fstab was not recognized as text file, i.g..<\/li>\n\n\n\n<li>change \/etc\/fstab according to the UUID of the new installation (UUID of \/dev\/sdb2 is different from UUID of \/dev\/sdb3, as I saw in GParted)<\/li>\n<\/ul>\n\n\n\n<p>Maybe I was very lucky. I&#8217;m not saying that you should follow my example: the best thing is to work on <em>unmounted<\/em> partitions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I managed to clone a mounted linux installation with DD. This was the code: \/dev\/sdb2 was mounted, but I let it inactive. In this way I got a perfecft and working clone of my first operative system. Of course I had to Maybe I was very lucky. I&#8217;m not saying that you should follow &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/digitalia.culturanuova.net\/blog\/?p=2977\" class=\"more-link\">Leggi tutto<span class=\"screen-reader-text\"> &#8220;clone an installation with DD&#8221;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[647,823,573],"tags":[890,891],"class_list":["post-2977","post","type-post","status-publish","format-standard","hentry","category-linux","category-partitions","category-sistema-operativo","tag-clone-partition","tag-dd"],"_links":{"self":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2977"}],"version-history":[{"count":1,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2977\/revisions"}],"predecessor-version":[{"id":2978,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2977\/revisions\/2978"}],"wp:attachment":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}