You are not logged in.

#1 2026-04-03 17:04

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 6,110
Website

Q4OS live bootable USB with persistence

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

#2 2026-04-11 17:01

Midas
Member
Registered: 2017-12-15
Posts: 263

Re: Q4OS live bootable USB with persistence

Great! cool

Offline

Board footer

Powered by FluxBB