MacOS Installer black screen

When the macOS Sonoma installer reboots and the count comes to "less than a minute remaining", after some time, the screen goes black but the laptop is on. When I try to force reboot and boot again the count starts again from "29 minutes remaining" and the same happens again. Tried installing from scratch but no Success .

Specs: Model: Acer Travelmate P249 CPU: Intel i5 7200U (Spoofed to 2018 MacBook Pro) GPU: Intel HD Graphics 620

Author: @Effective_Play_2990