USB flash drive After installing CentOS will not start problem solving method

Source: Internet
Author: User

USB flash drive after installing CentOS will not start problem solving methodCategory: Hadoop 2014-06-30 15:47 646 people read comments (0) favorite reports Today after the installation of CentOS found the boot file installed on the U disk, so do not plug into the CentOS system, find this method on the Internet to successfully get rid of the U disk to start, to avoid re-use of the USB drive to do the boot disk installation system, simple and convenient, so send a post, save later backup.

1. Open the terminal with the root user into grub mode after entering CentOS
Grub> Find/grub/stage1
Error 15:file not found
This is my computer, then enter
Grub>find/boot/grub/stage1 Find Stage1
Find/boot/grub/stage1 Find Stage1

2. Install the CentOS grub to the MBR

grub> Root (hd0,7)
grub> Setup (hd0)

This is the same as found in the above find. HD0 indicates that the first drive 0 represents the first partition
3. Reboot complete
Grub> reboot

4. Finally use Vim to modify/boot/grub/grub.conf, all (hd0,0) to the same as found in front find, title others changed to title windowsxp, my is XP system is the first partition on the hard disk is (hd0,0).
# all kernel and INITRD paths is relative to/, eg.
# root (hd1,7)
# kernel/boot/vmlinuz-version RO root=/dev/sda8
# initrd/boot/initrd-[generic-]version.img
#boot =/dev/sdb
Splashimage= (hd0,7)/boot/grub/splash.xpm.gz
Title CentOS (2.6.32-358.2.1.el6.i686)
Root (hd0,7)
kernel/boot/vmlinuz-2.6.32-358.2.1.el6.i686 ro root=uuid=73023ee3-a312-49e7-990c-89a74f7bf89a Rd_NO_LUKS KEYBOARDTYPE=PC keytable=us rd_no_md lang=zh_cn. UTF-8 RD_NO_LVM rd_no_dm rhgb quiet Crashkernel=auto
Title CentOS (2.6.32-358.el6.i686)
Root (hd0,7)
kernel/boot/vmlinuz-2.6.32-358.el6.i686 ro root=uuid=73023ee3-a312-49e7-990c-89a74f7bf89a Rd_NO_LUKS KEYBOARDTYPE= PC Keytable=us RD_NO_MD LANG=ZH_CN. UTF-8 RD_NO_LVM rd_no_dm RHGB quiet
Title WindowsXP
Rootnoverify (hd0,0)
Chainloader +1
then restart to see the boot menu, from the USB stick to boot.

USB flash drive After installing CentOS will not start problem solving method

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.