I have a system which has triple booted Windows 10, Ubuntu 16.04 and Kali Linux. I installed them in that order, so right now when I turn on the computer the GRUB from Kali Linux is what loads.
I want to uninstall Kali Linux which is the easy part. I'll just delete the partition which has Kali and it's done. But how do I restore the GRUB of Ubuntu so that I can boot Ubuntu or Windows from the bootloader menu?