How do I delete Ubuntu Studio from a dual boot configuration with Ubuntu Desktop 20.04?

cn flag

I am new to Linux and I got carried away. I have a 2012 MacBook Air. I've dual-booted Ubuntu Studio and Ubuntu Desktop 20.04. Due to space constraints on my HDD, I'd like to remove Ubuntu Studio, but I am not sure if there's an easy way to do this. Ubuntu Studio was installed first. When I installed Ubuntu Desktop 20.04, I simply used the option to install alongside Ubuntu Studio. Do I have to start over with a fresh install of 20.04?

ng flag

Ubuntu Studio would be located on a different partition. This could be on the same HDD where you want more space, but it's possible that you installed it somewhere else (if you had space on another disk).

You can probably just delete the partition where Ubuntu Studio was installed, but this will not automatically free up space on your hard drive if Ubuntu Desktop 20.04 is located on the same drive. (Please accept my apologies that I'm not familiar enough with the MacBook hardware to know if it could contain multiple hard drives, but my best guess is that it only has one)

Since these are both new installations and you told us that you are new to Ubuntu, it's probably easier to reinstall Ubuntu Desktop 20.04.

You can prepare your hard drive ahead of time with the "Disks" application in the live session (Try Ubuntu), by choosing the disk and selecting "Format..." This will erase the hard drive so you have a clean slate to install Ubuntu. This might be a better path if you have multiple hard drives, so you can prepare the correct drive. Be careful and choose the right disk because formatting will erase whatever disk you choose. When you are asked for a partition scheme, GPT is generally the better choice for a modern OS.

Alternatively, and especially if you only have one hard drive, you can just start the installation and when you are asked for the destination where to install Ubuntu, you can choose the option to Erase the Disk and install Ubuntu. This will use the entire hard drive for the installation.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.