]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/debug.cfg
1.0.29 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 'Check dud plugin configuration' --class=debug_dud {
98 set pager=1
99 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
100
101 echo -e "\npress ENTER to exit ..."
102 read vtInputKey
103 unset pager
104 }
105
106 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
107 echo 'Return ...'
108 }
109 }
110
111
112 submenu "Resolution Configuration" --class=debug_resolution {
113 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
114 echo 'Return ...'
115 }
116
117 vt_update_cur_video_mode VT_CUR_MODE
118 set vdid=0
119 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
120 vt_get_video_mode $vdid vtCurMode
121
122 unset vtActive
123 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
124 set vtActive="[*]"
125 fi
126
127 menuentry "$vtCurMode $vtActive" --class=debug_videomode VTOY_RUN_RET {
128 terminal_output console
129 set gfxmode=$1
130 terminal_output gfxterm
131 }
132
133 vt_incr vdid 1
134 done
135 }
136
137 submenu "Screen Display Mode" --class=debug_screen_mode {
138 menuentry 'Force Text Mode' --class=debug_text_mode {
139 terminal_output console
140 }
141 menuentry 'Force Graphics Mode' --class=debug_gui_mode {
142 terminal_output gfxterm
143 }
144 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
145 echo 'Return ...'
146 }
147 }
148
149 if [ "$grub_platform" != "pc" ]; then
150 submenu 'Ventoy UEFI Utilities' --class=debug_util {
151 menuentry 'Fixup Windows BlinitializeLibrary Failure' {
152 chainloader ${vtoy_path}/vtoyutil_x64.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
153 boot
154 echo -e "\npress ENTER to exit ..."
155 read vtInputKey
156 }
157
158 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
159 echo 'Return ...'
160 }
161 }
162 fi
163
164 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
165 echo 'Return ...'
166 }