正确的命令选择 xorriso

正确的命令选择 xorriso

我整天都在努力让 xorriso 工作。我正在做的是修改 grub.cfg 并插入一些自定义用户数据和元数据文件,以便在 ubuntu-20.04.2-live-server-amd64.iso 上进行自动安装测试。我没想到这会这么难。以下是xorriso -indev ubuntu-20.04.2-live-server-amd64.iso -report_el_torito as_mkisofs

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :     721 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev 'ubuntu-20.04.2-live-server-amd64.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-on GPT APM
Media summary: 1 session, 593344 data blocks, 1159m data,  421g free
Volume id    : 'Ubuntu-Server 20.04.2 LTS amd64'
-V 'Ubuntu-Server 20.04.2 LTS amd64'
--modification-date='2021020117574100'
-isohybrid-mbr --interval:local_fs:0s-15s:zero_mbrpt,zero_gpt,zero_apm:'ubuntu-20.04.2-live-server-amd64.iso'
-partition_cyl_align on
-partition_offset 0
-partition_hd_cyl 73
-partition_sec_hd 32
--mbr-force-bootable
-apm-block-size 2048
-iso_mbr_part_type 0x00
-c '/isolinux/boot.cat'
-b '/isolinux/isolinux.bin'
-no-emul-boot
-boot-load-size 4
-boot-info-table
-eltorito-alt-boot
-e '/boot/grub/efi.img'
-no-emul-boot
-boot-load-size 8000
-isohybrid-gpt-basdat
-isohybrid-apm-hfsplus

版本信息:

xorriso 1.5.2
ISO 9660 Rock Ridge filesystem manipulator and CD/DVD/BD burn program
Copyright (C) 2019, Thomas Schmitt <[email protected]>, libburnia project.
xorriso version   :  1.5.2
Version timestamp :  2019.10.26.180001
Build timestamp   :  -none-given-
libisofs   in use :  1.5.2  (min. 1.5.2)
libjte     in use :  2.0.0  (min. 2.0.0)
libburn    in use :  1.5.2  (min. 1.5.2)
libburn OS adapter:  internal GNU/Linux SG_IO adapter sg-linux
libisoburn in use :  1.5.2  (min. 1.5.2)
Provided under GNU GPL version 3 or later, due to libreadline license.

我正在尝试组装一个修改后的启动 ISO,其中包含自定义 grub 菜单选项、用户数据和元数据;按照以下示例操作:

https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/

有人能帮我解决这个问题吗?我被难住了。谢谢!

相关内容