]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/debug.cfg
Update ru_RU.txt (#2120)
[Ventoy.git] / INSTALL / grub / debug.cfg
1 #
2 # VTLANG_CTRL_TEMP_SET must be the first
3 # And the inside item order can not be changed
4 #
5 submenu "$VTLANG_CTRL_TEMP_SET" --class=debug_temp_set --class=F5tool {
6 menuentry "[ $VTOY_WIN11_BYPASS_CHECK ] $VTLANG_WIN11_BYPASS_CHECK" --class=debug_temp_win11_bypass --class=debug_temp_set --class=F5tool \
7 VTOY_RUN_SET0 {
8 if [ "$VTOY_WIN11_BYPASS_CHECK" = "0" ]; then
9 set VTOY_WIN11_BYPASS_CHECK=1
10 else
11 set VTOY_WIN11_BYPASS_CHECK=0
12 fi
13 }
14
15 menuentry "[ $VTOY_WIN11_BYPASS_NRO ] $VTLANG_WIN11_BYPASS_NRO" --class=debug_temp_win11_nro --class=debug_temp_set --class=F5tool \
16 VTOY_RUN_SET1 {
17 if [ "$VTOY_WIN11_BYPASS_NRO" = "0" ]; then
18 set VTOY_WIN11_BYPASS_NRO=1
19 else
20 set VTOY_WIN11_BYPASS_NRO=0
21 fi
22 }
23
24 menuentry "[ $VTOY_LINUX_REMOUNT ] $VTLANG_LINUX_REMOUNT" --class=debug_temp_linux_remount --class=debug_temp_set --class=F5tool \
25 VTOY_RUN_SET2 {
26 if [ "$VTOY_LINUX_REMOUNT" = "0" ]; then
27 set VTOY_LINUX_REMOUNT=1
28 else
29 set VTOY_LINUX_REMOUNT=0
30 fi
31 }
32
33 menuentry "[ $VTOY_SECONDARY_BOOT_MENU ] $VTLANG_SECONDARY_BOOT_MENU" --class=debug_temp_second_menu --class=debug_temp_set --class=F5tool \
34 VTOY_RUN_SET3 {
35 if [ "$VTOY_SECONDARY_BOOT_MENU" = "0" ]; then
36 set VTOY_SECONDARY_BOOT_MENU=1
37 else
38 set VTOY_SECONDARY_BOOT_MENU=0
39 fi
40 }
41
42 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
43 echo "Return ..."
44 }
45 }
46
47
48 submenu "$VTLANG_MENU_LANG" --class=debug_menu_lang --class=F5tool {
49 source $prefix/menulang.cfg
50 }
51
52 source $prefix/power.cfg
53 source $prefix/hwinfo.cfg
54 source $prefix/keyboard.cfg
55
56 submenu "$VTLANG_RESOLUTION_CFG" --class=debug_resolution --class=F5tool {
57 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
58 echo "Return ..."
59 }
60
61 vt_update_cur_video_mode VT_CUR_MODE
62 set vdid=0
63 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
64 vt_get_video_mode $vdid vtCurMode
65
66 unset vtActive
67 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
68 set vtActive="[*]"
69 fi
70
71 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
72 terminal_output console
73 set gfxmode=$1
74 terminal_output gfxterm
75 if [ "$vtoy_res_fit" = "1" ]; then
76 vt_set_theme switch
77 fi
78 }
79
80 vt_incr vdid 1
81 done
82 }
83
84 submenu "$VTLANG_SCREEN_MODE" --class=debug_screen_mode --class=F5tool {
85 menuentry "$VTLANG_SCREEN_TEXT_MODE" --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
86 terminal_output console
87 }
88 menuentry "$VTLANG_SCREEN_GUI_MODE" --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
89 terminal_output gfxterm
90 }
91 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
92 echo "Return ..."
93 }
94 }
95
96 if [ -n "$VTOY_THEME_COUNT" -a $VTOY_THEME_COUNT -gt 1 ]; then
97 submenu "$VTLANG_THEME_SELECT" --class=debug_theme_select --class=F5tool {
98 vt_select_theme_cfg
99 }
100 fi
101
102 if [ "$grub_platform" != "pc" ]; then
103 submenu "$VTLANG_UEFI_UTIL" --class=debug_util --class=F5tool {
104 menuentry "$VTLANG_UTIL_SHOW_EFI_DRV" --class=debug_util_efidrv --class=debug_util --class=F5tool {
105 vt_push_pager
106 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
107 boot
108 vt_pop_pager
109 echo -en "\n$VTLANG_ENTER_EXIT ..."
110 read vtInputKey
111 }
112
113 menuentry "$VTLANG_UTIL_FIX_BLINIT_FAIL" --class=debug_util_blinit --class=debug_util --class=F5tool {
114 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
115 boot
116 echo -en "\n$VTLANG_ENTER_EXIT ..."
117 read vtInputKey
118 }
119
120 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
121 echo "Return ..."
122 }
123 }
124 fi
125
126
127 submenu "$VTLANG_JSON_CHK_JSON" --class=debug_json --class=F5tool {
128 menuentry "$VTLANG_JSON_CHK_CONTROL" --class=debug_control --class=debug_json --class=F5tool {
129 set pager=1
130 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
131
132 echo -en "\n$VTLANG_ENTER_EXIT ..."
133 read vtInputKey
134 unset pager
135 }
136
137 menuentry "$VTLANG_JSON_CHK_THEME" --class=debug_theme --class=debug_json --class=F5tool {
138 set pager=1
139 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
140
141 echo -en "\n$VTLANG_ENTER_EXIT ..."
142 read vtInputKey
143 unset pager
144 }
145
146 menuentry "$VTLANG_JSON_CHK_AUTOINS" --class=debug_autoinstall --class=debug_json --class=F5tool {
147 set pager=1
148 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
149
150 echo -en "\n$VTLANG_ENTER_EXIT ..."
151 read vtInputKey
152 unset pager
153 }
154
155 menuentry "$VTLANG_JSON_CHK_PERSIST" --class=debug_persistence --class=debug_json --class=F5tool {
156 set pager=1
157 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
158
159 echo -e "\n############### dump persistence ###############"
160 vt_dump_persistence
161
162 echo -en "\n$VTLANG_ENTER_EXIT ..."
163 read vtInputKey
164 unset pager
165 }
166
167 menuentry "$VTLANG_JSON_CHK_MENU_ALIAS" --class=debug_menualias --class=debug_json --class=F5tool {
168 set pager=1
169 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
170
171 echo -en "\n$VTLANG_ENTER_EXIT ..."
172 read vtInputKey
173 unset pager
174 }
175
176 menuentry "$VTLANG_JSON_CHK_MENU_TIP" --class=debug_menutip --class=debug_json --class=F5tool {
177 set pager=1
178 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
179
180 echo -en "\n$VTLANG_ENTER_EXIT ..."
181 read vtInputKey
182 unset pager
183 }
184
185 menuentry "$VTLANG_JSON_CHK_MENU_CLASS" --class=debug_menuclass --class=debug_json --class=F5tool {
186 set pager=1
187 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
188
189 echo -en "\n$VTLANG_ENTER_EXIT ..."
190 read vtInputKey
191 unset pager
192 }
193
194 menuentry "$VTLANG_JSON_CHK_INJECTION" --class=debug_injection --class=debug_json --class=F5tool {
195 set pager=1
196 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
197
198 echo -en "\n$VTLANG_ENTER_EXIT ..."
199 read vtInputKey
200 unset pager
201 }
202
203 menuentry "$VTLANG_JSON_CHK_AUTO_MEMDISK" --class=debug_automemdisk --class=debug_json --class=F5tool {
204 set pager=1
205 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
206
207 echo -en "\n$VTLANG_ENTER_EXIT ..."
208 read vtInputKey
209 unset pager
210 }
211
212 menuentry "$VTLANG_JSON_CHK_IMG_LIST" --class=debug_imagelist --class=debug_json --class=F5tool {
213 set pager=1
214 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
215
216 echo -en "\n$VTLANG_ENTER_EXIT ..."
217 read vtInputKey
218 unset pager
219 }
220
221 menuentry "$VTLANG_JSON_CHK_IMG_BLIST" --class=debug_imageblacklist --class=debug_json --class=F5tool {
222 set pager=1
223 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
224
225 echo -en "\n$VTLANG_ENTER_EXIT ..."
226 read vtInputKey
227 unset pager
228 }
229
230 menuentry "$VTLANG_JSON_CHK_CONF_REPLACE" --class=debug_bootconf_replace --class=debug_json --class=F5tool {
231 set pager=1
232 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
233
234 echo -en "\n$VTLANG_ENTER_EXIT ..."
235 read vtInputKey
236 unset pager
237 }
238
239 menuentry "$VTLANG_JSON_CHK_DUD" --class=debug_dud --class=debug_json --class=F5tool {
240 set pager=1
241 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
242
243 echo -en "\n$VTLANG_ENTER_EXIT ..."
244 read vtInputKey
245 unset pager
246 }
247
248 menuentry "$VTLANG_JSON_CHK_PASSWORD" --class=debug_pwd --class=debug_json --class=F5tool {
249 set pager=1
250 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
251
252 echo -en "\n$VTLANG_ENTER_EXIT ..."
253 read vtInputKey
254 unset pager
255 }
256
257 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
258 echo "Return ..."
259 }
260 }
261
262
263 menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
264 echo "Return ..."
265 }