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 'Check password plugin configuration' --class=debug_pwd {
108 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
110 echo -e "\npress ENTER to exit ..."
115 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
121 submenu "Resolution Configuration" --class=debug_resolution {
122 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
126 vt_update_cur_video_mode VT_CUR_MODE
128 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
129 vt_get_video_mode $vdid vtCurMode
132 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
136 menuentry "$vtCurMode $vtActive" --class=debug_videomode VTOY_RUN_RET {
137 terminal_output console
139 terminal_output gfxterm
146 submenu "Screen Display Mode" --class=debug_screen_mode {
147 menuentry 'Force Text Mode' --class=debug_text_mode {
148 terminal_output console
150 menuentry 'Force Graphics Mode' --class=debug_gui_mode {
151 terminal_output gfxterm
153 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
158 if [ "$grub_platform" != "pc" ]; then
159 submenu 'Ventoy UEFI Utilities' --class=debug_util {
160 menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit {
161 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
163 echo -e "\npress ENTER to exit ..."
167 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
173 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {