
If your keyboard isn't plugged in, you'll get a keyboard error at startup.
You might also have touched a key during startup, or perhaps there's a book or something pressing on the keyboard.
However, if its recurring, you may want to check for sticking or broken keys, or get a new keyboard.