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?
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
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.
Right click on the selected partition and press delete.
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.
Once you press the green button. You will see this warning:
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:
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.
Select sda3 and click on the move resize button:
You will see the resize move window. Drag the right edge all the way to the end:
It should look like this. Press the Resize/Move button when you are satisfied.
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.
Once you press the green button. You will see this warning:
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:
If it must say All operations successfully completed, congratulations! You are done. Close the window and close Gparted.
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
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.
Select sda3 and click on the move resize button:
If it must say All operations successfully completed, congratulations! You are done. Close the window and close Gparted.
Hope this helps