Repository navigation
Guest setup for profiles
Ari edited this page Nov 24, 2026
·
1 revision
To keep open apps in a profile (or use Save state), the guest has to be able to hibernate, and the app has to be able to ask it to. That needs a one-time setup inside the guest.
The first time you need it, the app shows a popup with the exact command. It looks like this:
curl -sL 10.0.2.2:7777/s | sudo bashRun it in a terminal inside the VM, enter your password, wait for it to finish, then restart the VM once.
- Installs
qemu-guest-agent, which lets the app ask the guest to hibernate - Makes sure there's swap at least as big as RAM (hibernation writes memory into swap). It uses your swap partition if it's big enough, otherwise it makes
/swapfileon ext4 - Adds
resume=(andresume_offset=for a swap file) to GRUB and the initramfs so the kernel can resume - Sets hibernation to power off fully when done
10.0.2.2 is how a NAT guest reaches your PC. The script is served by the app itself.
- Works: Debian-based Linux (Kali, Parrot, Ubuntu, Mint, Debian) with GRUB, on ext4 or with a swap partition
- Not yet: Windows guests, Fedora/Arch, a btrfs root without a swap partition. The script stops with a message instead of guessing
-
"Run it with sudo": copy the whole command, including
| sudo bash - "Root filesystem is btrfs": make a swap partition at least as big as RAM and run it again
-
"Couldn't add resume=...": your GRUB config has an unusual format. Add the printed text to
GRUB_CMDLINE_LINUX_DEFAULTin/etc/default/gruband runsudo update-grub