PDA

View Full Version : BUG IN BT3 SCRIPT > make_iso.bat (bt3b141207.rar)


JRDNC
01-30-2008, 03:07 AM
SLAX should actually be BT3. Tried running it and wouldn't work and I looked at the script myself and fixed it. w00t.

FIX URL In SCRIPT, I can't post web links. ( REM author: Tomas M. <linux-live.org> )

CHANGED:
"set CDLABEL=BT3

BT3\tools\WIN\mkisofs.exe @BT3\tools\WIN\config -o "%1" -A "%CDLABEL%" -V "%CDLABEL%" .
goto theend"

---

Thanks goes to MrNibbles #remote-exploit for telling me to actually look at the script!

WORKING MAKE_ISO.BAT


@ECHO OFF

REM ----------------------------------------------------
REM Batch file to create bootable ISO in Windows
REM usage: make_iso.bat c:\new-slax.iso
REM author: Tomas M. <linux-live.org>
REM ----------------------------------------------------

if "%1"=="" goto error1
cd ..
set CDLABEL=BT3

BT3\tools\WIN\mkisofs.exe @BT3\tools\WIN\config -o "%1" -A "%CDLABEL%" -V "%CDLABEL%" .
goto theend

:error1
echo A parameter is required - target ISO file.
echo Example: %0 c:\target.iso
goto theend

:error2
echo Can't recreate isolinux.bin, make sure your current directory is writable!
goto theend

:theend
echo.
echo New ISO should be created now.
pause




ORIGINAL MAKE_ISO.BAT:

@ECHO OFF

REM ----------------------------------------------------
REM Batch file to create bootable ISO in Windows
REM usage: make_iso.bat c:\new-slax.iso
REM author: Tomas M. <linux-live.org>
REM ----------------------------------------------------

if "%1"=="" goto error1
cd ..
set CDLABEL=SLAX

slax\tools\WIN\mkisofs.exe @slax\tools\WIN\config -o "%1" -A "%CDLABEL%" -V "%CDLABEL%" .
goto theend

:error1
echo A parameter is required - target ISO file.
echo Example: %0 c:\target.iso
goto theend

:error2
echo Can't recreate isolinux.bin, make sure your current directory is writable!
goto theend

:theend
echo.
echo New ISO should be created now.
pause

pureh@te
01-30-2008, 04:16 AM
Are you kidding? This fix has been on the wiki since the day bt3 beta was released. Thanks for trying but you should look at the bug traq before posting.