Saturday, September 2, 2017

boot - Unable to Expand Ubuntu Partition using Gparted Live USB

I have 1TB HDD in which 755 GB is Win 7 and 164 GB is ext4 partition out of which 60 GB has Ubuntu OS on it.



A small history:
I had dual booted a while ago with windows 7 on my laptop, such that I had taken 64 GB from windows 7 partition and installed Ubuntu in this. Out of this 64 GB, 4GB was given to swap and then rest 60 GB was where the Ubuntu system directory resides.



Sequentially the drives were marked as (inside gparted live):



Win7 ---> ext4(/dev/sda4[this 64 GB])



Now ext4 is divided into two logical partition




  • /dev/sda5 (4GB) [SWAP]

  • /dev/sda6 (60GB)



Today due to lack of space in ubuntu partition I decided to expand its space, by first resizing the big Win7 partition and taking 100 GB from it and then formatting the resultant unalloacted 100 GB to ext4 partition, and thus was create /dev/sda7 (100 GB) as another logical partition inside /dev/sda4 (which is now 164 GB)




So logically inside /dev/sda4 the partitions are



/sda7(100GB) --> /sda5(4GB)[SWAP] --> sda6(60GB)


NOW, Gparted was not able to merge /sda6 and /sda7 due to swap in between them and as a result I formatted swap to ext4



/sda7(100GB) --> /sda5(4GB)[NO MORE SWAP] --> sda6(60GB)



Here is a screenshot:



Gparted screenshot



The problem is Gparted is still not able to merge any of these logical partition together as you can see when i click on /sda6 to resize



NO SPACE IS SHOWN BEFORE IT TO  EXPAND

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...