You are not logged in.
Instructions to build Q4OS/Debian live bootable USB with persistence using Ventoy.
1. Create Ventoy bootable USB https://www.ventoy.net
2. Download Q4OS live media https://www.q4os.org/downloads1.html
3. Copy q4os-xx.iso live to the Ventoy USB drive according to the Ventoy instructions.
4. Create persistence image, run:
$ cd <path_to_ventoy_usb_rootfs>
$ dd if=/dev/zero of=persistence.img bs=1M count=4096
$ /sbin/mkfs.ext4 -L persistence persistence.img
5. Add persistence config inside the image:
Mount the file:
$ sudo mkdir /tmp/persist
$ sudo mount persistence.img /tmp/persist
Create config:
$ echo "/ union" | sudo tee /tmp/persist/persistence.conf
Unmount:
$ sudo umount /tmp/persist
6. Configure Ventoy. On the USB, create file "/ventoy/ventoy.json" with content:
{
"persistence": [
{
"image": "/q4os-xx.iso",
"backend": "/persistence.img"
}
]
}7. Final USB structure:
USB/
├── q4os-xx.iso
├── persistence.img
└── ventoy/
└── ventoy.json
8. Boot:
Boot from USB, Ventoy menu appears
Select q4os-xx.iso
Choose:
"Boot with persistence"
Offline
Great! ![]()
Offline