{"id":46556,"date":"2024-05-10T15:12:00","date_gmt":"2024-05-10T15:12:00","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46556"},"modified":"2025-03-14T02:59:29","modified_gmt":"2025-03-14T02:59:29","slug":"shrink-expand-system-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/05\/shrink-expand-system-ubuntu\/","title":{"rendered":"How to Shrink, Move or Expand System Partition in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43665\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This is a beginners guide shows how to decrease, move, and\/or increase file\/system partition in Ubuntu 24.04 LTS.<\/p>\n<p>Sometimes you need to shrink a partition to free up some un-allocated disk space for other use. Or Ubuntu system is a bit small, that you need to increase its size for long time use.<\/p>\n<p>In my case, I want to shrink the Ubuntu 22.04 partition to free up some space, then use the free space to increase the dual-boot Ubuntu 24.04 partition that&#8217;s a bit small for me. There&#8217;s another partition (contains personal data) sits in between the 2 Ubuntu system, so I also need to move it before being able to expand the 24.04 system.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-process.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46557\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-process.webp\" alt=\"\" width=\"637\" height=\"660\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-process.webp 637w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-process-290x300.webp 290w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p><b>NOTE 1: This tutorial is totally written for Ubuntu Desktop without any Linux command. All partitions are not encrypted.<\/b><br \/>\n<b>NOTE 2: Everything&#8217;s done successfully without issue in my case. But, it&#8217;s still HIGHLY recommended to backup important data, just in case of any interruption!<\/b><\/p>\n<h3>1. Shrink via Ubuntu&#8217;s Built-in Tool<\/h3>\n<p>It&#8217;s quite easy to shrink a partition to decrease its size using the system built-in &#8220;Disks&#8221; tool.<\/p>\n<p>First, search for and launch &#8220;<b>Disks<\/b>&#8221; tool.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/launch-disks.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46558\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/launch-disks.webp\" alt=\"\" width=\"480\" height=\"278\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/launch-disks.webp 480w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/launch-disks-300x174.webp 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p>When the tool opens, choose the disk drive in the left, then select the partition your want to shrink. Finally, click the gear icon underneath to get the &#8220;<b>Resize&#8230;&#8221;<\/b><\/p>\n<p><b>NOTE: NOT all file systems can be resized. In my tests, it&#8217;s able to resize\/shrink Ext4, NTFS partitions.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-shrink-option.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46559\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-shrink-option-700x479.webp\" alt=\"\" width=\"610\" height=\"417\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-shrink-option-700x479.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-shrink-option-300x205.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-shrink-option-768x526.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-shrink-option.webp 952w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>In next dialog, you can now move the slider to set how much space to shrink. In my case, I resize the 256GB Ubuntu 22.04 partition to 156GB, so there&#8217;ll be 100GB un-allocated space left.<\/p>\n<p><b>NOTE: You cannot shrink the current Ubuntu system partition, because it needs to un-mount the partition first! In the case, either re-boot into a dual-boot system (if any) or boot <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2022\/04\/usb-installer-ubuntu-22-04\/\" target=\"_blank\" rel=\"noopener\">Live Ubuntu from USB<\/a>, then follow this tutorial.<\/b><\/p>\n<p><b>And, it&#8217;s HIGHLY recommended to backup your important data first!<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-slidebar.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46560\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-slidebar.webp\" alt=\"\" width=\"600\" height=\"495\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-slidebar.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/disk-resize-slidebar-300x248.webp 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Once you click the red &#8220;Resize&#8221; button and confirm, it automatically un-mounts the partition and starts the process moving files and resizing. There will be blinking circle indicate the working process.<\/p>\n<p>For laptop, it&#8217;s BETTER to plug-in ac power and keep screen alive (disable suspend) to avoid any interruption.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/shrink-process.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46561\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/shrink-process-700x356.webp\" alt=\"\" width=\"610\" height=\"310\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/shrink-process-700x356.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/shrink-process-300x153.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/shrink-process-768x391.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/shrink-process-1320x672.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/shrink-process.webp 1469w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>When done you&#8217;ll see the free space following the resized partition. You can create new file system on it, use it for installing another operating system, or do whatever as you want.<\/p>\n<h3>2. Resize, Move, Expand via GParted<\/h3>\n<p>For any other Linux system without Gnome &#8216;Disks&#8217; tool, the popular <b>gparted<\/b> tool is available for choice. With it, you can resize (either shrink or expand), and move partitions as you want.<\/p>\n<p>First, search for and install &#8216;GParted&#8217; from Ubuntu Software, App Center, or your system package manager.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-appcenter.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46562\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-appcenter-700x435.webp\" alt=\"\" width=\"610\" height=\"379\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-appcenter-700x435.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-appcenter-300x187.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-appcenter-768x478.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-appcenter.webp 1048w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Then, launch the tool. Choose the destination disk drive from the top-right corner of the app window. Finally, you can right-click on target partition and select &#8220;<b>Resize\/Move<\/b>&#8221; (need to select un-mount first).<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/mark-resize-inbetween.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46563\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/mark-resize-inbetween-700x421.webp\" alt=\"\" width=\"610\" height=\"367\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/mark-resize-inbetween-700x421.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/mark-resize-inbetween-300x180.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/mark-resize-inbetween-768x462.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/mark-resize-inbetween.webp 1176w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>NOTE: Same to Disks tool, you cannot Resize\/Move current system partition. Reboot to dual-boot OS if any, or boot live Ubuntu (Linux Mint recommended) system from USB.<\/b><\/p>\n<p>In pop-up dialog, either drag moving the slider to move the partition if there&#8217;s preceding or following free space. Or, clicking dragging the tri-angle icon to increase\/decrease the partition size.<\/p>\n<p>In my case, I move the partition forward so there&#8217;ll be free space following that&#8217;s side by side my Ubuntu 24.04 system partition.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-table.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46564\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-table-700x476.png\" alt=\"\" width=\"610\" height=\"415\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-table-700x476.png 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-table-300x204.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-table-768x523.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-table.png 945w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>NOTE again: backup your important data! Moving\/Resizing partition might break your system.<\/b><\/p>\n<p>The action does NOT apply until you click on the &#8216;green check mark&#8217; icon.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-process.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46565\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-process-700x398.webp\" alt=\"\" width=\"610\" height=\"347\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-process-700x398.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-process-300x171.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-process-768x437.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-process-1320x751.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gparted-resize-process.webp 1329w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After that, the free space and Ubuntu 24.04 partition are side by side in my disk drive. I have to reboot into Ubuntu 22.04, install GParted, and use Resize\/Move option to expand (drag tri-angle icon to resize) the 24.04 partition.<\/p>","protected":false},"excerpt":{"rendered":"<p>This is a beginners guide shows how to decrease, move, and\/or increase file\/system partition in Ubuntu 24.04 LTS. Sometimes you need to shrink a partition to free up some un-allocated disk space for other use. Or Ubuntu system is a bit small, that you need to increase its size for long time use. In my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43665,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2080],"class_list":["post-46556","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-file-system"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=46556"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46556\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43665"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=46556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}