Windows 10 is not showing in grub2 after kali-linux install

36,332

The problem is that Kali's grub does not see Windows. Ubuntu did. I suggest that you follow this guide and "repair" grub. This should install grub once again, and Ubuntu should be able to detect all OSes correctly.

Share:
36,332

Related videos on Youtube

naveen8577
Author by

naveen8577

Updated on September 18, 2022

Comments

  • naveen8577
    naveen8577 over 1 year

    I've got Windows and Ubuntu installed. After turning off secure boot and selecting legacy boot mode, I proceeded with installation of Kali Linux from the flash drive.

    During the installation I have been warned that the only other OS detected was Ubuntu and it asked whether it want to store it in MBR or hard for booting unfortunately I selected Yes.

    Now I am unable open my windows 10. What shall I do now to show my Windows 10 in GRUB2 menu?

    • MatthewRock
      MatthewRock over 7 years
      In what order did you install Ubuntu and Windows? How were you able to boot into these two OSes?
    • GAD3R
      GAD3R over 7 years
      please add the output of fdisk -l
    • naveen8577
      naveen8577 over 7 years
      /dev/sda1 -windows recovery environment
    • naveen8577
      naveen8577 over 7 years
      @MatthewRock /dev/sda1 windows recovery environment
    • MatthewRock
      MatthewRock over 7 years
      Sorry if I was unclear; I meant that the usual order of installation is: Install windows, then ubuntu along with grub. Did you do that and use grub to choose between Ubuntu and Windows? If yes, then you could probably use Ubuntu disc and skip to the grub installation, and just reinstall the bootloader. Kali might have different version that didn't recognize Windows.
    • naveen8577
      naveen8577 over 7 years
      @GAD3R /dev/sda2 EFI system dev/sda3 Microsoft reserved. /dev/sda4,5 Microsoft basic data /dev/sd6 -windows recovery environment /dev/sda 7 Linux swap /dev/sd8 Linux filesystem /dev/sda9 Linux filesystem
    • naveen8577
      naveen8577 over 7 years
      @MatthewRock I was able to use both windows and Ubuntu from past many days .After installing Kali I was unable to detect my windows
    • naveen8577
      naveen8577 over 7 years
      @MatthewRock how to reinstall the boot loader
    • MatthewRock
      MatthewRock over 7 years
      Please check my answer.
  • I_GNU_it_all_along
    I_GNU_it_all_along over 7 years
    That would be the case, and a good suggestion, had they not mentioned the requirement to disable secure boot when installing Kali which suggests they have Windows installed with GPT and Kali on MBR so unfortunately no amount of repairing Kali's grub will solve this one.