linux – chainloader error in grub

You are following instructions intended for BIOS-style boot process, but your system runs in UEFI native mode, and might even have Secure Boot enabled.

Instead of loading and executing the first block of a disk or partition (i.e. a Master Boot Record or a Partition Boot Record respectively), UEFI boot process wants a boot file in a filesystem that is directly readable to the firmware. All versions of UEFI specification guarantee FAT32 support, and vendors have an option to add filesystem support above and beyond the UEFI spec requirements.

The standard boot file path on a removable media is /EFI/boot/bootx64.efi starting from the root of the filesystem in question.

So, try chainloader /EFI/boot/bootx64.efi instead of chainloader +1.

Read more here: Source link