After the centos7 dual system is fixed, there is no win7 startup item.

Source: Internet
Author: User
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. Solution Step 1: install centos 7 on Windows 7. if you want to install centos to learn Linux in the lab without any windows 7 startup items, you have a Windows 7 system on your desktop and do not want to format all the disks, so I installed the dual-system, and previously solved the problem of the dual-system startup item. Today, a younger brother is installing a dual-system, and then I copied the previous notes. today I pasted it on. Step 1. go to the CentOS system


2. enter [Html]View plaincopy
  1. Vi/boot/grub2/grub. cfg

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

[Html]View plaincopy
  1. Menuentry 'Windows 7 '{
  2. Insmod part_msdos
  3. Insmod ntfs
  4. Insmod ntldr
  5. Set root = (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.