CentOS cannot start, repair grub.conf file

Source: Internet
Author: User

Due to the mistake of the parameters in the grub.conf file, causing the system to fail to start, reported error19:linux kernel must be loaded before INITRD

In fact, I do not understand anything, press any key that it prompts to continue. Later with the help of friends (of course he is not very good), know to see other tips to operate, from the morning until 5 o'clock in the afternoon to finally fix. After the press any key, according to the prompt by the E, enter the discovery missing a kernel, at this time there is a root (hd0,0) and initrd information, press O to add a new, KERNEL/VM Press the TAB key will automatically filled information, after the information with the RO root= hardware uuid, So what is this uuid, I think it should be the hardware identification information, but how to find it, I did not remember. So, to seek help grub>help, there will be some commands, found that cat is more familiar with, so cat grub/grub.conf, oh, find the UUID inside, and then recorded on other tools, and then in the kernel edit the time Add. Then press B to start, oh my God, finally succeeded. The middle of the twists and turns is not the table. Here to post a few middle look at the blog address, but also useful, although the problem and mine is not consistent, but also the same, we may use later.

This man's blog has given me a lot of inspiration, the manual write kernel information written to memory for temporary use, gave me this Linux novice very big inspiration.

http://dreamfire.blog.51cto.com/418026/1076824

This is a Google search.

Http://www.cnblogs.com/zuiyirenjian/archive/2012/07/27/2612055.html

It's a bit of a use.

Http://www.cnblogs.com/croot/archive/2013/06/05/3235111.html

This is the most complete summary.

http://fuwenchao.blog.51cto.com/6008712/1336629


This article from the "7321304" blog, reproduced please contact the author!

CentOS cannot start, repair grub.conf file

Related Article

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.