PDA

View Full Version : Stuck in Grub Rescue Mode



reesee
2024-02-10, 16:44
So I recently got a prebuilt pc with Windows 11 installed on it. As a nieve cybersecurity student I tried dual booting kali but something went wrong in the booting process and just hung. So with my limited experience working with operating systems and linux I thought I could just erase the partition and try to reboot the partition. When I went to reboot the partition it immediately brought me to the grub rescue mode. I researched that this happens because the boot directory is in the place where it needs to be or it's not there at all. The first step was finding the boot directory but when I would run `ls <dir>` it would return "error: filesystem is unknown".
How do I fix this problem?

I can't add the image of my screen with grub rescue mode but here is the output.

Welcome to GRUB!

error: unknown filesystem
grub rescue> ls
(hd0) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1)
grub rescue> ls (hd0)
(hd0): Filesystem is unknown.
grub rescue> ls (hd0,gpt5)
(hd0,gpt5): Filesystem is unknown.
grub rescue> ls (hd0,gpt4)
(hd0,gpt4): Filesystem is unknown.
grub rescue> ls (hd0,gpt3)
(hd0,gpt3): Filesystem is unknown.
grub rescue> ls (hd0,gpt2)
(hd0,gpt2): Filesystem is unknown.
grub rescue> ls (hd0,gpt1)
(hd0,gpt1): Filesystem is unknown.