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.
- Vi/boot/grub2/grub. cfg
3. Add the following code in the blank area of the file
[Html] view plaincopy
- Menuentry 'windows7 '{
- Insmodpart_msdos
- Insmodntfs
- Insmodntldr
- Setroot = (hd0, 1)
- Chainloader + 1
- Boot
- }
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!