Sonoma restarts after 5 minutes

I have HP all in one desktop. I have installed Windows 11 on an NVMe drive, whereas, macOS Sonoma, Big Sur, Monterey and Ventura on my 4tb HDD. My computer's specs are as under:

PROBLEM: Windows and all others macOs's work fine, Sonoma also starts and came to desktop, after five minutes it re-starts/crashed. Any help would be appreciated. Thanks.

1.Codename Kaby Lake

  1. Specification Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz

  2. Memory Type DDR4

  3. Memory Size 16 GBytes

  4. Family 103C_53311M HP Pavilion

  5. Graphics Intel integrated graphics HD630 nd EGPU|AMD Radeon R7 M460|

Author: @Calm_Worry_2335