Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

[issue]: Won't boot with Persistent storage, boot errors. Debian based ISOs

Open PotatoNut opened this issue 2 years ago • 3 comments

Official FAQ

  • [X] I have checked the official FAQ.

Ventoy Version

1.0.78

What about latest release

Yes. I have tried the latest release, but the bug still exist.

BIOS Mode

Legacy BIOS Mode

Partition Style

MBR

Disk Capacity

32 gb

Disk Manufacturer

Adata

Image file checksum (if applicable)

No.

Image file download link (if applicable)

No response

What happened?

Greetings everyone. I'm trying to make persistent storage to work from a while. In older Ventoy versions I could boot, but I couldn't persist any file. In the latest version I have used the VentoyPlugson.sh GUI to do this. I downloaded the pre-made persistence file from (https://github.com/ventoy/backend/releases/tag/v5.0) I have tried the "persistence_legacy", even that I'm not sure if I have to on my old BIOS type. Regular persistence also doesn't work. The distro tested are : Ubunto 22.04 Pop_os 22.04 ZorinOS_lite 16 All of them boot fine without the persistence.

Json: { "theme":{ "gfxmode": "1440x900" }, "persistence_legacy":[ { "image": "/ventoy/Boot_ISO/ubuntu-22.04-desktop-amd64.iso", "backend":[ "/ventoy/persistence_ext4_1GB_casper-rw.dat" ] } ] }

Other issues: During boot, the splash screen with display many failed to start demons, Network Manager, Display Manager, Snap Services etc.This doesn't happen when persistence is not selected. Even if GUI is reached, the PC is unresponsive and slow. I have tried to move everything in the lower cap "ventoy" folder. Json file is there too as it should be.

PotatoNut avatar Jul 02 '22 20:07 PotatoNut

  1. Copy your ISO file and dat file to your local HDD (e.g. D:\ubuntu-22.04-desktop-amd64.iso and D:\persistence_ext4_1GB_casper-rw.dat
  2. Use VentoyVlnk.exe to create two vlnk files and copy the two vlnk files to the Ventoy USB. (e.g. /ventoy/ubuntu-22.04-desktop-amd64.vlnk.iso and /ventoy/persistence_ext4_1GB_casper-rw.vlnk.dat
  3. Set ventoy.json as follows:
{
    "theme":{
        "gfxmode":"1440x900"
    },
    "persistence_legacy":[
        {
            "image":"/ventoy/ubuntu-22.04-desktop-amd64.vlnk.iso",
            "backend":[
                "/ventoy/persistence_ext4_1GB_casper-rw.vlnk.dat"
            ]
        }
    ]
}
  1. Reboot your computer and boot ubuntu-22.04-desktop-amd64.vlnk.iso from Ventoy menu.

This way we put the ISO file and the dat file in your local disk. If it boot and work fine in this way, then it's may be something about your USB (e.g. too slow).

ventoy avatar Jul 12 '22 12:07 ventoy

Hi there, I tried to follow your advice. I'm on linux, so I use VentoyVlink.sh. When I run the script both against the ISO and the persistance. dat, I get the same message: LVM/DM is not supported! /sys/class/block/dm-0/start not exist!

I'm also trying to get Zorin persistance working.

Thanks!

jcvignoli avatar Aug 05 '22 15:08 jcvignoli

@ventoy Thanks for the response. I didn't tried the HDD way, but I manage to run Bodhi 6.0 by creating the persistent file with the included script and it worked. Maybe there is a flaw with the flash storage or doesn't work with larger images.

PotatoNut avatar Aug 05 '22 15:08 PotatoNut