Professional Documents
Culture Documents
Plugin persistence Ventoy
Plugin persistence Ventoy
Main page Screenshot Downloads Document Tested ISO Ventoy Compatible Plugin FAQ Forums
Donation 中⽂
News
Ventoy Persistence Plugin
Ventoy News
Many distros (like Ubuntu/MX/LinuxMint ...) provide feature for persistence. This allows saving any changes you make to the
How to use
live system, so that they are still present the next time you boot to it. In normal case, we create a separate partition to do this
Get Started which is not so flexible.
Linux GUI -- GTK/QT
Now Ventoy brings a new feature here. You have no need to create any partition, no need to add persistent boot parameter.
Linux GUI -- WebUI
Just put a persistence data file in the 1st partition and tell Ventoy by the json configuration, and that's all.
Ventoy LiveCD
About Secure Boot You can put many different data files for different iso files at a time. You can also share a data file between different iso files
Memdisk Mode as long as it can be supported by the distros. Even you can specify more than one data files to an iso file, Ventoy will provide
TreeView Mode a menu to choose before boot.
IA32 UEFI Support
ARM64 UEFI Support 1. Supported Distros
MIPS64 UEFI Support
Ventoy Search Arch/Ubuntu and those distros based on them. Tested list: (Updating)
Configuration
About OpenWrt Distros Tested ISO Label Notes
About WIMBOOT Mode Arch Linux archlinux-2021.03.01-x86_64.iso vtoycow Arch/ArchMan/ArchBang/ArchLabs/BlackArch... are also
When Ventoy2Disk.exe supported.
Failed To Install
When Ventoy2Disk.exe Ubuntu ubuntu-20.04-desktop-amd64.iso casper-rw
Failed To Update MX Linux MX-19.1_x64.iso MX-Persist
About the Github CI
release LinuxMint linuxmint-19.3-xfce-64bit.iso casper-rw
About elementary OS elementaryos-5.1-stable.20200405.iso casper-rw
FydeOS/CloudReady
Inject files to Linux Live OS Zorin Zorin-OS-15.1-Core-64-bit-r2.iso casper-rw
Create by yourself
If you don't want to use the pre-created file and want to create it by yourself. I have provided a CreatePersistentImg.sh script here.
Download it and just run sudo sh CreatePersistentImg.sh in the linux shell, by default a persistence.dat file will be created with
size=1GB fs=ext4 label=casper-rw.
sh CreatePersistentImg.sh ----> persistence.dat in 1GB size and ext4 filesystem and casper-rw label
sh CreatePersistentImg.sh -l MX-Persist ----> persistence.dat in 1GB size and ext4 filesystem and MX-Persist label
sh CreatePersistentImg.sh -s 2048 ----> persistence.dat in 2GB size and ext4 filesystem and casper-rw label
sh CreatePersistentImg.sh -s 4096 -t xfs ----> persistence.dat in 4GB size and xfs filesystem (ext2/3/4 xfs are sup
sh CreatePersistentImg.sh -l persistence -c persistence.conf ----> persistence.dat in 1GB size and ext4 filesystem an
persistence.conf file inside the persistence.dat. The file only has 1 line "/ union". Some distros have this requiremen
1. When creating the image file and copy to USB, take care about the buffer. (use sync to flush the data to the disk)
2. Different distros use different Labels by default, for example ubuntu use casper-rw and MX Linux use MX-Persist, you can use -
l to set it
3. The backend image file must be put in the first partition. It can be in the root directory or any subdirectory.
4. Once you have made a backend image file, you can compress and save it as a template in your computer (very small after
compressed).
Sometimes, you may find that the persistence space is insufficient after a period of use.
Of course you can use a new bigger persistence dat file, but you need to backup and restore your old data.
Here I provide ExtendPersistentImg.sh script for you to nondestructively extend the persistent dat file. Just download and run it in a linux
shell as follows:
This case is not very common. Assume that you created a very big persistence dat file at first and want to nondestructively shrink it now.
You can give a negative number to ExtendPersistentImg.sh as follows:
1. Only dat file in ext4 filesystem is supported. XFS is not supported because XFS filesystem can not be nondestructively
shrinked.
2. You must make sure that after shrink the dat file can still hold all the files inside it.
When you boot an iso file with persistence config, a prompt will be shown. You can choose whether to use the persistence image and which
image to use for this time.
ventoy.net (website) Copyright © 2020-2021 longpanda Mail all comments and suggestions to longpanda admin@ventoy.net