How to switch template for default-dvm?

Hi,

I’ve switched almost all qubes from fedora-42-xfce to fedora-43-xfce. However default-dvm is throwing an error that it’s still being used. I’ve killed all preloaded disposable qubes but this hasn’t helped since there are still sys qubes using default-dvm. How can I make the switch?

And there is default-mgmt-dvm which uses fedora-42 as well.

Did you try using Qubes Template Switcher in Qubes Tools menu?

1 Like

Assuming you’re ok to restart the “sys qubes” that bother you:

  1. open a dom0 terminal
  2. check which qubes still use fedora-42-xfce: qvm-ls --fields name,template | grep fedora-42-xfce
  3. run qvm-shutdown --force --all
  4. run qvm-prefs default-dvm template fedora-43-xfce
  5. repeat #4 for any other qubes still using fedora-42-xfce
  6. start your sys-qubes using qvm-start sys-usb etc. (or just restart the computer)
1 Like

There are two solutions if your sys qubes are using default-dvm:

  1. Add skip.qubes_autostart to your grub once: Autostart troubleshooting — Qubes OS Documentation. As every qube will be offline then, you can simply change default-dvm-

  2. Another solution would be to go in your dom0 terminal and write something like qvm-kill <sysqube1> && qvm-kill <sysqube2> && sleep 15 && qvm-prefs default-dvm template <templateqube> && qvm-start <sysusb1>

1 Like

I did and it produced the same error message.

If I understand the issue well, then I am using Qube manager for that.
There is nice column which displays default dispVM for each qube.

Don’t forget to check “Show internal qubes” in View.