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 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
103 submenu "Resolution Configuration" --class=debug_resolution {
104 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
108 vt_update_cur_video_mode VT_CUR_MODE
110 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
111 vt_get_video_mode $vdid vtCurMode
114 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
118 menuentry "$vtCurMode $vtActive" --class=debug_videomode VTOY_RUN_RET {
119 terminal_output console
121 terminal_output gfxterm
128 submenu "Screen Display Mode" --class=debug_screen_mode {
129 menuentry 'Force Text Mode' --class=debug_text_mode {
130 terminal_output console
132 menuentry 'Force Graphics Mode' --class=debug_gui_mode {
133 terminal_output gfxterm
135 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
140 if [ "$grub_platform" != "pc" ]; then
141 submenu 'Ventoy UEFI Utilities' --class=debug_util {
142 menuentry 'Fixup Windows BlinitializeLibrary Failure' {
143 chainloader ${vtoy_path}/vtoyutil_x64.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
145 echo -e "\npress ENTER to exit ..."
149 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
155 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {