#!/bin/bash echo "=== how grubfm boots a generic ISO (UEFI):" find /tmp/gfm/boot/grubfm/rules/iso -name '*.sh' -o -name '*.lua' 2>/dev/null | head for f in /tmp/gfm/boot/grubfm/rules/iso/*.sh; do echo "--- $f"; sed -n '1,40p' "$f"; echo done 2>/dev/null | head -80 echo echo "=== memtest binaries:" python3 - <<'EOF' import struct for p in ('/mnt/f/EFI/Boot/memtest.efi','/mnt/f/EFI/Boot/mtest32.efi', '/mnt/f/efi/Paravis/Boot/mem/memtest64.efi','/mnt/f/efi/Paravis/Boot/mem/memtest32.efi'): try: d=open(p,'rb').read() except Exception as e: print(p, 'ERR', e); continue pe=struct.unpack_from('