I would like to increase the size of my root partition. I was thinking that I could run fdisk /dev/sdb delete the sdb2 partition and create a new one that is bigger. However, I have read that I need to umount the partition ( not sure that's true ). I also saw things about resize2fs, but that is for resizing the filesystem ( I think ). What is the easiest way to increase the size to the rest of the sdb ? It'd be nice if I didn't have to boot into another partition ( as I don't have one set up ).
Current partitions and mounts:
- sdb | 119.2G |
- sdb1 | 512M | /efi
- sdb2 | 30G | /