After installing Kali Linux, I then shrank the partition and installed Ubuntu on the available space. The problem I'm now getting is when I restart my laptop, the following Kali Linux menu appears with no options to boot to Ubuntu:

  • Kali GNU/Linux
  • Advanced options for Kali GNU/Linux
  • System setup

However, when I select System setup and then press the F9 key, I get the following Boot Manager page:

Boot Option Menu:

  • OS boot Manager (UEFI) - Kali (HGST HTS545050A7E680)
  • OS boot Manager (UEFI) - ubuntu (HGST HTS545050A7E680)
  • Boot From EFI File

When i select OS boot Manager (UEFI) - ubuntu, the GNU GRUB version 2.02 menu appears:

  • Ubuntu
  • Advanced options for Ubuntu
  • Kali GNU/Linux Rolling (on /dev/sda2)
  • Advanced options for Kali GNU/Linux Rolling (on /dev/sda2)
  • System setup

This is the only menu I want to appear when my laptop first boots. How do I fix this?

EDIT @zerdecal sudo update-grub

EDIT 2 @oldfred sudo efibootmgr -o 0,1

  • 2
    You can try changing boot order with efibootmgr: askubuntu.com/questions/485261/… see also: man efibootmgr. Some systems like HP may not work with efibootmgr and you have to update UEFI and change UEFI boot order from within UEFI settings. Some with HP just end up always booting from UEFI boot menu.
    – oldfred
    Apr 2 '20 at 17:41
  • @oldfred thanks for the reply. I changed the boot order using sudo efibootmgr -o 0,1 but when i restarted the laptop, i'm still getting Kali Linux boot menu. See results in EDIT 2 above. Researching whether I should update the firmware.
    – Sparky
    Apr 2 '20 at 18:26
  • 1
    HP UEFI boot order change with efibootmgr does not stick, but change in HP's UEFI does work ubuntuforums.org/showthread.php?t=2390309 HP X360 Update UEFI F20 ubuntuforums.org/showthread.php?t=2439220
    – oldfred
    Apr 2 '20 at 20:42
  • 2
    Does this answer your question? How can I repair grub? (How to get Ubuntu back after installing Windows?)
    – karel
    Apr 3 '20 at 2:18
  • 1
    @karel yes it does, thank you very much for sharing! Very detailed and informative answers!
    – Sparky
    Apr 3 '20 at 22:34

You could try update-grub to see if that will detect Ubuntu. This should check to see what operating systems are installed and update the grub

  • Thanks for the reply. I ran sudo update-grub. See results in my edit. The problem still persists.
    – Sparky
    Apr 2 '20 at 17:44
  • 1
    try to run it from Kali side if you can enter and also grub customizer program might help to add other entry to grub page
    – Bengü
    Apr 2 '20 at 17:49
  • Running update-grub in Kali worked. Thanks!
    – Sparky
    Apr 2 '20 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.