3

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

Sparky
  • 133
  • 2
    You can try changing boot order with efibootmgr: http://askubuntu.com/questions/485261/change-boot-order-using-efibootmgr 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 02 '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 02 '20 at 18:26
  • 1
    HP UEFI boot order change with efibootmgr does not stick, but change in HP's UEFI does work https://ubuntuforums.org/showthread.php?t=2390309 HP X360 Update UEFI F20 https://ubuntuforums.org/showthread.php?t=2439220 – oldfred Apr 02 '20 at 20:42
  • 2
  • 1
    @karel yes it does, thank you very much for sharing! Very detailed and informative answers! – Sparky Apr 03 '20 at 22:34

1 Answers1

2

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

Bengü
  • 56