The repair function will actually reinstall XP.
No need to touch the boot.ini file.
Easiest way is to use a 98 startup disk. click here
Boot from that and type: fdisk /mbr
This will put the MBR right = You can boot into windows.
You can use the XP CD but you have to use the recovery console and typing: fixmbr
Will put it right. click here