USB flash Drive Installation CentOS cannot enter the CentOS system solution

Source: Internet
Author: User

Transferred from: http://blog.sina.com.cn/s/blog_3feedf320101idlu.html

Currently using U disk installation system gradually because of its convenience and people's welcome, but the use of a U disk to install the CentOS system is prone to a problem, that is, after the installation of the USB flash drive, can not enter the system, and when the boot plug on the USB stick will be able to enter the system normally. In this case, it should be installed in the system when the default grub installed on your USB drive, so when you boot without inserting a USB flash drive, the system is unable to boot into the system through grub.
The correct method is actually very simple, please see below: 1, through the USB stick into the CentOS system, and then pull out the U disk.  2. Enter grub into GRUB command line mode. #[[email protected]/]# grub3, input find/boot/grub/stage1 or Find/grub/stage1 (mine is this) #grub > Find/boot/grub/stage1 or GR The value returned by ub> Find/grub/stage1 is usually in such a format: (hd0,0) 4, enter quit GRUB command line mode 5, CD to/boot/grub directory, use the VI command, Change the grub.conf and menu.lst files (hd1,0) or (hdx,x) to (hd0,0) the location of the just find. 6. Enter grub again to enter the GRUB command line mode. Enter: Root (hd0,0); setup (hd0), reboot7, enter quit Grub mode, and then enter Init 6 to restart the computer, you will find that the system does not need a USB flash drive to enter the system.

USB flash Drive Installation CentOS cannot enter the CentOS system solution

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.