Ventoy Forums
[SOLVED] Persistence with Ventoy 1.29 and Mint 20 - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: [SOLVED] Persistence with Ventoy 1.29 and Mint 20 (/showthread.php?tid=1487)



[SOLVED] Persistence with Ventoy 1.29 and Mint 20 - SmackDown - 12-22-2020

I successfully had persistence working with an earlier version of ventoy and Mint 20 but now with Ventoy 1.29 it does not seem to work .
Here is my json file. If I check under tools using the F5 key on boot it says persistence is working but files do not seem to persist after a reboot
Code:
{
    "persistence" : [
       
        {
            "image": "/ISO/linuxmint-20-cinnamon-64bit.iso",
            "backend": "/Persistence/Mint-Persist.dat",
            "autosel": 1
        }
    ]
}



RE: Persistence with Ventoy 1.29 and Mint 20 - longpanda - 12-23-2020

Please do some Comparison test.
For example:
1. update to 1.0.30 and test
2. update to 1.0.25 (? your old version) and test.
3. update to 1.0.29 and test
4. re-create a new persistence.dat file and test


RE: Persistence with Ventoy 1.29 and Mint 20 - SmackDown - 12-23-2020

Code:
$ sudo sh CreatePersistentImg.sh -l Mint-Persist.dat
[sudo] password for david:         
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.96581 s, 546 MB/s
mke2fs 1.45.5 (07-Jan-2020)
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: cc5ff620-fc0b-4c4d-a1b9-14c8855698a9
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376

Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
OK I have tried all the steps except updating to 1.0.30. I know assurances have made that there is no malware in it despite malware showing up on Virus Total but I need to be certain.

When I recreate the dat file which I labelled Mint-Persist.dat the file is not renamed but remains persistence.dat. I manually named it. Is that a mistake on my part?


RE: Persistence with Ventoy 1.29 and Mint 20 - longpanda - 12-23-2020

You confuse two concepts. One is persistence file name,  another is the label of the filesystem inside the persistence file.
The file name of the persistence file doesn't matter, you can rename it to xxx.dat  abc.dat  123.dat ......

But the label of the filesystem inside the persistence file is very important and MUST be set as noted in the table here: https://www.ventoy.net/en/plugin_persistence.html

So the persistence dat file created by you is invalid and can NOT be used by Linux-Mint.
You should create as follows (without -l option or with -l casper-rw option):  

Code:
sudo sh CreatePersistentImg.sh
sudo sh CreatePersistentImg.sh -l casper-rw

casper-rw is the only valid label for linux-mint.


RE: Persistence with Ventoy 1.29 and Mint 20 - SmackDown - 12-23-2020

Thank you for your help. It's working fine now Smile