Install Windows XP on HP Pavilion G4
To install windows XP in this model you need to perform slipstream process.
For those who not familiar with slipstream process, it is a process where we modify the original Windows XP installation file into a new Windows XP Installation file which contain a file (SATA DRIVER) which needed to perform the XP installation.
We need to integrate the sata driver because the laptop will not detect any HDD without it.
So to perform the slipstream process you can refer to my tutorial here: