How to install retropie?

My uconsole RPI-CM4 Lite cannot be booted after inserting the sdcard with retropie burned into it. The sdcard is 128GB, which is in fat32 format. I use raspberry pi imager to burn it, but it cannot boot after completion.Does anyone know how to solve it?

Standard os will not work. You need the custom kernel drivers. I would try the factory sd card image and install retropie on top of that. That should work