Avoid executing memdiskfind under Secure Boot
On systems with secure boot enabled, memdiskfind prints an ugly error message:
cannot open /dev/mem: Operation not permitted
This MR extracts the memdisk code into a new file and function, and aborts early if /dev/mem cannot be read.
This MR is a try of reducing the delta between live-boot and Grml's fork.