How to Merge Different Partitions Using GParted

gpartedmergepartitioning

I have Dell 3567 laptop.

I want to merge sda3 and sda5 partitions. I don't want to keep data on sda5.

I run GParted as bootable but honestly, I’m scared of making mistakes.

Can you help me, please?

my hdd

Best Answer

Backup! Backup!! Backup!! (Make 3 backups)

Working with partitions is dangerous. Make sure you have made backups and copies of important data in external media. Avoid making backups in the same disk you are going to work on.

The following has to be done from a Live USB/DVD. You should never try to work on partitions from which the system is running. All the partitions has to be unmounted first. In the picture in the question the /dev/sda4 is mounted as root: / as shown by the key symbol next to it. This tells me the Ubuntu is running form this partition. To unmount this partition boot from a Live USB/DVD.

Step by step instructions

  1. Select sda5. You can either click on the top representation or the row in the table below. I have clicked on the 4th row to make it red.

enter image description here

  1. Right click on the selected partition and press delete.

enter image description here

  1. Gparted will show the action you have selected in the bottom panel. Make sure this is what you want to do. There is still time to go back. If you want to go back press the Undo last operation orange button. If you are sure what you are doing press the apply all operations green check mark button on top.

enter image description here

  1. Once you press the green button. You will see this warning:

enter image description here

  1. This is your last chance to cancel the operation. If you still feel sure. Press Apply. After you press Apply, Gparted will do it's thing and you will see this:

enter image description here

  1. Note, it must say All operations successfully completed. If it does not say that, then something went wrong. STOP. If it worked, then close this window and go to the next step.

  2. Select sda3 and click on the move resize button:

enter image description here

  1. You will see the resize move window. Drag the right edge all the way to the end:

enter image description here

  1. It should look like this. Press the Resize/Move button when you are satisfied.

enter image description here

  1. Now the bottom panel will show the action you want to perform. Make sure this is what you want. If you want to go back press the Undo last operation orange button. If you are sure what you are doing press the apply all operations green check mark button on top.

enter image description here

  1. Once you press the green button. You will see this warning:

enter image description here

  1. This is your last chance to cancel the operation. If you still feel sure. Press Apply. After you press Apply, Gparted will do it's thing and you will see this:

enter image description here

If it must say All operations successfully completed, congratulations! You are done. Close the window and close Gparted.

Hope this helps

Related Question