I've updated the /etc/grub.d/40_custom for a custom menu entry as follows:
menuentry "My OS"{
rootnoverify (hd1,0)
chainloader +1
}
I run this command:
grub2-mkconfig –o /boot/grub2/grub.cfg
It displays the output:
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "My OS"{
rootnoverify (hd1,0)
chainloader +1
}
### END /etc/grub.d/40_custom ###
And it does nothing after. Can you let me know what else I need to do? Thanks.