Fix Undefined video mode number in Ubuntu
April 1st, 2008 | by TK |If you’re getting the error message; "Undefined video mode number – Press Enter to see more or space to continue" when you boot up, I just found a quick fix for it while trying to patch the same problem on my machine. Apparently this will also work with the lilo bootloader (check article comments).
It’s a good idea to make a copy of the original "menu.lst" in case you do something wrong by accident. Type:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.old
Ubuntu users, open up a Terminal window and type:
gksudo gedit /boot/grub/menu.lst
Scroll down the file and you will find something that says vga=791 or some other number. Replace all instances of vga=791 (or whatever it says) to vga=normal
Make sure you change all of them or it may not work.
Save the file and reboot. This should hopefully fix the problem!
