How to online grow a ext4 partition
This tutorial uses Arch Linux so package names might vary
sudo sfdisk -d /dev/sda > partition_bak.dmp
Use growpart to grow the partitiongrowpart /dev/sda 2
Use resize2fs to grow your filesystemresize2fs /dev/sda2
Now you should have a ext4 partition that spans the entire rest of your drive.