2 source $prefix/keyboard.cfg
4 submenu "Resolution Configuration" --class=debug_resolution --class=F5tool {
5 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
9 vt_update_cur_video_mode VT_CUR_MODE
11 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
12 vt_get_video_mode $vdid vtCurMode
15 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
19 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
20 terminal_output console
22 terminal_output gfxterm
29 submenu "Screen Display Mode" --class=debug_screen_mode --class=F5tool {
30 menuentry 'Force Text Mode' --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
31 terminal_output console
33 menuentry 'Force Graphics Mode' --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
34 terminal_output gfxterm
36 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
41 if [ $VTOY_THEME_COUNT -gt 1 ]; then
42 submenu "Theme Select" --class=debug_theme_select --class=F5tool {
47 if [ "$grub_platform" != "pc" ]; then
48 submenu 'Ventoy UEFI Utilities' --class=debug_util --class=F5tool {
49 menuentry 'Show EFI Drivers' --class=debug_util_efidrv --class=debug_util --class=F5tool {
51 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
54 echo -e "\npress ENTER to exit ..."
58 menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit --class=debug_util --class=F5tool {
59 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
61 echo -e "\npress ENTER to exit ..."
65 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
72 submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json --class=F5tool {
73 menuentry 'Check global control plugin configuration' --class=debug_control --class=debug_json --class=F5tool {
75 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
77 echo -e "\npress ENTER to exit ..."
82 menuentry 'Check theme plugin configuration' --class=debug_theme --class=debug_json --class=F5tool {
84 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
86 echo -e "\npress ENTER to exit ..."
91 menuentry 'Check auto install plugin configuration' --class=debug_autoinstall --class=debug_json --class=F5tool {
93 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
95 echo -e "\npress ENTER to exit ..."
100 menuentry 'Check persistence plugin configuration' --class=debug_persistence --class=debug_json --class=F5tool {
102 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
104 echo -e "\n############### dump persistence ###############"
107 echo -e "\npress ENTER to exit ..."
112 menuentry 'Check menu alias plugin configuration' --class=debug_menualias --class=debug_json --class=F5tool {
114 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
116 echo -e "\npress ENTER to exit ..."
121 menuentry 'Check menu tip plugin configuration' --class=debug_menutip --class=debug_json --class=F5tool {
123 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
125 echo -e "\npress ENTER to exit ..."
130 menuentry 'Check menu class plugin configuration' --class=debug_menuclass --class=debug_json --class=F5tool {
132 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
134 echo -e "\npress ENTER to exit ..."
139 menuentry 'Check injection plugin configuration' --class=debug_injection --class=debug_json --class=F5tool {
141 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
143 echo -e "\npress ENTER to exit ..."
148 menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk --class=debug_json --class=F5tool {
150 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
152 echo -e "\npress ENTER to exit ..."
157 menuentry 'Check image list plugin configuration' --class=debug_imagelist --class=debug_json --class=F5tool {
159 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
161 echo -e "\npress ENTER to exit ..."
166 menuentry 'Check image blacklist plugin configuration' --class=debug_imageblacklist --class=debug_json --class=F5tool {
168 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
170 echo -e "\npress ENTER to exit ..."
175 menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace --class=debug_json --class=F5tool {
177 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
179 echo -e "\npress ENTER to exit ..."
184 menuentry 'Check dud plugin configuration' --class=debug_dud --class=debug_json --class=F5tool {
186 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
188 echo -e "\npress ENTER to exit ..."
193 menuentry 'Check password plugin configuration' --class=debug_pwd --class=debug_json --class=F5tool {
195 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
197 echo -e "\npress ENTER to exit ..."
202 menuentry 'Check custom boot plugin configuration' --class=debug_custom_boot --class=debug_json --class=F5tool {
204 vt_check_plugin_json $vt_plugin_path custom_boot $vtoy_iso_part
206 echo -e "\npress ENTER to exit ..."
211 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
217 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {