Make EFI port primary

This commit is contained in:
2025-11-29 20:00:51 +01:00
parent e2184bdc27
commit c222cae16f
104 changed files with 3 additions and 5187 deletions

19
scripts/out_to_iso.sh Executable file
View File

@@ -0,0 +1,19 @@
# Create a FAT12 image
dd if=/dev/zero of=out/fat.img bs=1k count=1440
mformat -i out/fat.img -f 1440 ::
# Create EFI directory structure
mmd -i out/fat.img ::/EFI
mmd -i out/fat.img ::/EFI/BOOT
# Copy the EFI application
mcopy -i out/fat.img out/img/EFI/BOOT/BOOTX64.EFI ::/EFI/BOOT
# Verify content
echo "Verifying FAT image content:"
mdir -i out/fat.img -/ ::
# Create the ISO
# -e specifies the boot image (the FAT image)
# -no-emul-boot is required for UEFI
xorriso -as mkisofs -R -f -e /fat.img -no-emul-boot -volid LintsEFI -o out/lints.iso out/img out/fat.img