Failing password entry on luks partition

If you’ve ever encrypted a partition used for linux then chances are that you’ve also entered that password wrong once or twice. Annoyingly though as a security measure if you fail you are dropped into a grub rescue prompt with seemingly no way to escape without rebooting your computer. This is by design to slow down people trying to break into your system.

There are however several things that can be done instead of holding the power button on your computer:

cryptomount (hd1,gpt2)  # mount the encrypted partition (should be the same id pair as what is listed above the grub rescue> prompt)
insmod normal  # Install normal boot module
normal  # Boot normally