I am using ubuntu 18.04 in a dual boot system with windows 10 and while installing, I did not make a home partition but left around 20 GB for it if I ever changed my mind. However due to an error I had recently with the linux modules, I realized how dangerous it is to keep important files in the root partition and how easy it is to corrupt system files.
I just opened GParted using a live USB and turned swap off.
When clicking on the unallocated space and pressing the add button, it tells me there are already 4 primary partitions.
But I just want to add a partition to the extended partition not make a primary one. Help please!
1 Answer
Ok, I solved it by resizing the extended partition first and then pressing the unallocated space in there and clicking add.
-
1Yes - based on your screenshots, the issue was that the 21.21G unallocated was outside of the extended partition May 30, 2018 at 14:38
/dev/sda7
in the commandsudo fdisk -l
(and is must beext4
or any other Linux file system for HOME).-a
is for.