Generating ISO with xorriso

删除回忆录丶 提交于 2019-12-11 18:33:57

问题


I'm trying to remaster ISO image of Archlinux using Rust.

To get the ISO I need to run xorriso utility as external command using duct crate.

However I get these (strange) errors (doesn't happen if I run it from shell script):

cmd!("sudo","xorriso", "-x", "-as mkisofs", "-iso-level 3", "-full-iso9660-filenames", iso_label, eltorito_boot, eltorito_cat, "-no-emul-boot -boot-load-size 4 -boot-info-table", isohybrid, "-eltorito-alt-boot", efi, "-no-emul-boot -isohybrid-gpt-basdat", output, root).run().context("Failed to create new ISO")?

xorriso : FAILURE : Not a known command:  '-as mkisofs'

xorriso : FAILURE : Not a known command:  '-iso-level 3'

xorriso : FAILURE : Not a known command:  '-full-iso9660-filenames'

xorriso : FAILURE : Not a known command:  '-volid "ARCH_201904"'

xorriso : FAILURE : Not a known command:  '-eltorito-boot "isolinux/isolinux.bin"'

xorriso : FAILURE : Not a known command:  '-eltorito-catalog "isolinux/boot.cat"'

xorriso : FAILURE : Not a known command:  '-no-emul-boot -boot-load-size 4 -boot-info-table'
...

来源:https://stackoverflow.com/questions/55865024/generating-iso-with-xorriso

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!