Resolves an issue where Windows Startup items disappear when installing CENTOS7 dual system on Windows7

Source: Internet
Author: User

Solution to the Win7 of CentOS under the boot Item vanishing method

After installing CentOS 7, the original Windows 7 will not appear in the Startup project, the solution is to modify the Grub.cfg file after the online search. Because CentOS 7 has a new GRUB2 system, you need to edit the grub.cfg file using VI (or nano) after entering the/BOOT/GRUB2 directory. :

Declare the following Windows 7 Startup item:

    1. Menuentry ' Windows 7 (loader) (on/dev/sda1) ' {  

    1. set root= (hd0,1)

    1. Chainloader + 1   

    2. }

Add in # # # End/etc/grub.d/00_header # # #之后.

After this modification, the Windows 7 startup item can be seen after restarting, and can also successfully enter Windows 7

Description: Set root= (hd0,1) where hd0 represents the hard drive, 1 is the C drive, my Win7 is in C drive, so it is 1.

This article is from the "Beloved Linux" blog, so be sure to keep this source http://mpflinux.blog.51cto.com/12173924/1945603

Resolves an issue where Windows Startup items disappear when installing CENTOS7 dual system on Windows7

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.