Thursday, March 19, 2015

ubuntu - How to reallocate an unused partition on my HD?


I had 2 partitions on my hard disk: one with Windows 10 and another one with Ubuntu 18.04. As I don't wanna the Windows anymore I've deleted the Windows partition and now I'm trying to add all its unallocated space to the Ubuntu partition.


I'm able to modify the unallocated partition, but I cannot resize with the Ubuntu. I've created a bootable USB pendrive with GParted Live and still not being able to do reallocate the space.


Does anyone know how to do it, please?


I'm not able to add images here - you can see my partitions list on this link


Answer



You need to extend the "Extended" partition first, then you can extend the Logical partition inside it.


Your disk is laid out using an MBR partition style, which is limiting itself to 4 Primary partitions. To work around this, Ubuntu created an Extended partition for the last partition, then created the partitions for your file system inside of it.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...