You can use parted to repartition you harddrive if you need to. However, when you install Windows, it's going to overwrite the MBR. This means the bootloader will no longer work. Once Windows is installed, you will need to load a linux recovery disk and reinstall grub. Make sure you have a linux boot disk before installing Windows or it will make life harder than it needs to be setting up the dual boot system.