"can't allocate kernel" and "out of memory"

image of the error message

I was booting from my flash drive trying to get into the live environment to install bazzite. I flashed the it with Fedora media writer and I was using kde modern nvidia driver version of the iso. Also I checked the iso’s checksum — it was ok. Also I have a version of Debian on my hard drive (I’m suspecting it as a problem).

If you need anything else feel free to ask!

Is Secure Boot on or off? That’s not the same error shown in:

when the MOK isn’t installed. But, maybe it’s related. If Secure Boot is on, did you enroll the MOK?

Thank you for your help. I deleted my answer by accident. Yes I had secure boot on and tried off. Unfortunately documentation doesn’t explain my error at all. But by digging through github issues I found the answer. It was Platform Trust Technology (PTT). And after disabling it Live Environment and installer booted just fine.

The issue was PTT (Platform Trust Technology) or aka TPM. After disabling it in my UEFI, Live Environment and installer booted just fine. Unfortunately documentation doesn’t explain this at all.

Here is a helpful video how to enable/disable PTT/TPM on every motherboard: