Hey, I’m trying to run code ready containers in a silverblue 32 toolbox. New to silverblue and its virtualization and trying to figure out how to fix this error:
./crc setup
INFO Checking if oc binary is cached
INFO Checking if podman remote binary is cached
INFO Checking if CRC bundle is cached in '$HOME/.crc'
INFO Checking if running as non-root
INFO Checking if Virtualization is enabled
INFO Checking if KVM is enabled
INFO Checking if libvirt is installed
INFO Checking if user is part of libvirt group
INFO Checking if libvirt is enabled
INFO Checking if libvirt daemon is running
INFO Starting libvirt service
INFO Will use root access: start libvirtd service
FATA Failed to start libvirt service
Alright, I’m a little further along. Installed some more libvirt kvm related packages and I’m now getting:
./crc setup --log-level debug
INFO Checking if oc binary is cached
DEBU oc binary already cached
INFO Checking if podman remote binary is cached
DEBU Currently podman remote is not supported
INFO Checking if CRC bundle is cached in '$HOME/.crc'
INFO Checking if running as non-root
INFO Checking if Virtualization is enabled
DEBU Checking if the vmx/svm flags are present in /proc/cpuinfo
DEBU CPU virtualization flags are good
INFO Checking if KVM is enabled
DEBU Checking if /dev/kvm exists
DEBU kvm kernel module is not loaded
INFO Setting up KVM
DEBU Trying to load kvm module
DEBU exit status 1 : modprobe: FATAL: Module kvm not found in directory /lib/modules/5.6.13-300.fc32.x86_64
FATA Failed to load kvm module
I think I’ve figured out that kvm can’t be installed inside the toolbox as it requires a daemon and the usual systemctl commands don’t work inside the toolbox. So I think what is required is installing kvm with os-tree in the host os.