Ubuntu Fails to Boot with Spice Console
I needed to roll a couple of debs for my Ubuntu servers at work. Since I run Gentoo on my desktop, I rolled a 64-bit Lucid VM. Unfortunately, after the install finished, I got the following error on the console and the VM wouldn’t boot.
error: no suitable mode found error: unknown command 'terminal'
I figured the problem had something to do with the interaction with spice console (which I’m using instead of VNC). Fortunately, the fix is pretty easy.
- Boot the install CD and go into Recovery mode.
- Drop into a shell on the system.
- Make sure
/bootis mounted in case it’s on a separate partition.
/usr/sbin/grub-mkconfig > /boot/grub/grub.cfgto update
- Exit the recovery shell and reboot
Poof! The VM now boots and I can log in.