Recently the GRUB boot loader disappeared on my Lenovo Thinkpad X1 Carbon. I normally dual boot Windows 10 and Ubuntu, but now it goes directly to Windows. I attempted to fix it by restarting into a Ubuntu live-USB and launching boot-repair from Terminal. Boot-repair gave the following error message: "Please create a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag). This can be performed via tools such as Gparted. Then try again."
Here is the log from boot-repair: https://paste.ubuntu.com/p/yShmygxP4r/
I attempted the solution from Unable to repair boot with Windows 8 and Ubuntu 13.04 with gparted. However, gparted shows that I have a 260 MiB EFI system partition on /dev/nvme0n1p1 whose system is fat32 and that has a boot flag. Boot-repair seemingly does not recognize this partition. I tried to make a new EFI partition as suggested in the linked thread. But this required freeing space from the front of a nearby Windows partition to make room. I wasn't able to do this in gparted (wouldn't let me free up space), so I then restarted back into Windows. But on Windows, I was unable to free up space in the front of the Windows partition from three different partition managers (Windows 10 Disk Management, Mini Tool Partition Wizard, EaseUS Partition Master Free).
What can I do to fix the GRUB menu and regain the ability to boot into my Ubuntu partition?