2 source $prefix/keyboard.cfg.gz
4 submenu "Resolution Configuration" --class=debug_resolution {
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 VTOY_RUN_RET {
20 terminal_output console
22 terminal_output gfxterm
29 submenu "Screen Display Mode" --class=debug_screen_mode {
30 menuentry 'Force Text Mode' --class=debug_text_mode {
31 terminal_output console
33 menuentry 'Force Graphics Mode' --class=debug_gui_mode {
34 terminal_output gfxterm
36 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
41 if [ "$grub_platform" != "pc" ]; then
42 submenu 'Ventoy UEFI Utilities' --class=debug_util {
43 menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit {
44 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
46 echo -e "\npress ENTER to exit ..."
50 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
57 submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
58 menuentry 'Check global control plugin configuration' --class=debug_control {
60 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
62 echo -e "\npress ENTER to exit ..."
67 menuentry 'Check theme plugin configuration' --class=debug_theme {
69 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
71 echo -e "\npress ENTER to exit ..."
76 menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
78 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
80 echo -e "\npress ENTER to exit ..."
85 menuentry 'Check persistence plugin configuration' --class=debug_persistence {
87 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
89 echo -e "\n############### dump persistence ###############"
92 echo -e "\npress ENTER to exit ..."
97 menuentry 'Check menu alias plugin configuration' --class=debug_menualias {
99 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
101 echo -e "\npress ENTER to exit ..."
106 menuentry 'Check menu class plugin configuration' --class=debug_menuclass {
108 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
110 echo -e "\npress ENTER to exit ..."
115 menuentry 'Check injection plugin configuration' --class=debug_injection {
117 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
119 echo -e "\npress ENTER to exit ..."
124 menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk {
126 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
128 echo -e "\npress ENTER to exit ..."
133 menuentry 'Check image list plugin configuration' --class=debug_imagelist {
135 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
137 echo -e "\npress ENTER to exit ..."
142 menuentry 'Check image blacklist plugin configuration' --class=debug_imageblacklist {
144 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
146 echo -e "\npress ENTER to exit ..."
151 menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace {
153 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
155 echo -e "\npress ENTER to exit ..."
160 menuentry 'Check dud plugin configuration' --class=debug_dud {
162 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
164 echo -e "\npress ENTER to exit ..."
169 menuentry 'Check password plugin configuration' --class=debug_pwd {
171 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
173 echo -e "\npress ENTER to exit ..."
178 menuentry 'Check custom boot plugin configuration' --class=debug_custom_boot {
180 vt_check_plugin_json $vt_plugin_path custom_boot $vtoy_iso_part
182 echo -e "\npress ENTER to exit ..."
187 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
193 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {