diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-02 04:10:52 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-02 04:10:52 -0400 |
commit | f2431049cf6e12b359b6a9df0c778b1e30f683e0 (patch) | |
tree | c9a7478a536ce593407545bf515d10443012ed26 /mkiso.sh |
Initial commitmain
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'mkiso.sh')
-rwxr-xr-x | mkiso.sh | 15 |
1 files changed, 15 insertions, 0 deletions
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 |