Perhaps size=100% parameter will help implement this suggest (implement live boot by porting grub-live to Qubes - amnesia / non-persistent boot / anti-forensics · Issue #4982 · QubesOS/qubes-issues · GitHub). For example, my laptop has 32 GB of memory. I had 15 GB in the default live mode in Kicksecure host. Now I have 31 GB in live mode. It allows me to run Whonix gateway and Whonix workstation, Kicksecure VM, Ubuntu KDE, and Fedora KDE simultaneously in KVM (provided I use fstrim -av
in the virtual machines). These are full-fledged distributions, not lightweight Qubes templates. We will always have only half of the memory in overlayfs-tmpfs if we do not specify the size.
Copying dom0 to zram is a very simple solution. It is efficient, but the boot time increases. Perhaps this can be implemented using overlayfs for dom0. I’m not an expert in this, but I would be interested in trying it next week
1 Like