2

Every time I start, I have to manually do "sudo modprobe -r kvm-intel" for VirtualBox to be able to use hardware virtualization facilities. How do I get rid of this?

2 Answers 2

4

Blacklist the offending kernel module:

vim /etc/modprobe.d/blacklist.conf

Add a line such as "blacklist kvm-intel"

This is assuming that VirtualBox doesn't want to use the kernel module either.

1
  • 5
    Putting it in /etc/modprobe.d/blacklist.conf will mean you have to deal with conflicts whenever Debian/Ubuntu update their blacklist - better to keep it in a separate file to avoid having to merge the changes each time you upgrade packages etc.
    – James
    Jul 20, 2010 at 21:23
9

echo "blacklist kvm-intel" >> /etc/modprobe.d/blacklist-local.conf

1
  • Thanks for the tip. It seems that a new line is required at the end of the file in order to get this to work for me (Ubuntu server 12.04)
    – Jack Kelly
    Aug 9, 2012 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.