Trouble with removing hard drive partition after dualboot

Hello everybody!

I’m new to Manjaro and Linux in general and I have a few questions relating to my hard drive after the installation. Originally I planned on dualbooting my system, so I chose the hard drive partition plan during the installation process. I’ve backed up all of the necessary data beforehand on an external hard drive, so I was safe.

Now, I want to uninstall the remaining Windows data and make my machine Linux-only and remove the driver partition. That being said, I wasn’t aware beforehand that Linux used GRUB rather than BIOS for its booting procedures.

How do I remove the hard drive partition, format it and then reinstall Manjaro?

Thanks in advance

Welcome to the forum! :wink:

The easiest way to do that would probably be with the help of Gparted.

There’s no need to do that, per se. As the matter of fact, I’ve only recently written a tutorial about what you can do with a spare partition. :wink:


1 Like

Thank you,

I’ve never used GParted before, since I’m a rookie when it comes to dualbooting and memory partition. Their download page lists the files as .iso. Does that mean I have to activate it by burning it onto a USB or a CD and then using it as if it’s a boot disk?

Moreover, after I clear the leftover windows data, will I be required to reinstall the hard drive through my Mojaro disk again or will I be able to just continue on the data I have now? Again, thanks for the response.

Oh, no, no. It’s available from the Manjaro repository. :wink: :arrow_down:

pamac install gparted

After that, it’ll be available from the application launcher menu right away. And you don’t need to delete the partition; you only need to reformat it with the ext4 filesystem. :wink:

You can simply continue working as you did before. You don’t even need to reboot, unless you’re going to split off /home or another directory onto the newly formatted partition, as per my tutorial above.

If you don’t split off anything however but you still wish to access the newly formatted partition, then be advised that the system will mount it under /run somewhere ─ which is not a permanent mountpoint ─ and that the permissions and ownership on the mountpoint will not allow you to write to it as a regular user, because it’ll be root-owned.


Thanks, it worked.

Took a minute to move a few files, then proceeded to format the partition through ext4. I presume I can just use it as a regular hard drive, although for convenience sake (I tend to like to download several mid-to-large sized videogames) how do I shrink it to give space for my main drive?

Why do you need to shrink it? GNU/Linux is far more flexible with regard to space than you were accustomed to in Microsoft Windows. :wink:

Why don’t you first tell us how big your “main drive” ─ as you call it ─ is, and how big the new partition is. Then we can advise on the best strategy. :wink:

Open up a terminal window and enter the following command… :arrow_down:


Select the output with the mouse ─ it’ll automatically be copied to the clipboard ─ and paste it here. Then put three backticks ─ i.e. ``` ─ above and below the output. This will neatly format it and make it more readable to us. :wink:

loop0         7:0    0  55.4M  1 loop /var/lib/snapd/snap/core18/2128
loop1         7:1    0     4K  1 loop /var/lib/snapd/snap/bare/5
loop2         7:2    0  32.4M  1 loop /var/lib/snapd/snap/snapd/13270
loop3         7:3    0 164.8M  1 loop /var/lib/snapd/snap/gnome-3-28-1804/161
loop4         7:4    0  65.2M  1 loop /var/lib/snapd/snap/gtk-common-themes/1519
loop5         7:5    0  82.9M  1 loop /var/lib/snapd/snap/discord/130
loop6         7:6    0 249.6M  1 loop /var/lib/snapd/snap/brave/133
loop7         7:7    0 251.3M  1 loop /var/lib/snapd/snap/brave/134
sda           8:0    0 931.5G  0 disk 
├─sda1        8:1    0   529M  0 part 
├─sda2        8:2    0    99M  0 part 
├─sda3        8:3    0    16M  0 part 
└─sda4        8:4    0 930.9G  0 part 
nvme0n1     259:0    0 238.5G  0 disk 
└─nvme0n1p1 259:1    0 238.5G  0 part /

Hope this displays correctly.

It does, but which one is your Manjaro root partition, and which one is the newly formatted one? And have you chosen to split off /home during installation, or is it on the root filesystem?

sda           8:0    0 931.5G  0 disk

Is the one that I just formatted

nvme0n1     259:0    0 238.5G  0 disk 
└─nvme0n1p1 259:1    0 238.5G  0 part /

This one has the root and most system files. I didn’t pay attention to /home during installation. I just checked the partition option and went with the Manjaro default.

Well, /home is probably the one that’s going to need the most space if you start downloading stuff ─ especially games ─ so you could follow my tutorial and split off /home onto /dev/sda4. The rest of the system doesn’t tend to swell up too much over time ─ not even /usr, which takes up the bulk of the root filesystem.

Even if I say so myself, my tutorial is very good ─ it takes you through the whole thing one step at the time. And if you don’t have a computer handy for reading it while you’re in single-user mode ─ which is a text-based maintenance mode ─ then you can use the browser on your phone, or, if you have a printer, then you can print out a hard copy. :wink:

Edit: In case you need some time to think it over, I’ll reset the timer that automatically closes this thread to 10 days. :wink:

1 Like

This topic was automatically closed after 10 days. New replies are no longer allowed.