How to enter Grub rescue> when booting

Source: Internet
Author: User

This machine is a dual system of centOS7 and Win8

Before the release of an empty disk space on win may have caused some grub problems specifically not studied

Unable to enter the Grub boot screen properly after booting, but jumping out a bunch of English +

Grub Rescue>

Actually, the solution is simple.

is because grub is not read in the correct location can enter set to view the current information

prefix= (HD0,MSDOS9)/grub2

Root= (HD0,MSDOS9)

This is my computer's condition.

If you remember the location of grub then you can directly set if you do not remember it is OK to use the following methods to find

First Enter

Ls

List all locations on this computer

Probably can see

(hd0) (HD0,MSDOS10) (HD0,MSDOS9) ~ (HD0,MSDOS5) (HD0,MSDOS1)

And then we'll try to enter it.

LS (hd0,1)

The system will return a list of unrecognized file systems in English

Try it out a few hints no longer an unrecognized file system.

On this machine is to try (hd0,7) when the output is probably

FileSystem XFS

Then you can be sure that grub is in this position.

This time input

Set prefix= (hd0,7)/grub2

And

Set root=hd0,7

Set it up again to enter the set again this time the information has been updated and we enter

Insmod Normal

Last step input

Normal

And we're back on the familiar boot screen.

The content I found on the internet was similar to this one, but probably because my CentOS version is relatively new to the location of the grub information and most of the web versions are different I was a position ls to find it.

Finally found a lot of mod files grub2 which we need normal.mod

How to enter Grub rescue> when booting

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.