Does the G: drive show up at all in My Computer ? ?
If not see if it is listed in Control Panel/System/Hardware/Device Manager...
Right click it and select "remove" and re-boot the machine. XP will automatically re-install it.
Also let us know if this is a laptop or desktop machine.
If a laptop make sure the drive is seated properly
Desktop check both the power and IDE connectors are snug.