After the centos7 dual system is fixed, there are no problems related to win7 startup items

Source: Internet
Author: User

After the centos7 dual system is fixed, there are no problems related to win7 startup items
After the centos7 dual system is installed in win7, we tried to install centos to learn Linux in the lab before there was no win7 startup Item. However, we had a Windows 7 system on the desktop and didn't want to format all the disks, So we installed the dual system, I used to solve the problem of dual-system startup items. Today, my younger brother is installing a dual-system, and then I copied my notes. Today I pasted them on. Step 1. Go to the CentOS System


2. Enter [html] view plaincopy in the command line.

  1. Vi/boot/grub2/grub. cfg

3. Add the following code in the blank area of the file

[Html] view plaincopy
  1. Menuentry 'windows7 '{
  2. Insmodpart_msdos
  3. Insmodntfs
  4. Insmodntldr
  5. Setroot = (hd0, 1)
  6. Chainloader + 1
  7. Boot
  8. }

Restart reboot to enter the win7 system. For centos6.5, you do not need to set the startup Item. For more information, see! Remember this!

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.