Fix Grub Boot program under CentOS

Source: Internet
Author: User

1. Early-loading system, tried several times. Final GRUB Repair succeeded! The solution is roughly as follows:boot Meet grub> look at the solution in the following way

First of all, since we plug in the USB stick into the system, then we plug the USB stick into the system and see the operation

[Email protected] ~]# GRUB-INSTALL/DEV/SDA#安装grub到sda[email protected] ~]# vim/boot/grub/device.map #编辑文件为 (hd0)/dev/sdapreviously possible:
(HD1)/DEV/SDA #sda为硬盘
(hd0)/dev/sdb #sdb为U盘
[[email protected] ~]# vim/boot/grub/grub.conf # edit modify Inside (hd1,0) for (hd0,0) after the other, comment out the # and then save the restart to unplug the USB stick can be normal to enter the system

Fix Grub Boot program under CentOS

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.