06-02-2020, 03:12 PM
(06-02-2020, 12:43 PM)captain-sensible Wrote:(06-01-2020, 02:35 PM)longpanda Wrote: When you in ventoy boot menu, press c to enter grub shell and run vt_dump_persistence and help to send me the output.
i mounted persisitence.img
losetup /dev/loop0 persistence.img
i get : bash-5.0# lsblk -f /dev/loop0
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 ext4 casper-rw 54a35dfa-1bb3-4f28-bbde-ef2cab798445
bash-5.0#
iso boots using new release from grub i get , see image
basically i can get grub options and an output for vt_dump_menu but nothing for vt_dump_persistence
If vt_dump_persistence print nothing, that means there is some error in ventoy.json (syntax error or file path error).
You can use some online tool like http://json.parser.online.fr or http://json.cn/
just copy the json context to the left and see the right whether there is some syntax error.
For your ventoy.json
{
"control": [
{ "VTOY_DEFAULT_MENU_MODE": "1" },
{ "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },
{ "VTOY_DEFAULT_SEARCH_ROOT": "/ISO/" }
] <---------- here miss a comma
"persistence" : [
{
"image": "/ISO/linuxmint-19.3-xfce-64bit.iso",
"backend": "persistence.img"
}
], <---------- There shouldn't be a comma here
}