Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] persistence difficulty
#15
(06-13-2020, 02:19 AM)famewolf Wrote:
(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!

Hi, All,

Well, I followed the suggestion and fixed the spaces. Here's my ventoy.json file.

Code:
{
    "persistence": [
        {
            "image":"lmde-4-cinnamon-64bit.iso",
            "backend":"persistence.img"
        }
    ]
}


I tried placing the files (.iso and .img) in different places and finally in the root. Nothing worked.

Any help would be appreciated.

TIA!
Reply


Messages In This Thread
RE: persistence difficulty - by longpanda - 05-31-2020, 02:15 PM
RE: persistence difficulty - by captain-sensible - 06-01-2020, 10:11 AM
RE: persistence difficulty - by longpanda - 06-01-2020, 11:06 AM
RE: persistence difficulty - by captain-sensible - 06-01-2020, 02:07 PM
RE: persistence difficulty - by longpanda - 06-01-2020, 02:35 PM
RE: persistence difficulty - by captain-sensible - 06-02-2020, 12:43 PM
RE: persistence difficulty - by longpanda - 06-02-2020, 03:12 PM
RE: persistence difficulty - by ireal - 06-04-2020, 12:13 PM
RE: persistence difficulty - by dd40053 - 06-10-2020, 10:41 AM
RE: persistence difficulty - by captain-sensible - 06-10-2020, 08:03 PM
RE: persistence difficulty - by richb01 - 06-11-2020, 11:15 PM
RE: persistence difficulty - by KaMyKaSii - 06-12-2020, 09:13 PM
RE: persistence difficulty - by famewolf - 06-13-2020, 02:19 AM
RE: persistence difficulty - by richb01 - 06-14-2020, 04:00 PM
RE: persistence difficulty - by KaMyKaSii - 06-14-2020, 04:11 PM
RE: persistence difficulty - by longpanda - 06-15-2020, 02:44 AM
RE: persistence difficulty [solved] - by famewolf - 06-18-2020, 02:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)