Moving from legacy drivers (and legacy boot) to open drivers (and UEFI boot)

My new GPU yes need a UEFI system.
I am following this tutotial, and a lot of other users had changing from legacy to uefi.

I am having a issue with this procedure:

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.

Need help here. I am on a live usb with a chroot environment