#!/bin/bash G=/path/to/pf/grub2-a1ive/grub echo "=== wimboot.mod readable strings:" strings -a -n 6 "$G/x86_64-efi/wimboot.mod" | grep -avE '^[A-Za-z0-9_]{0,5}$' | head -60 echo echo "=== full moddep entries for wimboot/ntboot:" grep -aE '^wimboot|^ntboot' "$G/x86_64-efi/moddep.lst" 2>/dev/null echo echo "=== command.lst:" grep -aE 'wimboot|ntboot' "$G/x86_64-efi/command.lst" 2>/dev/null