Boot Ubuntu UEFI from Grub console
I have Kubuntu installed on a USB SSD and tried to boot it today, but was dumped into a Grub console. It looked like this:
grub>To get back into my installation, I ran the following:
grub> lsThis showed me that I have a few devices. I noticed (hd0,gpt1) and (hd0,gpt2) which are probably my /boot and / partitions. I was able to check with ls:
grub> ls (hd0,gpt1)/Yep, that’s the boot drive and ls on the other showed me all the stuff I’d expect in /.
So next I found the grub.cfg on the /boot disk, just used ls to look around until I found it at:
grub> ls (hd0,gpt1)/efi/ubuntu/grub.cfgNow that I have that file path, booting was simple (thank you ChatGPT!):
grub> set prefix=(hd0,gpt1)/efi/ubuntu
grub> insmod normal
grub> configfile (hd0,gpt1)/efi/ubuntu/grub.cfgThis got me booted back into Kubuntu! I ran update-grub once I was back up, but haven’t tested if that fixed it permanently.

