I've borked my ubuntu installation.
It seems to have mixed up whether to use bios grub or efi grub.
When I get to grub rescue
, I can find all the mod files I need at (hd0,msdos5)/boot/grub/x86_64-efi
However, if I try to set prefix to this path, it always appends i386-pc to the path, so it can never find the normal.mod when I try to insmod
.
So I end up getting can't find file: (hd0,msdos5)/boot/grub/x86_64-efi/i386-pc/normal.mod
Rather frustrating. How can I convince this grub that i386-pc doesn't exist and it needs to look where I tell it to look? Haha.
I don't think this question is a duplicate, as I've been through the steps of all the other grub rescue answers and it's led me to this conundrum.
Oh, and I can't use my usb any more for some reason, or I'd just boot to live. So that's out. (Crashes to initramfs saying can't find live medium
.)