Several months ago I bought a new computer and installed/configured dual boot with Arch/Ubuntu Studio. I wanted to try Arch (because it was suggested as a great distro for audio production [since it is comparatively lean]), but I wanted to get going with Ubuntu Studio right away in case I had bitten off more than I could chew with Arch. Hence, the dual boot scenario.
I'm not an experienced Linux system administrator; I found this to be very difficult. I read a lot of information from a massive amount of online sources and eventually figured it out. I never ended up using Ubuntu much at all, so it's just been taking up 128G on my 256G disk. When I followed the tutorials from the Arch Wiki, the sample suggested 15G for the root partition. At the time, I should've thought harder about this, because it did seem like a low number for the kinds of work I was planning to do (a lot of varied things = a lot of applications). I'm using i3 as my window manager, and I noticed right away that the drive space was going fast. I've got 1G left.
Long story short, I didn't make enough space for the root (/
) partition, and I don't know how to correct it. My initial reaction was to just copy /
over to where Ubuntu is. So I deleted the Ubuntu partition and repartitioned it with cgdisk. Then I booted with a live USB Ubuntu and mounted /dev/sda3
(my current /
) to /oldroot
and mounted /dev/sda2
(where Ubuntu used to be) to /newroot
and cp -R /oldroot/* /newroot
.
I'm not sure what to do from here, though. I have a separate boot partition that looks like this:
/
/EFI
/EFI/ubuntu
/EFI/ubuntu/shimx64.efi
/EFI/ubuntu/grubx64.efi
/EFI/ubuntu/grub.cfg
/EFI/arch_grub
/EFI/arch_grub/grubx64.efi
I don't remember what I did to create these .efi
files, but I would imagine that their purpose is to direct the process to the current /boot/grub/grub.cfg
script (it looks like a bash script). I'm not sure. I think I remember this being done as part of running grub-mkconfig
or something like that, but I don't know where I was when I did that or at what stage in the process, so now I've hit a wall.
Maybe I shouldn't even be trying to switch partitions--maybe I should be trying to simply increase the size of the root partition as it is, but I don't know how to do that.
What should I do from here?