Installer issue

I made my own OpenCore setup following the Dortania guide. It booted fine into the recovery DMG. I chose to reinstall macOS on my M.2 drive and Success fully booted into the macOS installer. It showed the Apple logo with the message "about X minutes remaining...". However, when it reaches 24 minutes, it reboots. After that, whenever I try to boot back into the installer, it shows some logs and then reboots again.

OpenCore 1.0.4 - B450M + R5 5500 + RX480

Author: @DotComprehensive4431