0

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. enter image description here When clicking on the unallocated space and pressing the add button, it tells me there are already 4 primary partitions. enter image description here But I just want to add a partition to the extended partition not make a primary one. Help please!

6
  • It is easy to do that see this question and answers - but it will still be easy to break things when root ;)
    – Takkat
    May 30, 2018 at 14:01
  • Ok I figured it out using this tutorial. but now my home partition is named "New Partition #1" instead of "/dev/sda7" Is that something to worry about?
    – Oussema
    May 30, 2018 at 14:09
  • It probably is only a partition label but you should still see that new partition as /dev/sda7 in the command sudo fdisk -l (and is must be ext4 or any other Linux file system for HOME).
    – Takkat
    May 30, 2018 at 14:13
  • I like to label partitions. I use gparted or Disks to add labels. But to make partition as your /home, you have to copy all of /home into new partition and change fstab to mount that partition. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving
    – oldfred
    May 30, 2018 at 14:13
  • That is what option -a is for.
    – Takkat
    May 30, 2018 at 14:14

1 Answer 1

1

Ok, I solved it by resizing the extended partition first and then pressing the unallocated space in there and clicking add.

1
  • 1
    Yes - based on your screenshots, the issue was that the 21.21G unallocated was outside of the extended partition May 30, 2018 at 14:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .