Ubuntu Technical

Ubuntu technical problems and solutions reference, a modern cookbook.

Install Windows after Ubuntu is installed

If one has Ubuntu already installed, and then Windows is installed on a different partition, they will notice that grub will be messed up. Ubuntu won’t be found anymore.
Here are the steps to safely do this:

1. Firstly, the data should be backed up. Whenever a new OS is installed, mistakes are easily made.
2. Boot the Ubuntu desktop CD, resize Ubuntu’s partition to make space for Windows. The resulting partition must be a NTFS partition. (Skip this if you already have a NTFS partition.
3. Then install Windows into the NTFS partitions.
4. Next boot into Ubuntu CD again and re-install grub. There is a visual tool that helps. It’s called boot-repair

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Documentation on the tool can be found on Ubuntu boot repair documentation

The tool looks like this:

Thanks for the tip to bodhi.zazen

Flattr this


4 responses to “Install Windows after Ubuntu is installed

  1. Hans February 20, 2012 at 9:01 am

    Once I switched to Ubuntu, I hardly need Windows anymore. But for those few occasions, I installed VirtualBox and installed WinXP in a Virtual Machine. Works fine for me.

    • arzki February 20, 2012 at 9:29 am


      Thanks for reading my post.
      I am finding myself also hardly using Windows. But when I need Windows, is for my gaming leisure. And the games I play require powerful graphics and resources. The VM doesn’t handle it. But I agree with you, VirtualBox should be enough for most of the needs.

  2. Mujtaba Rizvi June 5, 2012 at 3:25 am

    i just hope this works… if it doesn’t, then bye bye to my linux data :/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: