For UEFI install the Disk partition table should be of type GPT (Guid Partition Table).
If you dont want to format your hard disk to GPT, but instead want to migrate from MBR to GPT while trying to save your data, can have a look at http://www.rodsbooks.com/gdisk/mbr2gpt.html
1) You would need to create an ESP (EFI System Partition).
It is a FAT32 partition which has the .efi files for booting, which you can create using Gparted or gdisk. (Size 200-512 MiB).
You would also need to install/check whether following packages are present-
1. efibootmgr 2. dosfstools 3. grub
2) Create the /boot/efi directory
sudo mkdir /boot/efi
3.) Mount the EFI partition as /boot/efi
sudo mount /dev/sdXY /boot/efi
X = Alphabet of the drive = a,b,c … Y = Partition number of the EFI partition = 1,2,3,4…
Example – /dev/sda4
4.) Install Grub according to UEFI
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
5.) Update Grub configuration file.
Note- If you get an error like
path '/boot/grub' is not readable by Grub on boot. Installation is impossible. Aborting
If you get the following error :
EFI variables are not supported on this system.
then you could load the efivarfs module :
sudo modprobe efivarfs