Correct issues with isolinux boot

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:55 -04:00
parent fb6f346376
commit a2cb5a6fec
2 changed files with 19 additions and 13 deletions

View File

@ -153,18 +153,24 @@ build_iso() {
echo -n "Creating LiveCD ISO... " echo -n "Creating LiveCD ISO... "
pushd ${tempdir}/installer &>/dev/null pushd ${tempdir}/installer &>/dev/null
xorriso -as mkisofs \ xorriso \
-as mkisofs \
-iso-level 3 \
-o ../${isofilename} \
-full-iso9660-filenames \
-volid "DEBIAN_CUSTOM" \
-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \ -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \
-c isolinux/boot.cat \ -eltorito-boot \
-b isolinux/isolinux.bin \ isolinux/isolinux.bin \
-no-emul-boot \ -no-emul-boot \
-boot-load-size 4 \ -boot-load-size 4 \
-boot-info-table \ -boot-info-table \
--eltorito-catalog isolinux/isolinux.cat \
-eltorito-alt-boot \ -eltorito-alt-boot \
-e boot/grub/efi.img \ -e boot/grub/efi.img \
-no-emul-boot \ -no-emul-boot \
-isohybrid-gpt-basdat \ -isohybrid-gpt-basdat \
-o ../${isofilename} \ -append_partition 2 0xef boot/grub/efi.img \
. &>/dev/null || fail "Error creating ISO file." . &>/dev/null || fail "Error creating ISO file."
popd &>/dev/null popd &>/dev/null
echo "done." echo "done."

View File

@ -22,7 +22,7 @@ MENU clear
LABEL PVC Live Installer LABEL PVC Live Installer
linux /live/vmlinuz linux /live/vmlinuz
APPEND initrd=/live/initrd.img boot=live components splash quiet APPEND initrd=/live/initrd.img boot=live splash quiet
LABEL Traditional Debian Installer (graphical) LABEL Traditional Debian Installer (graphical)
linux /d-i/gtk/vmlinuz linux /d-i/gtk/vmlinuz