Ventoy Persistence has become discouraging. What have I done wrong.? - 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: Ventoy Persistence has become discouraging. What have I done wrong.? (/showthread.php?tid=379) Pages:
1
2
|
Ventoy Persistence has become discouraging. What have I done wrong.? - Resistor - 07-16-2020 If I fail to properly format this post, it can also be seen on Linux Mint forums: https://forums.linuxmint.com/viewtopic.php?f=46&t=325131 I think I went astray following someone's mistakes on another website. I deleted that link. Now, I am at a loss after playing with this off and on, for about 2 weeks. Ventoy Installs and Boots fine, whether the Partition Table is msdos or GPT. I finally found the -g option and it is now on a GPT Partition Table, Formatted as ext4. I am at a loss after trying different things, including reinstalling a couple of times. No Persistence option in the menu. No Persistence in settings on re-boot. Ventoy_File_Structure_2020-07-12 Ventoy_Partition_Format_2020-07-12: Previous Mount Difference: Current Code: Select all Code: VTOYEFI mounted as fat16 on /dev/sdb2 /media/gt/VTOYEFI Current Content in: ventoy.json Code: Select all Code: # ventoy.json Previous Content ventoy.json Code: Select all Code: # ventoy.json RE: Ventoy Persistence has become discouraging. What have I done wrong.? - longpanda - 07-17-2020 I can't see the photo in the link. You can press F5 in Ventoy boot menu and check the json configuration for persistence and see the result. Take care about that: ventoy mounted as ext4 on /dev/sdb1 /mnt/gt/ventoy The ventoy.json should under a ventoy directory, so the full path may be /mnt/gt/ventoy/ventoy/ventoy.json RE: Ventoy Persistence has become discouraging. What have I done wrong.? - renatofrota - 07-17-2020 The problem is apparently the existence of empty lines and trailing spaces. This should work: Code: { Tip: you can validate your json syntax by pressing F5 in Ventoy screen. RE: Ventoy Persistence has become discouraging. What have I done wrong.? - Resistor - 07-18-2020 Thank you, longpanda and renatofrota. I can't tell you how encouraging this is. I'll be trying these fixes in the next day or 2, and will report the result. Looking forward to replacing MultiSystem with Ventoy. RE: Ventoy Persistence has become discouraging. What have I done wrong.? - GCMartin - 07-18-2020 Correct me if I am wrong, but isn't Persistence stated to ONLY work on some filesystems with ExFAT NOT being one of them? Found this in the last paragraph here FYI RE: Ventoy Persistence has become discouraging. What have I done wrong.? - longpanda - 07-19-2020 ExFAT also OK. You can use F5 debug to check the persistence config and show me the photo. RE: Ventoy Persistence has become discouraging. What have I done wrong.? - Resistor - 07-19-2020 I made a change and fixed empty lines and trailing spaces. The menu shows Mint 20 and LMDE-4. No persistence options indicated. The file path looks proper. Code: /dev/sdb2 7D22-F13A Code: /dev/sdb1 ventoy Directory looks correct as the example suggested: Code: /mnt/gt/ventoy/ventoy/ventoy.json Properties shows: Code: /mnt/gt/ventoy On re-boot, F5 gives a syntax error message. I removed the space from the top line: #ventoy.json I'll be back after a reboot with the current .json file: Code: #ventoy.json Just rebooted. F5 shows an error message, more or less like this: Quote:############## Syntax errors... ############## That error message may be the same as before, but I can not say for sure. So, where could the problem be? RE: Ventoy Persistence has become discouraging. What have I done wrong.? - longpanda - 07-19-2020 You can use some online tool to check the syntax of the ventoy.json. For example http://json.parser.online.fr This is the correct format: Code: { RE: Ventoy Persistence has become discouraging. What have I done wrong.? - Resistor - 07-19-2020 I just checked again. F5 shows an error message: Quote:############## Dump Persistence ############## I'll have to return later to check the syntax tool. Thank you. RE: Ventoy Persistence has become discouraging. What have I done wrong.? - Resistor - 07-19-2020 Result of checking the syntax shows the following: Quote:SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 6 column 13 of the JSON data Quote:"autosel": 1seemed to be on a separate line, but I removed it, anyway. Now rebooting to test... Result of checking the syntax shows the following: Quote:SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 6 column 13 of the JSON data Quote:"autosel": 1seemed to be on a separate line, but I removed it, anyway. Rebooting failed the test... Quote:#ventoy.json Parser shows the following: Quote:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataSo, commenting out the top line is the screw up. Now going to test it... without the commented out file name. Result of checking the syntax shows the following: SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 6 column 13 of the JSON data "backend":"/persistence.img""autosel": 1 }, "autosel": 1 seemed to be on a seperate line, but I removed it, anyway. Now rebooting to test... Conclusion: Persistentence Failure is a Fatal Flaw as my system is configured. Maybe the file system, uEFI, who knows.... I give up. Thanks for you help. |