SLAX has its own bootinst which I hadn't updated. Variables are %D% in cmd not %D
parent
b331cc488a
commit
10f61a88f6
|
|
@ -54,14 +54,20 @@ goto setup95
|
|||
|
||||
:setupNT
|
||||
\slax\boot\syslinux.exe -maf -d /slax/boot/ %DISK%:
|
||||
if %ERRORLEVEL% == 0 goto setupDone
|
||||
if %ERRORLEVEL% == 0 goto setupEFI
|
||||
goto errorFound
|
||||
|
||||
:setup95
|
||||
\slax\boot\syslinux.com -maf -d /slax/boot/ %DISK%:
|
||||
if %ERRORLEVEL% == 0 goto setupDone
|
||||
if %ERRORLEVEL% == 0 goto setupEFI
|
||||
goto errorFound
|
||||
|
||||
:setupEFI
|
||||
mkdir %DISK%:\Boot\EFI
|
||||
copy \boot\EFI\* %DISK%\Boot\EFI
|
||||
goto setupDone
|
||||
|
||||
|
||||
:setupDone
|
||||
echo Installation finished.
|
||||
goto pauseit
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ goto setupEFI
|
|||
|
||||
:setupEFI
|
||||
mkdir %DISK%:\Boot\EFI
|
||||
copy \boot\EFI\* %DISK\Boot\EFI
|
||||
copy \boot\EFI\* %DISK%\Boot\EFI
|
||||
goto setupDone
|
||||
|
||||
:setupDone
|
||||
|
|
|
|||
Loading…
Reference in New Issue