Ventoy Forums
[SOLVED] Loading .iso directly without loading the boot menu. - 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: [SOLVED] Loading .iso directly without loading the boot menu. (/showthread.php?tid=1820)



[SOLVED] Loading .iso directly without loading the boot menu. - BKPB - 10-03-2021

I have only one image on my USB drive Windows_7.iso how to create a vento script.json to automatically load the image.iso without displaying the ventoy boot menu ?
Code:
{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "0" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },
        { "VTOY_TREE_VIEW_MENU_STYLE": "0" },
        { "VTOY_SORT_CASE_SENSITIVE": "0" },
        { "VTOY_MAX_SEARCH_LEVEL": "max" },
        { "VTOY_DEFAULT_SEARCH_ROOT": "/ISO" },
        { "VTOY_MENU_TIMEOUT": "0" },
        { "VTOY_DEFAULT_IMAGE": "/Windows_7_Pro_x86_x64_11.08.2021.iso" }
    ],
   
    "theme": {
        "file": "/ventoy/theme/theme.txt",
        "gfxmode": "1920x1080",       
        "display_mode": "GUI",
        "ventoy_left": "5%",
        "ventoy_top": "95%",
        "ventoy_color": "#191919"
    },
   
   "image_list": [
        "/Windows_7_Pro_x86_x64_11.08.2021.iso"
    ]
}



RE: Loading .iso directly without loading the boot menu. - Steve2926 - 10-03-2021

You can set a default ISO and a default timeout. So make the timeout very small.


RE: Loading .iso directly without loading the boot menu. - BKPB - 10-03-2021

I need exactly autorun skipping the boot menu. If possible.

I don't know how to create it correctly. I'll wait for the author's help. Perhaps there is such a command.


RE: Loading .iso directly without loading the boot menu. - zeit - 10-03-2021

(10-03-2021, 12:05 PM)Steve2926 Wrote: You can set a default ISO and a default timeout. So make the timeout very small.
There you will find the answer:https://www.ventoy.net/en/plugin_control.html


RE: Loading .iso directly without loading the boot menu. - BKPB - 10-03-2021

Thank you for your answers, but I need specific help to create the right scenario.
Loading in a circle.
Code:
{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "0" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },
        { "VTOY_SORT_CASE_SENSITIVE": "0" },
        { "VTOY_MAX_SEARCH_LEVEL": "0" },
        { "VTOY_DEFAULT_SEARCH_ROOT": "/ISO" },
        { "VTOY_MENU_TIMEOUT": "0" },
        { "VTOY_DEFAULT_IMAGE": "/Windows_7_Pro_x86_x64_11.08.2021.iso" }
    ],
   
    "theme": {
        "file": "/ventoy/theme/theme.txt",
        "gfxmode": "1920x1080",       
        "display_mode": "GUI",
        "ventoy_left": "5%",
        "ventoy_top": "95%",
        "ventoy_color": "#191919"
    },
   
   "image_list": [
        "/Windows_7_Pro_x86_x64_11.08.2021.iso"
    ]
}

I don't know if I did it right or not, but it worked.

Code:
{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "0" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },
        { "VTOY_SORT_CASE_SENSITIVE": "0" },
        { "VTOY_MAX_SEARCH_LEVEL": "0" },
        { "VTOY_MENU_TIMEOUT": "0" },
        { "VTOY_DEFAULT_IMAGE": "/Windows_7_Pro_x86_x64_11.08.2021.iso" }
    ],
   
    "theme": {
        "file": "/ventoy/theme/theme.txt",
        "gfxmode": "1920x1080",       
        "display_mode": "GUI",
        "ventoy_left": "5%",
        "ventoy_top": "95%",
        "ventoy_color": "#191919"
    },
   
   "image_list": [
        "/Windows_7_Pro_x86_x64_11.08.2021.iso"
    ]
}

zeit
Thanks for the tip.


Dear author of the program, confirm that I did everything correctly and there are no extra lines in the script.