Use another live usb to do this with gparted.
I believe Ubuntu has gparted. Personally on my unit I have had issue with getting non uefi images to boot from eMMc. So far only UEFI Mint or Fedora installed from a live desktop have booted post install on the eMMc otherwise they don’t seem to be recognized by bios. SSD install had no issues.