Ventoy Forums

Full Version: Adding a reboot menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good afternoon,

I want to add additional menus (like in grub 4 dos) :reboot,halt in main menu(ventoy.json).
Help me write the code for this. thank you.
It's faster to flip the toggle switch on an extension cord than it is "f5>power>halt>"
Did not find this function in VentoyPlugson.

GrubDos4:
Code:
title __________Reset!__________
reboot

title __________Shoutdown!______
halt
kind of like this:
Code:
menuentry "Reset" --class=custom {
    echo ' Reset '
    reboot  
}
photo menu
Use F6 and add your own menu
(02-11-2025, 12:52 PM)Steve2926 Wrote: [ -> ]Use F6 and add your own menu
It appears, in the file(ventoy.json) itself can not be prescribed new sections (menu items).This is disappointing.
You can make F6 do just one function by not using menuentry, just put in the command in the .cfg file - e.g.

reboot

and then when you press F6 it will reboot.
If you like to make your own menus, etc. you can try easy2boot ?