I installed Ubuntu. But. I couldn't boot back into windows (not shown at the grub) until I put this into the terminal:sudo apt-get install lilosudo lilo -M /dev/sda mbrIt was a success. I rebooted it and it went right into my windows. But now I cant boot back into Ubuntu. Then I tried to reinstall and repair the ubuntu. But this showed up. How can I fix this so I can dual boot and switch easily between my windows and ubuntu?  
Booting and installation problem. Windows 8 and Ubuntu 16.04
linux;ubuntu