Installing Windows Safely after installing Ubuntu

First Create a new partition using GParted.You ll find in ubuntu.If you dont then install it using the following command.

sudo apt-get install gparted
Now follow these steps,

1.Now format the new one as NTFS or FAT using Gparted.
2.Now restart your system and insert your windows CD to boot up.
3.Install windows in the new partition.
4.After installing you ll find only your Windows OS.
5.Now time to restore ubuntu.
6.Insert ubuntu CD and restart your system.
7.Open in Live CD mode and go to terminal.
8.Do the following :

net@net-desktop:~$ sudo grub
[sudo] password for net:
Probing devices to guess BIOS drives. This may take a long time.

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> find /boot/grub/stage1
(hd0,11) /* you may get someother */

grub> root (hd0,11) /*replace what you get */

grub> setup (hd0)
Checking if “/boot/grub/stage1” exists… yes
Checking if “/boot/grub/stage2” exists… yes
Checking if “/boot/grub/e2fs_stage1_5” exists… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 16 sectors are embedded.
Running “install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,11)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded

No close the terminal.
9.Thats all you did it.Now you ll find both your Windows and ubuntu.
10.No more steps.Just Enjoy.




2 thoughts on “Installing Windows Safely after installing Ubuntu

  1. hmmm nice one … but my question is why take the longer way when there is an shorter one.. no probs in installing Windows before Ubuntu i guess 🙂

    • Yes you are right…;-)Actually i made this tutorial for an user.Then i posted it to my blog as some of my friends needed it..;-)

Leave a Reply

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

You are commenting using your 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 )

Google+ photo

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

Connecting to %s