I purchased a PC six months ago for work related tasks. I do 95% of my work on Ubuntu (web development). Now, I want to install Windows on another partition to play a few games on my relax time. Which steps should I follow? Any suggestions? Every guide I found suggest to install Windows and, after that, Ubuntu. Being this my main development machine, I cannot afford the risk of wiping everything.
First, back up your data. Keep in mind, when installing an OS, over writing data is often a mouse click away.
Second, boot the ubuntu desktop CD, resize your partitions, and make a NTFS partition for Windows.
Then install Windows into the NTFS partitions. You may need to find drivers for your hardware.
Then boot the Ubuntu CD again and re-install grub. You can do this graphically with
See https://help.ubuntu.com/community/Boot-Repair for details.
Check out this
As pointed out in that answer it's impossible to partition 100% safely, consider a backup if you can't afford any risks. Anyways it is quite unlikely something will go wrong, I did what I wrote and everything went well.