fi
dd if=/dev/zero of=efi_part.img bs=1M count=50 mkfs.vfat -F 32 efi_part.img mkdir -p /mnt/efi_mount mount efi_part.img /mnt/efi_mount cp -r ~/dlc_build/efi/* /mnt/efi_mount/ umount /mnt/efi_mount This command creates a single ISO that boots on BIOS and UEFI (DLC aware). dlc boot uefi iso
mkdir -p ~/dlc_build/efi/boot mkdir -p ~/dlc_build/boot/grub mkdir -p ~/dlc_build/iso_content/tools Create a bios.img (floppy emulation or hard disk) or simply use GRUB's boot.img . For simplicity, we will let xorriso handle BIOS via a core image. Step 3: Configure GRUB for DLC Hunting Create ~/dlc_build/boot/grub/grub.cfg . This is the secret sauce. fi dd if=/dev/zero of=efi_part