Just after the official CentOS7 version appeared, I installed it and found that, like REDHAT7, Grub2 could not properly guide the windows partition. the solution is simple vim/boot/grub2/grub. cfg at ### END/etc/grub. d/00_header ### then add: ### BEGIN/etc/grub. d/30_os-prober ### m
As soon as the official CentOS 7 version is available, I installed it and found that Grub2 cannot guide windows partition correctly like REDHAT 7. the solution is simple.
Vim/boot/grub2/grub. cfg
Add the following after ### END/etc/grub. d/00_header:
### BEGIN/etc/grub. d/30_os-prober ###
Menuentry 'Windows 8 (loader) (on/dev/sda1) '-- class Windows -- class OS $ menuentry_id_option 'osprober-chain-140E68540E6830C2 '{
Insmod part_msdos
Insmod ntfs
Set root = 'hd0, msdos1'
Chainloader + 1
}
### END/etc/grub. d/30_os-prober ###
Then, the win8 system menu will appear at startup.
Note: Enter the information after set root according to the actual situation.