14 lines
616 B
Bash
14 lines
616 B
Bash
#!/bin/bash
|
|
D=/mnt/f/efi/Paravis/Boot/g4d
|
|
echo "=== antiv (KRD) full menu lines:"
|
|
strings -a -n 4 "$D/antiv" | grep -aiE 'krd|kernel|initrd|srm|ksl|base|root|lang|:' | grep -aivE 'initrd_start|Create INITRD|Linux kernel must|initrd \[@name|initrdfs' | head -25
|
|
echo
|
|
echo "=== acroDD map/menu lines:"
|
|
strings -a -n 4 "$D/acroDD" | grep -aiE 'map|iso=|chainloader|root|find' | grep -aivE 'table not recognized|map %s|initrd' | head -20
|
|
echo
|
|
echo "=== ISO magic check (offset 0x8001):"
|
|
for f in ADD ABA; do
|
|
printf " %-6s " "$f"
|
|
dd if="$D/../Utilities/$f" bs=1 skip=32769 count=5 2>/dev/null | od -c | head -1
|
|
done
|