pycdlib icon indicating copy to clipboard operation
pycdlib copied to clipboard

pycdlib.pycdlibexception.PyCdlibInvalidInput: Must be a path starting with / when using genisoimage.py

Open j-deng opened this issue 1 year ago • 1 comments

python.exe genisoimage.py -v -iso-level 1 -no-pad -b boot -c boot.cat -b EFI/BOOT/BOOTAA64.EFI -b images/efiboot.img -no-emul-boot -allow-lowercase -o onedir.iso D:\tmp\onedir

I want to use genisoimage.py to replace genisoimage.exe but get error with some options which works on exe version.

it echo errors pycdlib.pycdlibexception.PyCdlibInvalidInput: Must be a path starting with / with -b option but make success without -b

OS: Windows

Folder Structure:

genisoimage.py
onedir
  | boot
  | EFI/BOOT/BOOTAA64.EFI
  | images/efiboot.img

j-deng avatar Nov 21 '23 13:11 j-deng

Use -b efiboot.img is working but -b images/efiboot.img will print the error pycdlib.pycdlibexception.PyCdlibInvalidInput: Must be a path starting with /.

j-deng avatar Nov 24 '23 02:11 j-deng