OpenCore is not booting on Linux

Hello, I managed to install MacOS Sonoma on my computer, I’m still trying to configure it and make it usable but for now I’m trying to install Linux on the same SSD, I used the disk utility to create a second partition which will be used to install Linux on it. However, when I try to install Linux at the second partition OpenCore doesn’t detect it and only shows MacOS as the only option to install. I tried to install Linux using bootloader (systemd and grub) and without it but OpenCore doesn’t detect in any way possible, I tried to follow the guides to see if I’m doing anything wrong but nothing is working for me. Can someone help me on it? I want to be able to boot both Linux and MacOS but I can only boot MacOS. Also the distribution that I’m using is EndeavourOS, thank you so much for any help!

Author: @No_Proposal_5731