Lost my m-2 boot drive installed on endeavour z97-a board

test -d /sys/firmware/efi && echo efi || echo bios