{"id":213,"date":"2024-06-30T08:40:08","date_gmt":"2024-06-30T06:40:08","guid":{"rendered":"https:\/\/www.bsdpro.se\/?p=213"},"modified":"2024-06-30T08:40:08","modified_gmt":"2024-06-30T06:40:08","slug":"resize-a-qcow2-disk-image-on-linux","status":"publish","type":"post","link":"https:\/\/www.bsdpro.se\/?p=213","title":{"rendered":"Resize a qcow2 disk image on Linux"},"content":{"rendered":"\n<p>For some reason, a lot of sites reference to tools that are not needed.<br>All you need to do to resize a qcow2 image is the following:<br><code>qemu-img resize &lt;diskimg.qcow2> +15G<\/code><br>This increase the disk size by 15 Gigabyte.<\/p>\n\n\n\n<p>Then you <strong>need to use gparted<\/strong> to resize the partitions you want (use a USB live boot if you don&#8217;t have a GUI installed).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some reason, a lot of sites reference to tools that are not needed.All you need to do to resize a qcow2 image is the following:qemu-img resize &lt;diskimg.qcow2> +15GThis increase the disk size by 15 Gigabyte. Then you need to &hellip; <a href=\"https:\/\/www.bsdpro.se\/?p=213\">Continue reading <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":[15,18],"tags":[],"class_list":["post-213","post","type-post","status-publish","format-standard","hentry","category-linux","category-qemu"],"_links":{"self":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts\/213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=213"}],"version-history":[{"count":1,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts\/213\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts\/213\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}