Follow the below steps to boot to windows when you are in Linux.
1. check the entries in grub.cfg
2. Here we see windows 7 is the 3nd meny entry and the index is 2 starting from 0. Hence sent grup-reboot 2
3. Now reboot your computer.
1. check the entries in grub.cfg
[sudiptakumar_laha@symc Desktop]$ sudo grep '^menuentry' /boot/grub2/grub.cfg
menuentry 'CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-e138508e-48ed-4b19-9bcc-446bbfa2da86' {
menuentry 'CentOS Linux (0-rescue-a962980d35964ca6aa2a4d23e8f02266) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-a962980d35964ca6aa2a4d23e8f02266-advanced-e138508e-48ed-4b19-9bcc-446bbfa2da86' {
menuentry "Windows 7" {
2. Here we see windows 7 is the 3nd meny entry and the index is 2 starting from 0. Hence sent grup-reboot 2
[sudiptakumar_laha@symc Desktop]$ sudo grub2-reboot 2
3. Now reboot your computer.
[sudiptakumar_laha@symc Desktop]$ sudo reboot