Results 1 to 2 of 2

Thread: BUG IN BT3 SCRIPT > make_iso.bat (bt3b141207.rar)

  1. #1
    Just burned his ISO
    Join Date
    Jan 2008
    Posts
    2

    Exclamation BUG IN BT3 SCRIPT > make_iso.bat (bt3b141207.rar)

    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
    Code:
    @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:
    Code:
    @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

  2. #2
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •