1

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?

Zanna
  • 72,312
Sriram R
  • 153

2 Answers2

1

You can use a tool called Boot-Repair to easily re-install GRUB.

Boot a live session, connect to the internet, and then put this in your Terminal:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update
sudo apt install -y boot-repair
boot-repair
Aaron Franke
  • 1,136
0

just login to your linux box(ubuntu 16.04 in your case) and run sudo update-grub . this will automatically detect the OS install on ur system.