The keyboard is not working on grub. I have got the OS installed for more than a year now. Didn't have this issue before. I didn't change anything except updated the OS.
I tried the solution given in this topic, my BIOS doesn't have the second option listed there.
$ inxi -Fxxxza --no-host