Ventoy Forums
Adding a reboot 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: Adding a reboot menu (/showthread.php?tid=3017)



Adding a reboot menu - eduard - 02-09-2025

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


RE: Adding a reboot menu - Steve2926 - 02-11-2025

Use F6 and add your own menu


RE: Adding a reboot menu - eduard - 02-17-2025

(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.


RE: Adding a reboot menu - Steve2926 - 02-20-2025

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 ?