Resizing a GPT Partition

One of my virtual machines runs out of disk space in the root (/) partition, and I want to remove the /home partition and using this free space to resize the root partition. Nowadays, for any serious systems, I’d use LVM with XFS on top. However, for this test VM, I have a virtual disk with 4 partitions without LVM. Managing partition on LVM is much easier than working the disk partition directly. I can’t remember the last time I had to do this, so here is something to remind my future-self if I need this information again. Hey, if you’re reading this now, this might be useful to you too. ...

September 10, 2020 · 3 min · 556 words · kenno