Größe des Boot-Images beträgt 48 Sektoren -> Keine Emulation

402
user3132525

Ich versuche, iso (Unterstützung von uefi) wie folgt zu erstellen:

genisoimage \ -follow-links \ -o $dir/$iso_name \ -b isolinux.bin \ -c boot.cat \ -no-emul-boot \ -eltorito-alt-boot \ -eltorito-boot images/efiboot.img \ -V 'CENTOS 7' \ -boot-load-size 4 \ -boot-info-table\ -R -J -v -T \ $ISOLINUX_DIR/ 

Aber ich stehe vor dem fehler wie unten,

Größe des Boot-Images beträgt 48 Sektoren -> Keine Emulation Die
Größe des Boot-Images beträgt 4 Sektoren -> mkisofs: Fehler - Boot-Image '/ net / . . . /CentOS/isolinux/images/efiboot.img 'hat keine zulässige Größe.

0

1 Antwort auf die Frage

0
Thomas Schmitt

Sie haben das zweite Startabbild nicht als für EFI und nicht für das x86-BIOS markiert. Je nach Variante von genisoimage kann dies durch die Option "-e" anstelle von "-eltorito-boot" erfolgen. Sie sollte von einem eigenen Vorkommen der Option "-no-emul-boot" begleitet werden.

Die Optionen "-boot-load-size 4 -boot-info-table" gelten für das BIOS-Image "isolinux.bin" und müssen vor dem Trennzeichen "-eltorito-alt-boot" verschoben werden.

Versuchen

 genisoimage \ -follow-links \ -o $dir/$iso_name \ -b isolinux.bin \ -c boot.cat \ -no-emul-boot \ -boot-load-size 4 \ -boot-info-table \ -eltorito-alt-boot \ -e images/efiboot.img \ -no-emul-boot \ -V 'CENTOS 7' \ -R -J -v -T \ $ISOLINUX_DIR/ 

Wenn Ihr Genisoimage keine Option -e anbietet, versuchen Sie es stattdessen:

 xorriso -as mkisofs \ ...above.options... 

(Option -T wird ignoriert.)

Einen schönen Tag noch :)

Thomas