I have been trying out Linux for the first time using Manjaro in a dual boot configuration, and I am very happy with it.
I have been running a GPT partition table SSD drive, with the first half of the drive being the Win10 install and the second half being the Manjaro install. Now, I am thinking of making the whole drive Manjaro, and running the last 2 bits of software I need in the Oraacle VirtualBox.
Is there a workflow through which I can delete the windows partitions, and extend the btrfs partition across the whole drive, with it remaining the root bootable partition?
yes, but as noob everything can happen. learning by mistakes is common to all of us. the first and most important thing you must do is to backup and store all your important datas. keep them on an external storage that you disconnect afterwards.
a second tip is to create a bootable stick with a small distro with gparted or similar distros that are designed to boot from and make all relevant changes on the disc. a tip: look for creating a ventoy-stick. you can install the ventoy-app from the repos with
sudo pacman -S ventoy
and create a bootable stick. this stick is useful cause you can copy different images on it and choose what iso you wanna boot.
Do a backup of your data, just in case you do a mistake.
identify the partitions that belong to Windows on Gparted.
delete them with Gparted.
expand the root partition. Since it is BTRFS, you can extend the partition to the right even without a live session on the booted installation. (but you cannot move it)
This is interesting. Could the btrfs partition be copied to the beginning of the drive, the original deleted and then the copy expanded across the drive. Would it be possible to make the new partition bootable?
I am not sure if it works with btrfs, but usually there are options in partition mangers that are called resize, which allow to move boundaries of partitions
While this is true, that one can extend (resize) partitions quite easily with available tools, the problem remains where the partition to be resized happens to be / – moving the boundary to the left can cause grief; inability to boot; the possibility of data loss.
However, moving a boundary to the right is relatively safe, in comparison. This is why the general emphasis (above) has referred to extending a partition to the right.
All-in-all, megavolt’s solution worked and left me with a bootable install. Everything was running fine, and then I started monkeying around with booting options and my bios.
Anyway, it worked fine until I messed with it and I didn’t lose any data because I made a backup. Now, I’m on a different fresh all Linux drive. In the end, even though megavolt’s solution was fine, I wanted to do other stuff and getting the install to move every time was just not worth the agitation.
Thank you, everybody, for helping. Your time and effort is appreciated.