Manual kernel installation on Debian

Recently I had to manually install  kernel on one Debian machine. Steps are as follows:

  • Download kernel-headers and kernel-image deb packages
  • Install these packages with

 After installation the following files shall appear in /boot directory:

  •  Still we are missing initial RAM disk and this one can be created with mkinitramfs:

After this step RAMdisk will appear in /boot:

  • Update grub and check /boot/grub/grub.cfg to verify that new entry is added:

Instance creation fails with “Cannot find suitable CPU” on Debian 7

KVM by default does not work (even though vmx/smx is enabled for CPUs) – instance creation fails with “Cannot find suitable CPU”.


  • In /etc/libvirtd/qemu.conf:
  • remove file /var/cache/libvirt/qemu/capabilities and restart host (libvirtd restart does not suffice)
  • After restart check capabilities with: