GParted may prompt to fix the GPT header due to metadata mismatch about the disk size, select “Fix”.
Using GParted program, deactivate the LVM partition.
Resize the LVM partition by dragging the right-arrow to the end.
Click tick ✓ to apply. Resizing should take only a few seconds, if it’s not finished within a minute, reboot GParted Live and repeat; this may happen if Steps 2-3 are skipped.
Launch Terminal,
sudo -s
vgs
lvs
vgs may show non-zero VFree value meaning the volume group contains unallocated space. lvs lists the volume group and logical volume, the values are used in lvresize; Ubuntu defaults to ubuntu-vg/ubuntu-lv, the slash is not an OR, both values with a slash are required.