diff --git a/tftpboot/menu.lst/templateDisk b/tftpboot/menu.lst/templateDisk index 72a02e9..5639364 100755 --- a/tftpboot/menu.lst/templateDisk +++ b/tftpboot/menu.lst/templateDisk @@ -1,3 +1,5 @@ -search --file --set root /EFI/Part-__DISK__-__PART__/Boot/ogloader.efi -chainloader /EFI/Part-__DISK__-__PART__/Boot/ogloader.efi +if ! search --file --set root /Part-__DISK__-__PART__; then + search --file --set root /EFI/Part-__DISK__-__PART__/Boot/ogloader.efi +fi +chainloader (hd0,gpt1)/EFI/Part-__DISK__-__PART__/Boot/ogloader.efi boot \ No newline at end of file