I can boot into ubuntu only after I enter the "advanced options for ubuntu" and go into recovery mode where i need to select use the "repair broken packeges" option. The problem is that I want to boot on windows 10 but it doesn't apper as an option on grub. I have tried using terminal commands but when I reboot the computer it just crashes in a purple screen and I can't do anything else than shutting down my laptop. After shutting it down, the grub us not updated and I have to do the steps all over again. I would very much appreciate if someone could help me. Thanks!
And btw I don't mind having to uninstall ubuntu in order to get back the option of windows 10, or having to uninstall grub.