Shrink/Enlarge/Resize Ubuntu Partitions with GParted

Best Partitions (Disks) allocation:

/ (root has separate Disk)
/boot (same disk but separate partition, not used anymore)
/var (separate Disk as used massively for logs)

/swap (separate Disk which is probably SSD)
/home (usually separate Disk)
/usr   (optional)
/opt  (optional)
part3
partition1
part4
When you want to resize any partition in Ubuntu, whether shrinking it or enlarging it, or divide it into number of partitions, you won’t be able to do it while it is being used. It requires an Ubuntu live CD or USB stick to adjust the partitions.
The Ubuntu live CD comes with a partition editor- GParted, with which you can change your partitions. GParted brings to you a partition editor with graphical user interface that acts as a front-end to various terminal commands.

Creating Ubuntu Live Media

First of all you will need an ISO image of Ubuntu, which you can download fromhere. To create Ubuntu live CD, insert the disc in your system, right-click the downloaded file and select “Write to Disc” option.
gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted
If you wish to create bootable USB drive, you can either use UNetBootin or Startup Disk Creator application present in Ubuntu Dash.
gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted
Provide the necessary information about Ubuntu ISO file and USB drive in Startup Disk Creator application and it will start creating Ubuntu live USB drive for you.
gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted gparted
Insert the Ubuntu live media into your computer and reboot. Check the BIOS settings and adjust the boot order so that it will boot from the Ubuntu live media.

GParted

GParted utility doesn’t come as a pre-installed package in Ubuntu system, but it is present in the Ubuntu live environment. Get started with GParted by launching it from the Ubuntu Dash.
partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager
Select the appropriate partition of your computer from the drop-down menu located at top-right corner of the GParted window.
partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager
You won’t be able to modify the partitions while they are being used – such partitions will be indicated by a key icon present in front of them. Unmount the partition by ejecting them from file manager. Ubuntu live will enable swap partitions in your computer it. To disable those swap partitions, right-click and choose Swapoff.
partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager

In order to resize any partition, right click on it and choose “Resize/Move”

partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager
An easy and sophisticated way to resize a partition is to click and drag the sliders on  both sides. You may provide the required partition size in terms of exact numbers. Partition can be shrunk if it has free space available.
partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager
Every modification you do will be lined-up in a queue which is listed at the bottom of the window. No modification will be activated instantaneously.
partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager partition manager
After shrinking a partition, the free “unallocated” hard drive space left behind can be transformed into a new partition.
partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning
If there is an unallocated space adjacent to any partition,you can enlarge the partition by merging the free space into the partition. Simply right click the free space and select Resize/Move.
partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning
As mentioned above, you can determine the newly formed partition size by adjusting the sliders or entering the numbers.
partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning
Once you are done with partitioning, click the green check mark to apply the operations.
partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning partitioning
Before you resize any partition, it is always important to have backup of all the data within the partition. It may happen that you may lose your crucial data in the proceedings.
partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition

When you click Apply, it will start processing your modifications and after some time, your changes will take effect permanently.

partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition partition

When everything is finished, remove the bootable media and restart the system.

Posted on June 12, 2015, in Linux (Ubuntu/CentOS). Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: