Page 1 of 1

UBCD V.5.0RC2 ubcd2iso.cmd problem

Posted: Tue Apr 20, 2010 8:47 am
by kcarney
Hello,

I have a script that sits just outside the UBCD files directory that calls your ubcd2iso.cmd file that has stopped working as of R2. I noticed some scripting changes in ubcd2iso but I don't see how it is causing my script to fail.

Code: Select all

call files\ubcd\tools\win32\ubcd2iso\ubcd2iso.cmd files ..\..\UBCD5Builder.iso
"files" is the directory that contains UBCD

Here is the error
C:\UB\UBCD>call files\ubcd\tools\win32\ubcd2iso\ubcd2iso.cmd files ..\..\UBCD5Bu
ilder.iso
UBCD2ISO: Creating bootable UBCD ISO image ...
Warning: Creating ISO-9660:1999 (version 2) filesystem.
Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the OS.

Size of boot image is 4 sectors -> No emulation
mkisofs: Permission denied. Error opening boot image file './boot/isolinux/isoli
nux.bin' for update.
UBCD2ISO: '..\..\UBCD5Builder.iso' is successfully created
Press any key to continue . . .
EDIT: Nevermind, /boot/isolinux/isolinux.bin was set to read only and somehow that causes mkisofs to bomb

Posted: Tue Apr 20, 2010 12:47 pm
by Icecube
EDIT: Nevermind, /boot/isolinux/isolinux.bin was set to read only and somehow that causes mkisofs to bomb
Yes, if isolinux.bin is set to read only, it won't work.
The -boot-info-table parameter, which is passed to mkisofs, causes mkisofs to write to isolinux.bin to patch boot image (isolinux.bin) with info table.