hotpluggable EFI boot loaders basically need to be in /EFI/Boot/bootx64.efi

as that's the default search path for EFI
pull/84/head
root 2019-09-28 18:10:47 +01:00
parent 0d5fdcc060
commit b331cc488a
1 changed files with 8 additions and 2 deletions

View File

@ -11,7 +11,7 @@ set BOOTFLAG=boot666s.tmp
echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG%
if not exist \%BOOTFLAG% goto readOnly
echo wait please ...
echo wait please ...
for %%d in ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %%d:\%BOOTFLAG% set DISK=%%d
del \%BOOTFLAG%
if %DISK% == none goto DiskNotFound
@ -24,10 +24,16 @@ goto setup95
:setupNT
\boot\syslinux.exe -maf -d /boot/ %DISK%:
goto setupDone
goto setupEFI
:setup95
\boot\syslinux.com -maf -d /boot/ %DISK%:
goto setupEFI
:setupEFI
mkdir %DISK%:\Boot\EFI
copy \boot\EFI\* %DISK\Boot\EFI
goto setupDone
:setupDone
echo Installation finished.