SLAX has its own bootinst which I hadn't updated. Variables are %D% in cmd not %D

pull/84/head
root 2019-09-28 18:06:52 +00:00
parent b331cc488a
commit 10f61a88f6
2 changed files with 105 additions and 99 deletions

View File

@ -54,14 +54,20 @@ goto setup95
:setupNT :setupNT
\slax\boot\syslinux.exe -maf -d /slax/boot/ %DISK%: \slax\boot\syslinux.exe -maf -d /slax/boot/ %DISK%:
if %ERRORLEVEL% == 0 goto setupDone if %ERRORLEVEL% == 0 goto setupEFI
goto errorFound goto errorFound
:setup95 :setup95
\slax\boot\syslinux.com -maf -d /slax/boot/ %DISK%: \slax\boot\syslinux.com -maf -d /slax/boot/ %DISK%:
if %ERRORLEVEL% == 0 goto setupDone if %ERRORLEVEL% == 0 goto setupEFI
goto errorFound goto errorFound
:setupEFI
mkdir %DISK%:\Boot\EFI
copy \boot\EFI\* %DISK%\Boot\EFI
goto setupDone
:setupDone :setupDone
echo Installation finished. echo Installation finished.
goto pauseit goto pauseit

View File

@ -32,7 +32,7 @@ goto setupEFI
:setupEFI :setupEFI
mkdir %DISK%:\Boot\EFI mkdir %DISK%:\Boot\EFI
copy \boot\EFI\* %DISK\Boot\EFI copy \boot\EFI\* %DISK%\Boot\EFI
goto setupDone goto setupDone
:setupDone :setupDone