I have installed Ubuntu 16.04 alongside windows 10.I have lenovo g50 series 64 bit laptop. The BIOS mode is legacy supported. The grub didn't show windows 10 after installing Ubuntu so I updated grub.After that it did show windows 10 but Windows 10 began to crash sometimes on booting. I even tried boot repair but windows 10 still crashes frequently on booting. I don't know what's wrong with its booting. It works fine if it gets booted properly.I cant find anything on internet that is helpful.The crashed window is black screen with small horizontal lines . Please help!