diff options
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 |