Sorry about the long post.
I've used Ubuntu once as dual boot with windows 10 long time ago. And yesterday I installed it again. As I had an experience of setting it up on dual boot I was confident enough to do it on my on with the help of some tutorials on internet.
Last time also I got many entries (10+) on Grub boot loader and I've searched through internet and removed them(I thought they are not useful) using Grub-customizer. And at that time it didn't go wrong and I was able to log into Ubuntu or Windows with fewer options in grub menu. So today also I removed the entries which I thought is not important. And now I can't log into the PC as it shows there's no bootable devices detected.
So now I logged on from Ubuntu live cd and was following https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/ this tutorial but couldn't get pass this last step as I'm getting this error "Installing for i386-pc platform. grub-install: error: failed to get canonical path of `a " .
What have I done wrong ? Is there anyway to fix this ? I mean any way how to get the bootable options (Grub) back ?
edit : This is the way I did it last time Remove useless entries from messed up grub?