Repair method not seen after reloading Windows Ubuntu system boot Menu

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.