I have a problem. On my laptop I have two operation system: Kali Linux and Windows 10. Yesterday, while working on my windows partition, I have decided to create a new partition (D:) from the C: When I closed my laptop and when I turned it on, Grub rescue error appeared on the screen. If I type ls appears:
(hd0) (hd0,gpt8) (hd0,gpt7) (hd0,gpt6) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (cd0)
If type ls (hd0,gpt6)/ appears:
./ ..// lost+found/ efi/ config-4.9.0-kali2-amd64 vmlinuz--4.9.0-kali2-amd64 config-4.9.0-kali3-amd64 vmlinuz-4.9.0-kali3-amd64 grub/ ignited.img-4.9.0-kali3-amd64 System.map-4.9.0-kali2-amd64 initrd.img-4.9.0-kali2-amd64 System.map-4.9.0-kali3-amd64
Starting Ubuntu live from USB stick and invoking the command fdisk -l I get the following table:
At this point you could please help me move forward because I don't know what else to try. Thank you in advance for your reply.
C:
partition has offset the Linux partition numbers. You can try patching/boot/grub/grub.cfg
, incrementing each occurrence ofgptN
. Alternatively, runboot-repair
from your Live Boot disc.