change legacy to uefi

Create USB boot with refind (img file in zip archive) http://www.rodsbooks.com/refind/getting.html

sudo dd if=refind-flashdrive-0.13.0.img of=/dev/sdb

Boot with USB in Mint

create fat32 partition with GParted around 512 Mb

fdisk -l to identify it (nvme0n1p2 in my case)

Create efi folder in /boot/ if it doesn't exist

mount /dev/nvme0n1p2 /boot/efi/
apt install --reinstall grub-efi
grub-install --boot-directory /mnt/boot --efi-directory /mnt/boot/efi
grub-install --boot-directory /boot --efi-directory /boot/efi
reboot

Last updated

Was this helpful?