Use EASYBCD to repair Linux + win7 dual-system Grub

Source: Internet
Author: User

First, download a EasyBCD2.2 in the Win7, and then the following diagram process adds the partition of the Linux system to boot into the linux!

Here on it, I have been to win their own to delete so that only shows the Linux! Here to operate the correct words can point tool reboot!!

Reboot, we'll find out. The boot option goes into the Linux system, but the problem I have here is that the boot doesn't actually find the right directory for us to grub.conf or grub.cfg under Linux (the CFG or the Conf suffix depends on its own system)!

So we're going to do this manually. This means that we'd better start by looking at the directory where grub.conf/cfg is located on the Linux system, and fdisk-l the hard drive partition that is in place on the Linux system (the terminal command view)!!!

Okay, after this situation, press E to enter the edit state, note! Here, just change the grub.conf or grub.cfg to the correct one and then (hd0, HDX) x is the partition of the system, in fact, it can be a try.

The problem, after the correction, press B to enter the guide if the error here will see you again familiar grub boot interface! To get into the system, you need to fix grub, which is to rewrite the MBR boot

Enter the system after entering the terminal is the first Update-grub fdisk-l (see the system is the partition number)

Then it's mount/dev/sdax/mnt (x represents your system's partition number)

Reload Grub-install--ROOT-DIRECTORY=/MNT/DEV/SDA (here SDA is hard drive does not need to add partition number)

After the success can be reboot (note, I am here to reboot will enter the Grub recue mode, do not know why, it is necessary to Update-grub to restart)

Next, if you have a grub recue, how do you solve it?

The Grub RESUCE>LS lists all disk partition information, such as (hd0) (hd0, MSDOS1)

Then it's to find out where the grub file is located, i.e. LS (hd0, msdosx)/boot/grub (x variable) when a bunch of instructions are found.

You can continue with the following command:

Set root= (hd0, MSDOSX)

Set prefix= (hd0, MSDOSX)/boot/grub

Insmod/boot/grub/normal.mod

Normal

You can now see the correct grub boot again, but entering the system requires a final resolution!

sudo update-grub

sudo grub-install/dev/sda

Here reboot generally solve the problem! Some of the reasons are not too clear, hope that the future can be understood slowly!

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.