Or just do the truncation with stuff present in the base install like perl: Code: open(Z, "+</usr/share/Diablo-Turbo/backup/zImage-backup") && sysseek(Z, 0x2C, 0) && sysread(Z, $l, 4) && truncate(Z, unpack("L", $l)) && close(Z); (season with appopriate error handling to taste).
open(Z, "+</usr/share/Diablo-Turbo/backup/zImage-backup") && sysseek(Z, 0x2C, 0) && sysread(Z, $l, 4) && truncate(Z, unpack("L", $l)) && close(Z);