Follow the below instructions to add " Windows 10 " in the boot menu
1. Login into the Ubuntu
2. cd /etc/grub.d/
3. sudo gedit 40_custom
1. Login into the Ubuntu
2. cd /etc/grub.d/
3. sudo gedit 40_custom
4.
# add following lines in 40_custom file:
menuentry "Windows 7" {
set root='(hd0,1)'
chainloader +1
}
5.
# after edit save file and run following command :
grub2-mkconfig -o /boot/grub2/grub.cfg
Note: it might be grub-mkconfig and grub only instead of grub2-mkconfig and grub2 in the point 6. check in your Ubuntu OS.
Reference: https://www.youtube.com/watch?v=0fCA7ToywoY