So, I was using Ubuntu in a dual boot mode with Windows 10 for about a month. Yesterday, I decided to make a complete shift to Ubuntu. So, I plugged in my boot flash drive and installed a fresh installation of Ubuntu and deleted the windows 10 partition by selecting the "Something else" option in the installation process.
Now, even though I just have Ubuntu in my system, I still get the GRUB boot menu every time.
os-prober
andupgrade-grub
. If this works for you let me know and I can post it as an answer.