Requirement: Ubuntu LiveCD (download it from Ubuntu.com) Start your computer and boot into your Ubuntu LiveCD. The first thing that we need to do is to mount your existing Ubuntu partition. If you already know your partition number (of the form “sda1”, “sdb2” etc), you can easily mount using the following command: If however, you have completely no idea of your partition number, launch GParted (System -> Administration -> gParted). Locate your Ubuntu partition and record down the partition number.

If you are are using different partitions for the “root” and the “home” folder, make sure you record the root partition instead of the home. Close the GParted. Open a terminal and type in the following command: Next, all you need to do is to reinstall Grub 2 with the following command: Reboot. You should be able to boot into your Ubuntu now. Run the following to update your Grub 2 to include the bootloader of Windows (or other OS). You should be able to boot into your Ubuntu and Windows (or other OS) now.