Switch sys-net from disposable to non-disposable
- Original forum link
- https://forum.qubes-os.org/t/32395
- Original poster
- Solène R
- Created at
- 2025-02-20 09:44:21
- Posts count
- 20
- Likes count
- 23
Introduction
This guide explains how to make sys-net a non disposable qube, this can be helpful if you want sys-net to remember about network settings in a simple manner.
The plan is to delete sys-net qube to recreate it as a non disposable qube. As sys-net can not be stopped if sys-firewall is running, and sys-firewall can not be stopped as long as a qube using it as a netvm is up (every qubes doing network by default), so the process requires some work.
Setup
- stop all qubes using networking
- stop sys-firewall
- stop sys-net
- open Qubes Manager
- set sys-firewall network to none
- open sys-net settings, check the "devices" tabs and write down the numbers of each lines in the right colums, this is the internal address of network devices attached to sys-net, it should look like hexadecimal numbers with 5 digits (i.e. 00:14.3 or 2e:00.4)
- rename sys-net (in case you need to restore it)
- create a new qube named sys-net
- name: sys-net
- type: AppVM
- template: whatever you want to use
- networking: none
- check "launch settings after creation"
- click on "OK"
- in Advanced tab
- on "mode" choose HVM
- check "Provides network"
- in "Devices", add the network devices
- in "Services" tab, add "clocksync" service
- Apply changes and exit the settings window
- Start sys-net
- Edit sys-firewall and set sys-net as its netvm
- Enjoy