when we have Ubuntu in the original system, if we reinstall or install a new Windows system, we will find the Ubuntu System boot menu is missing, we re-install Ubuntu system can also solve this problem, But our previous efforts in the Ubuntu system have been wasted, and here I introduce the use of Ubuntu system disk to restore our Ubuntu system boot menu.
Start your computer with a CD-ROM and select "Try Ubuntu" to enter LiveCD.
1 Start your computer using LiveCD
2 Opening the terminal
3 See the Ubuntu partition (sudo fdisk-l) 1 shown in/dev/sda1 as shown in the Linux system boot primary partition
4 Get root permission
Sudo-i
Then enter Mkdir/media/ubuntu (here to create a folder Ubuntu, used to mount just the sda1, this folder name you can depend on personal interests, not too many requirements)
Mount/dev/sda1/media/ubuntu
Mount the sda1 in the Ubuntu folder.
5 Enter the command at the end of the most critical and exciting time of the recovery:
Grub-install--ROOT-DIRECTORY=/MEDIA/UBUNTU/DEV/SDA
This step is used to reinstall GRUB2 (this software name is GRUB-PC) to the main boot record of the hard disk [MBR] is very critical.
The input appears later "installation finished. No Error reported." Character, it indicates that the operation was successful and the Ubuntu boot interface was restored after restarting.
6 Restart to the native Ubuntu system, execute commands in the terminal
sudo update-grub
7 Restart Discovery added the Windows menu.
Source: http://www.jb51.net/os/windows/84561.html
Repair method not seen after reloading Windows Ubuntu system boot Menu