06-13-2020, 02:19 AM
(06-12-2020, 09:13 PM)KaMyKaSii Wrote: Hello friends. I decided to try persistent mode today and managed to make it work. The problem? In the documentation there is a blank space between "persistence" and : which should not exist. Here is my current ventoy.json:
Code:{
"control": [
{ "VTOY_DEFAULT_MENU_MODE": "1" },
{ "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },
{ "VTOY_DEFAULT_SEARCH_ROOT": "/ISOs" }
],
"persistence": [
{
"image": "/ISOs/linuxmint-19.3-cinnamon-64bit.iso",
"backend": [
"/ISOs/Persistence/mintsparse.img",
"/ISOs/Persistence/mintfull.img"
]
},
{
"image": "/ISOs/kali-linux-2020-W24-live-amd64.iso",
"backend": [
"/ISOs/Persistence/kalisparse.img",
"/ISOs/Persistence/kalifull.img"
]
}
]
}
I recommend that you use a good text editor that uses unix line-ending for greater compatibility. The images I created using the script provided by the Ventoy dev.
@longpanda before using your script to make the images, I tried to use GNOME Disks because it has a GUI. The images it creates are sparse images and unfortunately the command "vt_dump_persistence" returns "FAILED" for these images, that's what you referred to in the doc with "When creating the image file and copy to USB, take care about the buffer. (can use sync to flush the data to the disk)"? Why are sparse images not accepted?
The dev needs to update their example to correct this as I've been trying to figure out why persistence was not working on the Manjaro KDE iso when I had a file allocated to it. Thanks for posting this!