# Create ```bash sudo virt-install \ --name Rocky_Linux_Dev \ --ram 4096 \ --vcpus 4 \ --os-type linux \ --os-variant rhel9-unknown \ --import \ --disk path=/mnt/KVM/linux.qcow2,format=qcow2 \ --network bridge=virbr0,model=virtio \ --graphics vnc,listen=0.0.0.0 ``` # Permissions ```bash sudo chown -R libvirt-qemu:kvm /media/KVM sudo chmod 750 /media/KVM sudo chmod 640 /media/KVM/linux.qcow2 ``` Options like noexec, nosuid, or nodev that might be restricting access. ```bash mount | grep /media ``` # Convert disk in a new dynamic size disk ```bash qemu-img convert -f qcow2 -O qcow2 -o preallocation=off old.qcow2 new.qcow2 ```