StartOS installer fails with mmx64.efi / import_mok_state() after replacing NVMe SSD

Try this one, it helped me as the MiniPC did not see boot sector. Just use nvme0n1p1 instead of sda1 as you have nvme drive