From f2431049cf6e12b359b6a9df0c778b1e30f683e0 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 2 Jul 2025 04:10:52 -0400 Subject: Initial commit Signed-off-by: Ian Moffett --- mkiso.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 mkiso.sh (limited to 'mkiso.sh') diff --git a/mkiso.sh b/mkiso.sh new file mode 100755 index 0000000..a1ea87d --- /dev/null +++ b/mkiso.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +mkdir -p iso_root/ + +dd if=/dev/zero of=iso_root/fat.img bs=1k count=1440 +mformat -i iso_root/fat.img -f 1440 :: +mmd -i iso_root/fat.img ::/EFI +mmd -i iso_root/fat.img ::/EFI/BOOT +mcopy -i iso_root/fat.img BOOTX64.EFI ::/EFI/BOOT + +xorriso -as mkisofs -no-emul-boot -boot-load-size 4 \ + -boot-info-table --efi-boot fat.img -efi-boot-part \ + --efi-boot-image --protective-msdos-label iso_root -o Hyra.iso > /dev/null + +rm -rf iso_root -- cgit v1.2.3