]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/debug.cfg
1.0.28 release
[Ventoy.git] / INSTALL / grub / debug.cfg
1
2
3 submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
4 menuentry 'Check global control plugin configuration' --class=debug_control {
5 set pager=1
6 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
7
8 echo -e "\npress ENTER to exit ..."
9 read vtInputKey
10 unset pager
11 }
12
13 menuentry 'Check theme plugin configuration' --class=debug_theme {
14 set pager=1
15 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
16
17 echo -e "\npress ENTER to exit ..."
18 read vtInputKey
19 unset pager
20 }
21
22 menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
23 set pager=1
24 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
25
26 echo -e "\npress ENTER to exit ..."
27 read vtInputKey
28 unset pager
29 }
30
31 menuentry 'Check persistence plugin configuration' --class=debug_persistence {
32 set pager=1
33 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
34
35 echo -e "\n############### dump persistence ###############"
36 vt_dump_persistence
37
38 echo -e "\npress ENTER to exit ..."
39 read vtInputKey
40 unset pager
41 }
42
43 menuentry 'Check menu alias plugin configuration' --class=debug_menualias {
44 set pager=1
45 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
46
47 echo -e "\npress ENTER to exit ..."
48 read vtInputKey
49 unset pager
50 }
51
52 menuentry 'Check menu class plugin configuration' --class=debug_menuclass {
53 set pager=1
54 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
55
56 echo -e "\npress ENTER to exit ..."
57 read vtInputKey
58 unset pager
59 }
60
61 menuentry 'Check injection plugin configuration' --class=debug_injection {
62 set pager=1
63 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
64
65 echo -e "\npress ENTER to exit ..."
66 read vtInputKey
67 unset pager
68 }
69
70 menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk {
71 set pager=1
72 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
73
74 echo -e "\npress ENTER to exit ..."
75 read vtInputKey
76 unset pager
77 }
78
79 menuentry 'Check image list plugin configuration' --class=debug_imagelist {
80 set pager=1
81 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
82
83 echo -e "\npress ENTER to exit ..."
84 read vtInputKey
85 unset pager
86 }
87
88 menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace {
89 set pager=1
90 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
91
92 echo -e "\npress ENTER to exit ..."
93 read vtInputKey
94 unset pager
95 }
96
97 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
98 echo 'Return ...'
99 }
100 }
101
102
103 submenu "Resolution Configuration" --class=debug_resolution {
104 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
105 echo 'Return ...'
106 }
107
108 vt_update_cur_video_mode VT_CUR_MODE
109 set vdid=0
110 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
111 vt_get_video_mode $vdid vtCurMode
112
113 unset vtActive
114 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
115 set vtActive="[*]"
116 fi
117
118 menuentry "$vtCurMode $vtActive" --class=debug_videomode VTOY_RUN_RET {
119 terminal_output console
120 set gfxmode=$1
121 terminal_output gfxterm
122 }
123
124 vt_incr vdid 1
125 done
126 }
127
128 submenu "Screen Display Mode" --class=debug_screen_mode {
129 menuentry 'Force Text Mode' --class=debug_text_mode {
130 terminal_output console
131 }
132 menuentry 'Force Graphics Mode' --class=debug_gui_mode {
133 terminal_output gfxterm
134 }
135 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
136 echo 'Return ...'
137 }
138 }
139
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
144 boot
145 echo -e "\npress ENTER to exit ..."
146 read vtInputKey
147 }
148
149 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
150 echo 'Return ...'
151 }
152 }
153 fi
154
155 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
156 echo 'Return ...'
157 }