2 source $prefix/power.cfg
3 source $prefix/keyboard.cfg
5 submenu "Resolution Configuration" --class=debug_resolution --class=F5tool {
6 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
10 vt_update_cur_video_mode VT_CUR_MODE
12 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
13 vt_get_video_mode $vdid vtCurMode
16 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
20 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
21 terminal_output console
23 terminal_output gfxterm
30 submenu "Screen Display Mode" --class=debug_screen_mode --class=F5tool {
31 menuentry 'Force Text Mode' --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
32 terminal_output console
34 menuentry 'Force Graphics Mode' --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
35 terminal_output gfxterm
37 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
42 if [ $VTOY_THEME_COUNT -gt 1 ]; then
43 submenu "Theme Select" --class=debug_theme_select --class=F5tool {
48 if [ "$grub_platform" != "pc" ]; then
49 submenu 'Ventoy UEFI Utilities' --class=debug_util --class=F5tool {
50 menuentry 'Show EFI Drivers' --class=debug_util_efidrv --class=debug_util --class=F5tool {
52 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
55 echo -e "\npress ENTER to exit ..."
59 menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit --class=debug_util --class=F5tool {
60 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
62 echo -e "\npress ENTER to exit ..."
66 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
73 submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json --class=F5tool {
74 menuentry 'Check global control plugin configuration' --class=debug_control --class=debug_json --class=F5tool {
76 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
78 echo -e "\npress ENTER to exit ..."
83 menuentry 'Check theme plugin configuration' --class=debug_theme --class=debug_json --class=F5tool {
85 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
87 echo -e "\npress ENTER to exit ..."
92 menuentry 'Check auto install plugin configuration' --class=debug_autoinstall --class=debug_json --class=F5tool {
94 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
96 echo -e "\npress ENTER to exit ..."
101 menuentry 'Check persistence plugin configuration' --class=debug_persistence --class=debug_json --class=F5tool {
103 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
105 echo -e "\n############### dump persistence ###############"
108 echo -e "\npress ENTER to exit ..."
113 menuentry 'Check menu alias plugin configuration' --class=debug_menualias --class=debug_json --class=F5tool {
115 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
117 echo -e "\npress ENTER to exit ..."
122 menuentry 'Check menu tip plugin configuration' --class=debug_menutip --class=debug_json --class=F5tool {
124 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
126 echo -e "\npress ENTER to exit ..."
131 menuentry 'Check menu class plugin configuration' --class=debug_menuclass --class=debug_json --class=F5tool {
133 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
135 echo -e "\npress ENTER to exit ..."
140 menuentry 'Check injection plugin configuration' --class=debug_injection --class=debug_json --class=F5tool {
142 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
144 echo -e "\npress ENTER to exit ..."
149 menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk --class=debug_json --class=F5tool {
151 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
153 echo -e "\npress ENTER to exit ..."
158 menuentry 'Check image list plugin configuration' --class=debug_imagelist --class=debug_json --class=F5tool {
160 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
162 echo -e "\npress ENTER to exit ..."
167 menuentry 'Check image blacklist plugin configuration' --class=debug_imageblacklist --class=debug_json --class=F5tool {
169 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
171 echo -e "\npress ENTER to exit ..."
176 menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace --class=debug_json --class=F5tool {
178 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
180 echo -e "\npress ENTER to exit ..."
185 menuentry 'Check dud plugin configuration' --class=debug_dud --class=debug_json --class=F5tool {
187 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
189 echo -e "\npress ENTER to exit ..."
194 menuentry 'Check password plugin configuration' --class=debug_pwd --class=debug_json --class=F5tool {
196 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
198 echo -e "\npress ENTER to exit ..."
203 menuentry 'Check custom boot plugin configuration' --class=debug_custom_boot --class=debug_json --class=F5tool {
205 vt_check_plugin_json $vt_plugin_path custom_boot $vtoy_iso_part
207 echo -e "\npress ENTER to exit ..."
212 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
218 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {