Ventoy Forums
ventoy_grub.cfg usage - 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_grub.cfg usage (/showthread.php?tid=2465)

Pages: 1 2


ventoy_grub.cfg usage - balanga - 05-23-2023

I tried following:-

https://www.ventoy.net/en/plugin_grubmenu.html

but on booting up Ventoy I get:-

ventoy_grub.cfg NOT exist.

I have gone through the instructions five or six times but end up with the same result.

What am I missing?


RE: ventoy_grub.cfg usage - longpanda - 05-23-2023

Care about that the full file path /ventoy/ventoy_grub.cfg must be in lower case.


RE: ventoy_grub.cfg usage - Steve2926 - 05-23-2023

Are you using Windows Explorer and do you have 'Show Extensions' option enabled so you can see the file extension is .cfg and not .cfg.txt ???


RE: ventoy_grub.cfg usage - balanga - 05-24-2023

(05-23-2023, 02:50 PM)longpanda Wrote: Care about that the full file path /ventoy/ventoy_grub.cfg must be in lower case.

I have two partitions on a MBR drive, fat32 and exfat.

The fat32 partition contains EFI, grub, tool, ventoy directories among others

The exfat partition contains my ventoy_grub.cfg file which is a copy of the one in the example provided. This the directory I would normally store my ISOs.

When Ventoy loads and I press F6 it says ventoy_grub.cfg NOT exist.

I have tried this many times, including installing on different devices both configured as MBR and GPT.

It seems that i missing something fundamental here. If I try booting a normal ISO things work as they should.

(05-23-2023, 05:40 PM)Steve2926 Wrote: Are you using Windows Explorer and do you have 'Show Extensions' option enabled so you can see the file extension is  .cfg  and not .cfg.txt ???
I am using FreeBSD in text mode and can clearly see all filenames.


RE: ventoy_grub.cfg usage - Steve2926 - 05-24-2023

File should be /ventoy/ventoy_grub.cfg in large partition.


RE: ventoy_grub.cfg usage - nguyen ha thai trong - 05-24-2023

file ventoy_grub.cfg under ventoy directory in the first partition, that is /ventoy/ventoy_grub.cfg and that's all.


RE: ventoy_grub.cfg usage - balanga - 05-26-2023

(05-24-2023, 11:10 AM)nguyen ha thai trong Wrote: file ventoy_grub.cfg under ventoy directory in the first partition, that is /ventoy/ventoy_grub.cfg and that's all.
I didn't realise I needed to create a ventoy directory in the first partition. I'm not sure the instructions mention this.

I have it working now.

Is it possible to have ventoy_grub.cfg appear in the first menu without having to select F6?


RE: ventoy_grub.cfg usage - nguyen ha thai trong - 05-27-2023

  • Special 
    VTOY_DEFAULT_IMAGE
  •  Values
[*]You can use some special values for VTOY_DEFAULT_IMAGE.


Code:
VTOY_EXIT
[*]: Ventoy will exit after timeout.


Code:
Fn>xx>xx
[*]: Fn hotkey menu
{
    "control": [
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_IMAGE": "VTOY_EXIT" }
    ]
}


{
    "control": [
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_IMAGE": "F5>Power>Halt" }
    ]
}

{
    "control": [
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_IMAGE": "F4>Search and boot Windows" }
    ]
}

{
    "control": [
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_IMAGE": "F4>Boot the 1st local disk" }
    ]
}

{
    "control": [
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_IMAGE": "F5>Check plugin json configuration (ventoy.json)>Check theme plugin configuration" }
    ]
}



Full view here https://www.ventoy.net/en/plugin_control.html


RE: ventoy_grub.cfg usage - balanga - 06-01-2023

I have tried changing ventoy.json several times, but my changes get reverted on rebooting.


RE: ventoy_grub.cfg usage - nguyen ha thai trong - 06-01-2023

content ventoy.json
"control": [
        { "VTOY_DEFAULT_MENU_MODE": "1" },
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_IMAGE": "F6>" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" }       
    ],
.......