Problem: When I boot my machine I get the error:
error: no such device: [Device address]. error: unknown filesystem. Entering rescue mode... grub rescue> _
I had Ubuntu installed on a HDD, I then added an SSD and installed Fedora 27 on the SSD before wiping the HDD. When I booted the system I always got the following error:
error: file '/boot/grub/i386-pc/normal.mod' not found. Entering rescue mode
The only way to boot the system was to enter my BIOS and choose to boot from the SSD. However setting the SSD as the top boot priortiy or disabling all other methods of booting resulted in dropping to the grub rescue prompt. I tried to fix my problem by running:
sudo grub2-install /dev/[my ssd]
This didn't resolve my issue so I also ran:
sudo grub2-install /dev/[my hdd]
After which I could only get as far as the grub rescue prompt. I followed instructions to get from grub rescue to grub and instruction in this answer but this made the problem worse. When booting from the grub rescue prompt and running
ls (*[drive]*) I got no filesystem recognised on both hdd and sdd.
In the end I was able to repair my system back to the state that it started in, i.e. entering the boot list and manually selecting the correct drive to boot from, otherwise the computer goes to the grub rescue prompt.
Any suggestions as to what I can do to permanently fix this problem? Thanks.
OS: KDE spin Fedora 27 using LVM
Edit: Here's the output from
fdisk -l /dev/[my SSD]
Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 2099199 2097152 1G 83 Linux /dev/sdb2 2099200 488396799 486297600 231.9G 8e Linux LVM