FG
💻 Software

How to permanently disable kvm modules in Linux?

Fresh5 days ago
Mar 15, 202626706 views
Confidence Score0%
0%

Problem

In order to get virtualbox to work in Linux I have to run the following commands as root: otherwise I get an error. This works well. The only problem is that I have to re-run those two commands every time the machine reboots. Is there a way to permanently disable those two kernel modules?

Error Output

modprobe -r kvm_intel
modprobe -r kvm

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to permanently disable kvm modules in Linux?

Low Risk

Update: For Fedora, save the lines under Option 1 below into a file under /etc/modprobe.d/, for example, . The name of the file isn't important; all files in the directory get processed during boot. Option 3 might be more preferable if you're sure y…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment