3 submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
4 menuentry 'Check global control plugin configuration' --class=debug_control {
6 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
8 echo -e "\npress ENTER to exit ..."
13 menuentry 'Check theme plugin configuration' --class=debug_theme {
15 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
17 echo -e "\npress ENTER to exit ..."
22 menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
24 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
26 echo -e "\npress ENTER to exit ..."
31 menuentry 'Check persistence plugin configuration' --class=debug_persistence {
33 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
35 echo -e "\n############### dump persistence ###############"
38 echo -e "\npress ENTER to exit ..."
43 menuentry 'Check menu alias plugin configuration' --class=debug_menualias {
45 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
47 echo -e "\npress ENTER to exit ..."
52 menuentry 'Check menu class plugin configuration' --class=debug_menuclass {
54 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
56 echo -e "\npress ENTER to exit ..."
61 menuentry 'Check injection plugin configuration' --class=debug_injection {
63 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
65 echo -e "\npress ENTER to exit ..."
70 menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk {
72 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
74 echo -e "\npress ENTER to exit ..."
79 menuentry 'Check image list plugin configuration' --class=debug_imagelist {
81 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
83 echo -e "\npress ENTER to exit ..."
88 menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace {
90 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
92 echo -e "\npress ENTER to exit ..."
97 menuentry 'Check dud plugin configuration' --class=debug_dud {
99 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
101 echo -e "\npress ENTER to exit ..."
106 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
112 submenu "Resolution Configuration" --class=debug_resolution {
113 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
117 vt_update_cur_video_mode VT_CUR_MODE
119 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
120 vt_get_video_mode $vdid vtCurMode
123 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
127 menuentry "$vtCurMode $vtActive" --class=debug_videomode VTOY_RUN_RET {
128 terminal_output console
130 terminal_output gfxterm
137 submenu "Screen Display Mode" --class=debug_screen_mode {
138 menuentry 'Force Text Mode' --class=debug_text_mode {
139 terminal_output console
141 menuentry 'Force Graphics Mode' --class=debug_gui_mode {
142 terminal_output gfxterm
144 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
149 if [ "$grub_platform" != "pc" ]; then
150 submenu 'Ventoy UEFI Utilities' --class=debug_util {
151 menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit {
152 chainloader ${vtoy_path}/vtoyutil_x64.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
154 echo -e "\npress ENTER to exit ..."
158 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
164 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {