How to set up a virtual KVM/VNC console on your OVH server

Want to install your own image on a OVH Kimsufi or SoYouStart server? Want to install an official image on your server instead of the pre-built OVH OS templates? Want to encrypt the home directory at install-time? Want to use RAID 5 using mdadm on one of those SSD equipped SoYouStart servers? Or do you want …

KVM VM waits forever / stuck at kernel selection screen

If a KVM virtual machine has not been properly shutdown, it may wait forever at the boot up kernel selection screen for user input. You won’t see any output when trying to virsh console into the VM from the host. You have to fire up a remote VNC session in order to press enter. In …

Enable KVM guest console access in Ubuntu using the virsh console command

Usually, my first step after setting up a new Ubuntu guest is to enable console access in order gain shell access on the newly created VM. Step 1 – Activate the serial console in the guest nano /etc/default/grub Change the GRUB_CMDLINE_LINUX_DEFAULT to: GRUB_CMDLINE_LINUX_DEFAULT=”console=ttyS0,38400n8 console=tty0″ Don’t forget to update Grub update-grub Step 2 – Create the …