I'm pretty new to Ubuntu and Linux as a whole and I've run into some issues regarding how my drive is partitioned and I'd like to learn how to fix them and get a better handle on working with the drive and file system.
I'm messing around with an old laptop running Windows 7 and trying get Ubuntu set up dual booting. I've tried installing Ubuntu 20.04.3 LTS twice now (I made some mistake and couldn't boot Ubuntu anymore and decided reinstalling would be easier than fixing it) and some of the partitions I set up for the first install are still present. I think during the second installation the installer chose one of the first install's partitions to use, leaving the rest unchanged and unused.
I installed GParted to see if I could fix things. Here's how my drive is set up viewed from GParted:
As you can see, installation two is using /sda8 and /sda9 but what I want is access to the full 120 gigs of /sda4. Unused partitions /sda5 through /sda7 were created following some guide.
Here are a few things I still don't understand:
- What does the hierarchy of partitions with /sda5 through /sda9 being contained under /sda4 mean? Does this have to do with the primary/logical partition distinction?
- Why can't I delete, say, /sda6 without unmounting any logical partitions with a higher number? It's my understanding that the number just refers to order created so why this limitation.
- Why is /sda8 fat32? What's it being used for?
But my main question is how can I can I consolidate my partitions or at least rework the space so it's available to my current install? I'd like to avoid installation three.