If this is for gaming, keep your modern OS on UEFI and build a separate "Retro PC" using hardware from 2005-2010 (Core 2 Duo/Phenom II era). That hardware is new enough to be reliable but old enough to run XP natively.
XP was born before the SATA (AHCI) standard became universal. Without specialized drivers integrated into your installation ISO (often using tools like nLite ), you’ll likely meet the infamous "Blue Screen of Death" (BSOD) before the setup even begins. install windows xp on uefi system
If you are dead set on a bare-metal install: If this is for gaming, keep your modern
If you want, I can:
For systems lacking CSM, a legacy bootloader can be chained from a UEFI bootloader (e.g., using DUET – Developer's UEFI Environment). To run it on modern hardware, you must
Installing Windows XP directly on a UEFI system is technically challenging because Windows XP is not a UEFI-aware operating system and does not natively support GPT partitions. To run it on modern hardware, you must generally use a BIOS emulation mode or specialized workarounds. Primary Installation Methods