{"id":23824,"date":"2022-05-04T19:06:37","date_gmt":"2022-05-04T18:06:37","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=23824"},"modified":"2022-05-05T20:21:36","modified_gmt":"2022-05-05T19:21:36","slug":"windows-and-linux-dualboot-shrink-linux-partition-with-gparted","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/23824\/windows-and-linux-dualboot-shrink-linux-partition-with-gparted\/","title":{"rendered":"Windows and Linux Dualboot &#8211; Shrink Linux partition with GParted"},"content":{"rendered":"<p>Linux in dual boot with Windows a little too much memory reserved? No problem with GParted we can shrink the Linux partition and give Windows more space.<\/p>\n<p><!--more--><\/p>\n<p>If you install Linux alongside Windows, you can specify during the installation how much disk space is available for each operating system. The Linux installer partitions the hard disk, sets up a boot loader and both operating systems run in parallel.<\/p>\n<p>The partitioning is fixed for now. If you find that the disk space for a system is no longer sufficient, you can use GParted to change the partitioning afterwards. So here on the blog, we&#8217;ve already looked at how we can retroactively <a href=\"https:\/\/ekiwi-blog.de\/en\/18985\/linux-and-windows-resize-partition-with-gparted\/\" target=\"_blank\" rel=\"noopener\">increase the Linux partition<\/a>. But does the reverse also work? More memory for Windows, less for Linux? Yes, that is possible, GParted helps us here as well.<\/p>\n<p><strong>Note:<\/strong> Be sure to create a backup of your system before performing the actions.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/23824\/windows-and-linux-dualboot-shrink-linux-partition-with-gparted\/#Video\" >Video<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/23824\/windows-and-linux-dualboot-shrink-linux-partition-with-gparted\/#Instructions\" >Instructions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi-blog.de\/en\/23824\/windows-and-linux-dualboot-shrink-linux-partition-with-gparted\/#Create_GParted_USB_boot_stick\" >Create GParted USB boot stick<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ekiwi-blog.de\/en\/23824\/windows-and-linux-dualboot-shrink-linux-partition-with-gparted\/#Shrink_partitions_with_GParted\" >Shrink partitions with GParted<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Video\"><\/span>Video<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/1Tu7s3uuahs\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Instructions\"><\/span>Instructions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In our system we have Windows and Linux installed in parallel. The current distribution of the storage space is as follows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_1.png\" alt=\"\" width=\"918\" height=\"402\" class=\"aligncenter size-full wp-image-23825\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_1.png 918w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_1-300x131.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_1-768x336.png 768w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><\/p>\n<p>Linux should get less memory and Windows should be allocated the memory that becomes free. Of course, you can only free the memory that is not currently occupied in the Linux system.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Create_GParted_USB_boot_stick\"><\/span>Create GParted USB boot stick<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>First, we download GParted as an ISO file from the <a href=\"https:\/\/gparted.org\/download.php\" target=\"_blank\" rel=\"noopener\">manufacturer&#8217;s homepage<\/a>.<\/p>\n<p>Download and creation of the <a href=\"https:\/\/ekiwi-blog.de\/en\/51961\/format-usb-sticks-larger-than-32-gb-with-fat32\/\" title=\"Format USB sticks larger than 32 GB with FAT32\">USB stick<\/a> we have already described in the following article:<\/p>\n<ul>\n<li><a href=\"https:\/\/ekiwi-blog.de\/en\/18985\/linux-and-windows-resize-partition-with-gparted\/\">Linux and Windows &#8211; Change memory allocation afterwards with GParted<\/a><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Shrink_partitions_with_GParted\"><\/span>Shrink partitions with GParted<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Afterwards we boot the USB stick, for this we call the boot menu of the computer and start from the USB stick. If this works, the boot menu appears. Here we confirm the first option with Enter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_2.png\" alt=\"\" width=\"641\" height=\"246\" class=\"aligncenter size-full wp-image-23827\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_2.png 641w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_2-300x115.png 300w\" sizes=\"auto, (max-width: 641px) 100vw, 641px\" \/><\/p>\n<p>A few general settings follow, these concern the language and input. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_3.png\" alt=\"\" width=\"1228\" height=\"637\" class=\"aligncenter size-full wp-image-23829\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_3.png 1228w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_3-300x156.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_3-1024x531.png 1024w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_3-768x398.png 768w\" sizes=\"auto, (max-width: 1228px) 100vw, 1228px\" \/><\/p>\n<p>After a little wait, the interface of Gparted starts. Here we can see the current partitioning of our hard disk. The first is our Windows partition, the second our Linux partition.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_4.png\" alt=\"\" width=\"902\" height=\"403\" class=\"aligncenter size-full wp-image-23831\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_4.png 902w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_4-300x134.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_4-768x343.png 768w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/p>\n<p>Now we can shrink the Linux partition in the first step. To do this, we select the appropriate option from the context menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_5.png\" alt=\"\" width=\"378\" height=\"214\" class=\"aligncenter size-full wp-image-23833\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_5.png 378w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_5-300x170.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/p>\n<p>We now shrink the partition from the beginning to the right by the desired size.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_6.png\" alt=\"\" width=\"554\" height=\"309\" class=\"aligncenter size-full wp-image-23835\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_6.png 554w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_6-300x167.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p>When finished, we confirm with &#8220;Resize\/Move&#8221;. We receive a warning, which reminds us to backup, in case something does go wrong.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_7.png\" alt=\"\" width=\"546\" height=\"271\" class=\"aligncenter size-full wp-image-23837\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_7.png 546w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_7-300x149.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/p>\n<p>After that we have free space between the partitions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_8.png\" alt=\"\" width=\"778\" height=\"230\" class=\"aligncenter size-full wp-image-23839\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_8.png 778w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_8-300x89.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_8-768x227.png 768w\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" \/><\/p>\n<p>We can now extend the Windows partition by this. The procedure is similar. Here we also change the size.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_9.png\" alt=\"\" width=\"610\" height=\"261\" class=\"aligncenter size-full wp-image-23841\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_9.png 610w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_9-300x128.png 300w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>We now enlarge the Windows partition by the entire free space to the right.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_10.png\" alt=\"\" width=\"554\" height=\"309\" class=\"aligncenter size-full wp-image-23843\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_10.png 554w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_10-300x167.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p>Done! The result should now look something like this. The Windows partition is larger and the Linux partition is smaller.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_11.png\" alt=\"\" width=\"777\" height=\"277\" class=\"aligncenter size-full wp-image-23845\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_11.png 777w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_11-300x107.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_11-768x274.png 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/p>\n<p>Nothing has happened yet, the changes have not been applied. If you change your mind, you can always cancel and start over.<\/p>\n<p>Only when you select the function &#8220;Execute all operations&#8221; in the &#8220;Edit&#8221; menu, the changes are applied and the partitions are moved.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_12.png\" alt=\"\" width=\"382\" height=\"170\" class=\"aligncenter size-full wp-image-23847\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_12.png 382w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_12-300x134.png 300w\" sizes=\"auto, (max-width: 382px) 100vw, 382px\" \/><\/p>\n<p>A warning is issued, which we confirm.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_13.png\" alt=\"\" width=\"468\" height=\"169\" class=\"aligncenter size-full wp-image-23849\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_13.png 468w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_13-300x108.png 300w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/p>\n<p>Now it gets serious, GParted now performs the changes. Data is moved, partitions are shrunk and enlarged.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_14.png\" alt=\"\" width=\"726\" height=\"300\" class=\"aligncenter size-full wp-image-23851\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_14.png 726w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_14-300x124.png 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/p>\n<p>The process takes a little time, depending on how fast your computer is and how many gigabytes have to be shifted back and forth.<\/p>\n<p>After the operations are finished, GParted reports completion.<\/p>\n<p>Now comes the exciting moment, we can now exit GParted and restart the computer. The Linux grub boot menu should now appear again and both Windows and Linux should now boot.<\/p>\n<p>Windows now has more disk space available, which we can check via Disk Management.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_15.jpg\" alt=\"\" width=\"1292\" height=\"866\" class=\"aligncenter size-full wp-image-23853\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_15.jpg 1292w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_15-300x201.jpg 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_15-1024x686.jpg 1024w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/05\/part_en_15-768x515.jpg 768w\" sizes=\"auto, (max-width: 1292px) 100vw, 1292px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Linux in dual boot with Windows a little too much memory reserved? No problem with GParted we can shrink the<\/p>\n","protected":false},"author":1,"featured_media":18426,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[2126,1682,1558],"class_list":["post-23824","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-gparted-en","tag-linux-en","tag-windows-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/23824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=23824"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/23824\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/18426"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=23824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=23824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=23824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}