2 source $prefix/power.cfg
3 source $prefix/hwinfo.cfg
4 source $prefix/keyboard.cfg
6 submenu "Resolution Configuration" --class=debug_resolution --class=F5tool {
7 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
11 vt_update_cur_video_mode VT_CUR_MODE
13 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
14 vt_get_video_mode $vdid vtCurMode
17 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
21 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
22 terminal_output console
24 terminal_output gfxterm
31 submenu "Screen Display Mode" --class=debug_screen_mode --class=F5tool {
32 menuentry 'Force Text Mode' --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
33 terminal_output console
35 menuentry 'Force Graphics Mode' --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
36 terminal_output gfxterm
38 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
43 if [ $VTOY_THEME_COUNT -gt 1 ]; then
44 submenu "Theme Select" --class=debug_theme_select --class=F5tool {
49 if [ "$grub_platform" != "pc" ]; then
50 submenu 'Ventoy UEFI Utilities' --class=debug_util --class=F5tool {
51 menuentry 'Show EFI Drivers' --class=debug_util_efidrv --class=debug_util --class=F5tool {
53 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
56 echo -e "\npress ENTER to exit ..."
60 menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit --class=debug_util --class=F5tool {
61 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
63 echo -e "\npress ENTER to exit ..."
67 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
74 submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json --class=F5tool {
75 menuentry 'Check global control plugin configuration' --class=debug_control --class=debug_json --class=F5tool {
77 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
79 echo -e "\npress ENTER to exit ..."
84 menuentry 'Check theme plugin configuration' --class=debug_theme --class=debug_json --class=F5tool {
86 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
88 echo -e "\npress ENTER to exit ..."
93 menuentry 'Check auto install plugin configuration' --class=debug_autoinstall --class=debug_json --class=F5tool {
95 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
97 echo -e "\npress ENTER to exit ..."
102 menuentry 'Check persistence plugin configuration' --class=debug_persistence --class=debug_json --class=F5tool {
104 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
106 echo -e "\n############### dump persistence ###############"
109 echo -e "\npress ENTER to exit ..."
114 menuentry 'Check menu alias plugin configuration' --class=debug_menualias --class=debug_json --class=F5tool {
116 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
118 echo -e "\npress ENTER to exit ..."
123 menuentry 'Check menu tip plugin configuration' --class=debug_menutip --class=debug_json --class=F5tool {
125 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
127 echo -e "\npress ENTER to exit ..."
132 menuentry 'Check menu class plugin configuration' --class=debug_menuclass --class=debug_json --class=F5tool {
134 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
136 echo -e "\npress ENTER to exit ..."
141 menuentry 'Check injection plugin configuration' --class=debug_injection --class=debug_json --class=F5tool {
143 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
145 echo -e "\npress ENTER to exit ..."
150 menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk --class=debug_json --class=F5tool {
152 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
154 echo -e "\npress ENTER to exit ..."
159 menuentry 'Check image list plugin configuration' --class=debug_imagelist --class=debug_json --class=F5tool {
161 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
163 echo -e "\npress ENTER to exit ..."
168 menuentry 'Check image blacklist plugin configuration' --class=debug_imageblacklist --class=debug_json --class=F5tool {
170 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
172 echo -e "\npress ENTER to exit ..."
177 menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace --class=debug_json --class=F5tool {
179 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
181 echo -e "\npress ENTER to exit ..."
186 menuentry 'Check dud plugin configuration' --class=debug_dud --class=debug_json --class=F5tool {
188 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
190 echo -e "\npress ENTER to exit ..."
195 menuentry 'Check password plugin configuration' --class=debug_pwd --class=debug_json --class=F5tool {
197 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
199 echo -e "\npress ENTER to exit ..."
204 menuentry 'Check custom boot plugin configuration' --class=debug_custom_boot --class=debug_json --class=F5tool {
206 vt_check_plugin_json $vt_plugin_path custom_boot $vtoy_iso_part
208 echo -e "\npress ENTER to exit ..."
213 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
219 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {