hotpluggable EFI boot loaders basically need to be in /EFI/Boot/bootx64.efi
as that's the default search path for EFIpull/84/head
parent
0d5fdcc060
commit
b331cc488a
|
|
@ -11,7 +11,7 @@ set BOOTFLAG=boot666s.tmp
|
||||||
echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG%
|
echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG%
|
||||||
if not exist \%BOOTFLAG% goto readOnly
|
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
|
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%
|
del \%BOOTFLAG%
|
||||||
if %DISK% == none goto DiskNotFound
|
if %DISK% == none goto DiskNotFound
|
||||||
|
|
@ -24,10 +24,16 @@ goto setup95
|
||||||
|
|
||||||
:setupNT
|
:setupNT
|
||||||
\boot\syslinux.exe -maf -d /boot/ %DISK%:
|
\boot\syslinux.exe -maf -d /boot/ %DISK%:
|
||||||
goto setupDone
|
goto setupEFI
|
||||||
|
|
||||||
:setup95
|
:setup95
|
||||||
\boot\syslinux.com -maf -d /boot/ %DISK%:
|
\boot\syslinux.com -maf -d /boot/ %DISK%:
|
||||||
|
goto setupEFI
|
||||||
|
|
||||||
|
:setupEFI
|
||||||
|
mkdir %DISK%:\Boot\EFI
|
||||||
|
copy \boot\EFI\* %DISK\Boot\EFI
|
||||||
|
goto setupDone
|
||||||
|
|
||||||
:setupDone
|
:setupDone
|
||||||
echo Installation finished.
|
echo Installation finished.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue