Ubuntu Reload boot failed into repair Grub Rescue mode

Source: Internet
Author: User

Because after upgrading Ubuntu from 13.04 to 13.10, the mouse appeared a problem, a Web page will not stop flashing, and a lot of things are not the same, and not good use, so choose to reinstall the system, when the reload, and then again divided the district, and then loaded, a restart, tragedy, into the repair grub Rescue mode, a time does not know how to do well, fortunately there is a tablet can surf the internet, immediately online search. Soon found a lot of, point to open the first, "with the U disk boot into the Windows system rewrite MBR"? Then my Ubuntu is gone!!! Direct PASS!!! " Directly under the grub Rescue "fix, well, this is good." Try it right now, I'll go, it's not the same. No change at all!! And then search, well, this article seems to be more reliable, but also wrote the problem corresponding to the situation, yes, there are repartition caused, this looks like. Do it right away.

1, input set to view the current settings (originally this is to view the current settings, the previous search does not say clearly)

2, Input set root= (HD0,MSDOS11), no wonder that I did not change, the selection before the search is not set, directly on the root= (HD0,MSDOS11). (Msdos11 is my Ubuntu installation location, everyone is different, you can use LS (hd0,x)/root/grub to see which partition is installed, run the command after a lot of files.

3, input insmod/grub/normal.mod, I do not have this document, what situation!!! I'm not ubuntu!!. It's not scientific!!! Calm down! Check Ubuntu installation in which disk there are several folders, will not be the path of the file is not the same, well, look at a other file path to see, input ls (HD0,MSDOS11)/root/grub/i386-pc, a return, out of a large string of file names, Most of them are. MoD and. IMG, this should be it, change the command to Insmod (HD0,MSDOS11)/ROOT/GRUB/I386-PC/NORMAL.MOD, successful!!!!

4, input Normal, enter the, familiar with the boot menu out. But it's not finished yet.

5, for Ubuntu, open the terminal, enter sudo update-grub, update the boot file.

6, input sudo grub-install/dev/sda, wait a few seconds, I, failed, there is no reason!! Forget it, try it again. Waiting for the ... I'll go, again GRUB rescue!!! Again, into Ubuntu again, the page down again, there are solutions, but just because it is to use the live CD to start on the tube, and then try this method well! (generally it should be done here, but my situation is not the same, I was in the reload when the zone again, but also reassign the location of the boot file is caused by the need to use the following methods to do.) )

7, the input sudo mount/dev/sda11/mnt, installs the disk to mount to/mnt on

8, input sudo grub-install--boot-directory=/mnt/boot/dev/sda, I rely on, out of this string of things is what, I did not input errors ah, how not to run successfully! Try again! STILL!!!! A few times after the retest, forget it, restart it, the miracle of the launch menu out!! Has the execution been successful?!!

Well, that's the process, my little heart!!! (This is not/boot separate out the method, the/boot separate out words on the command of the "/boot" to remove the good)

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.