win7 and centos7 dual system installation guide

win7 and centos7 dual system installation guide

Main reference: http://jingyan.baidu.com/article/1709ad80b28cf74634c4f0d5.html

Precautions:

1. Install win7 first and then install centos

2. Note that when installing win7, partition the disk and reserve vacant disk space for centos

3. When installing centos, note that you need to select a reserved disk for installation

4. After installing centos7, the startup item cannot be found. It needs to be set.

4.1. Open  /boot/grub2/grub.cfg  as root (must be)
4.2. Find  ###BEGIN /etc/grub.d/30_os-prober ###
   Add after (note that there is a space after chainloader)

menuentry "Windows 7 (loader) (on /dev/sda1)" {
	insmod ntfs
	set root=(hd0,1)
	chainloader +1
}

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326528537&siteId=291194637
Recommended