使用xorriso生成ISO

时间:2019-04-26 09:50:23

标签: rust archlinux

我正在尝试使用Rust重新制作Archlinux的ISO映像。

要获取ISO,我需要使用xorriso板条箱将duct实用程序作为外部命令运行。

但是我遇到了这些(奇怪的)错误(如果从shell脚本运行它不会发生):

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'
...

0 个答案:

没有答案