Restore the Ubuntu boot menu

Source: Internet
Author: User

Introduction

Windows is often reinstalled when two systems are used! Is there a way to reinstall Windows without Ubuntu?

This problem is well solved when Windows xp/Ubuntu is used! However, it is difficult to use Windows 7 (including Vista) or above!

Because Microsoft has changed the OS startup mechanism! For details, see bootmgr and Bcdedit (Baidu encyclopedia)

For more information, see install Ubuntu12.4 in Windows 7 (x64).

Tool: EasyBCD

1. Set the Win7 boot guide Ubuntu1. Add the Win7 boot item

2. Set OS parameters to boot

Initiator type and disk

Select GRUB 2

Select Ubuntu system partition

(1) Add a boot item; (2) view settings

3. Restart the PC and enter the boot entry.

Set up (first boot: Win7; second boot: Ubuntu)

Restart and go to "NeoSmart Linux ".

2. Set Ubuntu boot Win71. install Grub to the hard disk
Sudo grub-install/dev/sda

Note: The first hard disk in the Ubuntu partition is sda, and the second partition is sdb... and so on.

2. Update the Grub boot menu
Sudo update-grub
Reference article: 1. Grub2/Installing (Reinstalling GRUB 2-Reinstalling GRUB 2 from a Working System) implements failover

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.