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
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
(hd0,7)

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
Default=0
Timeout=5
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
Initrd/boot/initramfs-2.6.32-358.2.1.el6.i686.img
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
Initrd/boot/initramfs-2.6.32-358.el6.i686.img
Title WindowsXP
Rootnoverify (hd0,0)
Chainloader +1
23,2-9
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

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.