3

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

5

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
  • 6
    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
    Commented 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
    Commented Aug 9, 2012 at 11:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .