Tested on Ubuntu 7.04; Ubuntu 7.10 and Linux Mint 4.0 Live CDs

If want to restore Windows Bootloader and for some reason cannot use the windows installation cd, there is a simple way to do it:

NOTE: make sure you have internet working.

1) Boot with Ubuntu Live CD or Linux Mint Live CD

2) On the terminal:

sudo apt-get install ms-sys


ms-sys --mbr /dev/hdX

NOTE: in my case the main windows xp system is located in hda1 so I used ms-sys --mbr /dev/hda

3) Reboot.

This should get your windows back.