@echo off
set bios=-no-emul-boot -boot-load-size 4 -b grldr
set uefi=-eltorito-alt-boot -no-emul-boot -eltorito-platform efi \Nasi\efi.img
set iso=-o z.iso
set dir=%1
if %1a==a set dir=iso1
set iso9660x=-U -max-iso9660-filenames -D
set RR=-R
set joliet=-J -joliet-long -hide-joliet boot.catalog
pushd %~dp0
bin\mkisofs %iso9660x% %RR% %joliet% %bios% %uefi% %iso% %dir%
When you build an iso from a directory with mkisofs, the boot file(s) should be in the root of that directory.
Or you should get an error: file could not be found in the target tree.
So, let it be -
详情回复
发表于 2020-12-1 16:47
When you build an iso from a directory with mkisofs, the boot file(s) should be in the root of that directory.
Or you should get an error: file could not be found in the target tree.
So, let it be -b grldr and -b efi.img,do not make changes.