Trouble running Clear Linux on KVM


I’m trying to fire up a VM on KVM using the guide at, but I’m getting the following error:

$ ./ clear-29620-kvm.img
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize KVM: Permission denied

The really strange thing is, it worked once! After I shut down the VM, I’ve been unable to start it since.

Can anyone provide any pointers here?

Try sudo ./ clear-29620-kvm.img


Try sudo ./ clear-29620-kvm.img

Or ad your user to the KVM group and qemu group

sudo usermod -aG kvm,qemu $USER

then restart your session to takes this new values.


Thanks, @TomL and @miguelinux - I chose to add myself to the kvm & qemu groups, which did the trick.

1 Like