F5F Stay Refreshed Software Operating Systems Set up a dual operating system with Kali Linux and Windows.

Set up a dual operating system with Kali Linux and Windows.

Set up a dual operating system with Kali Linux and Windows.

S
Simon_303
Member
169
04-14-2021, 04:05 AM
#1
I performed the Windows 11 update today and after restarting, I encountered a black screen with text. My system uses a dual boot setup with Kali Linux and Windows 11, but I’m facing an error related to the grub rescue. There might be a solution available. Thanks in advance, Edited June 5, 2025 by erze7811
S
Simon_303
04-14-2021, 04:05 AM #1

I performed the Windows 11 update today and after restarting, I encountered a black screen with text. My system uses a dual boot setup with Kali Linux and Windows 11, but I’m facing an error related to the grub rescue. There might be a solution available. Thanks in advance, Edited June 5, 2025 by erze7811

Z
Zoraga
Junior Member
10
04-14-2021, 04:44 AM
#2
Do you recall having or experiencing a Windows Recovery partition prior to and after the update? This issue typically arises when there isn’t a recovery partition installed, causing the update to proceed without warning or user input, altering the partition structure by reducing the C: drive and inserting a recovery copy. If GRUB is set to search for partitions by index (such as drive 0, partition 2), it may point to the wrong one. The fix involves using the rescue prompt to manually boot Linux by supplying the required GRUB options. Use the command `ls` to view available partitions, for example: grub rescue> ls (hd0), (hd0,gpt1), (hd0,gpt2). You can also verify presence of boot files by checking paths like `(hd0,gpt3)/./lost+found/` or `grub2/loader/`. If you have a distinct "/boot" segment, search for the one containing "grub2" or "grub" files, along with items such as "vmlinuz", "initrd", "initramfs", or "kernel". When there’s no separate "/boot" partition, look for the root drive holding directories like "boot/", "dev/", and "etc/". After identifying the correct partition (e.g., hd0,gpt2) and its GRUB path (e.g., "/grub2" or "/boot/grub2"), run the following commands: grub rescue> set boot=(hd0,gpt2) grub rescue> set prefix=(hd0,gpt2)/boot/grub2 grub rescue> insmod normal grub rescue> normal". If successful, the GRUB menu should appear, allowing you to boot into Kali as expected. However, this is only a temporary fix. Once inside Kali, update GRUB with "sudo update-grub" and it’s best to reinstall GRUB for proper configuration. For more information on these steps, refer to the official GRUB documentation.
Z
Zoraga
04-14-2021, 04:44 AM #2

Do you recall having or experiencing a Windows Recovery partition prior to and after the update? This issue typically arises when there isn’t a recovery partition installed, causing the update to proceed without warning or user input, altering the partition structure by reducing the C: drive and inserting a recovery copy. If GRUB is set to search for partitions by index (such as drive 0, partition 2), it may point to the wrong one. The fix involves using the rescue prompt to manually boot Linux by supplying the required GRUB options. Use the command `ls` to view available partitions, for example: grub rescue> ls (hd0), (hd0,gpt1), (hd0,gpt2). You can also verify presence of boot files by checking paths like `(hd0,gpt3)/./lost+found/` or `grub2/loader/`. If you have a distinct "/boot" segment, search for the one containing "grub2" or "grub" files, along with items such as "vmlinuz", "initrd", "initramfs", or "kernel". When there’s no separate "/boot" partition, look for the root drive holding directories like "boot/", "dev/", and "etc/". After identifying the correct partition (e.g., hd0,gpt2) and its GRUB path (e.g., "/grub2" or "/boot/grub2"), run the following commands: grub rescue> set boot=(hd0,gpt2) grub rescue> set prefix=(hd0,gpt2)/boot/grub2 grub rescue> insmod normal grub rescue> normal". If successful, the GRUB menu should appear, allowing you to boot into Kali as expected. However, this is only a temporary fix. Once inside Kali, update GRUB with "sudo update-grub" and it’s best to reinstall GRUB for proper configuration. For more information on these steps, refer to the official GRUB documentation.

N
nexusRawr
Member
198
04-15-2021, 05:40 AM
#3
Of course, there is indeed a solution. Any skilled Kali practitioner will handle it independently. If you don’t fit this profile, recommending "N00buntu" makes perfect sense.
N
nexusRawr
04-15-2021, 05:40 AM #3

Of course, there is indeed a solution. Any skilled Kali practitioner will handle it independently. If you don’t fit this profile, recommending "N00buntu" makes perfect sense.