I have both Linux and Windows installed on the same disk. Recently I decided to switch to a different Linux distribution. Since then Grub fails and drops into the rescue shell. I found out online that I can boot using following commands:
set prefix=(hd0,gpt6)/boot/grub set root=(hd0,gpt6) insmod linux insmod normal normal
After entering the
normal command, I get to the usual Grub, where I can select which OS to boot. I tried reinstalling Grub but it seems that the actual problem is that I have two different Grub installations.
These are my partitions:
Device Start End Sectors Size Type /dev/sda1 2048 923647 921600 450M Windows recovery environment /dev/sda2 923648 1128447 204800 100M EFI System /dev/sda3 1128448 1161215 32768 16M Microsoft reserved /dev/sda4 1161216 471042047 469880832 224,1G Microsoft basic data /dev/sda5 471042048 479041535 7999488 3,8G Linux swap /dev/sda6 479041536 976772004 497730469 237,3G Linux filesystem
/dev/sda6 has the
/boot/grub directory, so Grub is installed there.
/dev/sda2 has following directories:
Am I right that I have two different Grub installations? And if yes, which should I use? How to uninstall the other one properly?