Saturday, May 18, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 8781  / 3 Years ago, tue, june 15, 2021, 7:03:36

I'm using Dell Inspiron 3543 (came with 1TB HDD) running Ubuntu 20.04.1 LTS. Recently, I upgraded my laptop with 240GB SSD and installed my 1TB HDD mounted on the caddy.


I removed the caddy and did fresh install again on the SSD to take advantage of it. After the fresh installation, I inserted the caddy and deleted my previous OS from the HDD. I even deleted the Swap partition and formated the OS partition using Gparted(using live session).
enter image description here


enter image description here


enter image description here


Now I have got 3 partitions here (Extended patition & two file system partitions). I want merge the extended partition & the one with 215GB. I tried formatting and deleting those two partitions, so as to create a new partition with all the free space. But Gparted is not allowing to merge this way(I'm guessing that's because one is extended partition and the other is file system partition)


Thanks in advance!!


More From » partitioning

 Answers
1

The issue is how to delete logical partitions inside the extended partition. Since you have Ubuntu installed in the SSD (/dev/sda) you can boot from the SSD and do all the deleting of partitions in /dev/sdb`. There is no need to boot from the live USB.


Step 1: Make sure the partitions /dev/sdb5, and /dev/sdb3 are not mounted.


You can unmount the partitions using Gparted.


Step 2: Delete /dev/sdb5 first


Since this logical partition resides inside the extended partition, you can't do anything to the extended partition, /dev/sdb1, if the extended partition is not empty. Therefore the /dev/sdb5 must be deleted first.


Using Gparted, select the logical partition /dev/sdb5 and then delete it. Press the Apply button on the top part of Gparted to actually do the work.


Step 3: Delete /dev/sdb1 second


Now that the logical partition is gone, you can get rid of the extended partition. You don't need it in this setup.


Within Gparted select the /dev/sdb1 the extended partition. Delete this partition. Press the Apply button on the top part of Gparted to actually do the work.


Step 4: Delete /dev/sdb3 third


By now you should have got the hang of how to do it. Remember to Apply.


Step 5: Create a new primary partition in the empty space


Now you have a big empty space in front of the /dev/sdb4. Use all this space to create another primary partition.


Since you don't have Windows any more, format this new primary partition as ext4.


Optionally add an entry in the file /etc/fstab so that the partition mounts at the boot time at a mount-point of your choice.


Hope this helps


[#2351] Wednesday, June 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
attagjump

Total Points: 272
Total Questions: 127
Total Answers: 124

Location: Taiwan
Member since Fri, Sep 17, 2021
3 Years ago
attagjump questions
;