]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/debug.cfg
Update ko_KR.txt (#2025)
[Ventoy.git] / INSTALL / grub / debug.cfg
1
2 submenu "@VTMENU_MENU_LANG" --class=debug_menu_lang --class=F5tool {
3 source $prefix/menulang.cfg
4 }
5 source $prefix/power.cfg
6 source $prefix/hwinfo.cfg
7 source $prefix/keyboard.cfg
8
9 submenu "@VTMENU_RESOLUTION_CFG" --class=debug_resolution --class=F5tool {
10 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
11 echo 'Return ...'
12 }
13
14 vt_update_cur_video_mode VT_CUR_MODE
15 set vdid=0
16 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
17 vt_get_video_mode $vdid vtCurMode
18
19 unset vtActive
20 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
21 set vtActive="[*]"
22 fi
23
24 menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
25 terminal_output console
26 set gfxmode=$1
27 terminal_output gfxterm
28 }
29
30 vt_incr vdid 1
31 done
32 }
33
34 submenu "@VTMENU_SCREEN_MODE" --class=debug_screen_mode --class=F5tool {
35 menuentry '@VTMENU_SCREEN_TEXT_MODE' --class=debug_text_mode --class=debug_screen_mode --class=F5tool {
36 terminal_output console
37 }
38 menuentry '@VTMENU_SCREEN_GUI_MODE' --class=debug_gui_mode --class=debug_screen_mode --class=F5tool {
39 terminal_output gfxterm
40 }
41 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
42 echo 'Return ...'
43 }
44 }
45
46 if [ -n "$VTOY_THEME_COUNT" -a $VTOY_THEME_COUNT -gt 1 ]; then
47 submenu "@VTMENU_THEME_SELECT" --class=debug_theme_select --class=F5tool {
48 vt_select_theme_cfg
49 }
50 fi
51
52 if [ "$grub_platform" != "pc" ]; then
53 submenu 'Ventoy UEFI Utilities' --class=debug_util --class=F5tool {
54 menuentry '@VTMENU_UTIL_SHOW_EFI_DRV' --class=debug_util_efidrv --class=debug_util --class=F5tool {
55 vt_push_pager
56 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers
57 boot
58 vt_pop_pager
59 echo -e "\npress ENTER to exit ..."
60 read vtInputKey
61 }
62
63 menuentry '@VTMENU_UTIL_FIX_BLINIT_FAIL' --class=debug_util_blinit --class=debug_util --class=F5tool {
64 chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
65 boot
66 echo -e "\npress ENTER to exit ..."
67 read vtInputKey
68 }
69
70 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
71 echo 'Return ...'
72 }
73 }
74 fi
75
76
77 submenu '@VTMENU_JSON_CHK_JSON' --class=debug_json --class=F5tool {
78 menuentry '@VTMENU_JSON_CHK_CONTROL' --class=debug_control --class=debug_json --class=F5tool {
79 set pager=1
80 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
81
82 echo -e "\npress ENTER to exit ..."
83 read vtInputKey
84 unset pager
85 }
86
87 menuentry '@VTMENU_JSON_CHK_THEME' --class=debug_theme --class=debug_json --class=F5tool {
88 set pager=1
89 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
90
91 echo -e "\npress ENTER to exit ..."
92 read vtInputKey
93 unset pager
94 }
95
96 menuentry '@VTMENU_JSON_CHK_AUTOINS' --class=debug_autoinstall --class=debug_json --class=F5tool {
97 set pager=1
98 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
99
100 echo -e "\npress ENTER to exit ..."
101 read vtInputKey
102 unset pager
103 }
104
105 menuentry '@VTMENU_JSON_CHK_PERSIST' --class=debug_persistence --class=debug_json --class=F5tool {
106 set pager=1
107 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
108
109 echo -e "\n############### dump persistence ###############"
110 vt_dump_persistence
111
112 echo -e "\npress ENTER to exit ..."
113 read vtInputKey
114 unset pager
115 }
116
117 menuentry '@VTMENU_JSON_CHK_MENU_ALIAS' --class=debug_menualias --class=debug_json --class=F5tool {
118 set pager=1
119 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
120
121 echo -e "\npress ENTER to exit ..."
122 read vtInputKey
123 unset pager
124 }
125
126 menuentry '@VTMENU_JSON_CHK_MENU_TIP' --class=debug_menutip --class=debug_json --class=F5tool {
127 set pager=1
128 vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part
129
130 echo -e "\npress ENTER to exit ..."
131 read vtInputKey
132 unset pager
133 }
134
135 menuentry '@VTMENU_JSON_CHK_MENU_CLASS' --class=debug_menuclass --class=debug_json --class=F5tool {
136 set pager=1
137 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
138
139 echo -e "\npress ENTER to exit ..."
140 read vtInputKey
141 unset pager
142 }
143
144 menuentry '@VTMENU_JSON_CHK_INJECTION' --class=debug_injection --class=debug_json --class=F5tool {
145 set pager=1
146 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
147
148 echo -e "\npress ENTER to exit ..."
149 read vtInputKey
150 unset pager
151 }
152
153 menuentry '@VTMENU_JSON_CHK_AUTO_MEMDISK' --class=debug_automemdisk --class=debug_json --class=F5tool {
154 set pager=1
155 vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
156
157 echo -e "\npress ENTER to exit ..."
158 read vtInputKey
159 unset pager
160 }
161
162 menuentry '@VTMENU_JSON_CHK_IMG_LIST' --class=debug_imagelist --class=debug_json --class=F5tool {
163 set pager=1
164 vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
165
166 echo -e "\npress ENTER to exit ..."
167 read vtInputKey
168 unset pager
169 }
170
171 menuentry '@VTMENU_JSON_CHK_IMG_BLIST' --class=debug_imageblacklist --class=debug_json --class=F5tool {
172 set pager=1
173 vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
174
175 echo -e "\npress ENTER to exit ..."
176 read vtInputKey
177 unset pager
178 }
179
180 menuentry '@VTMENU_JSON_CHK_CONF_REPLACE' --class=debug_bootconf_replace --class=debug_json --class=F5tool {
181 set pager=1
182 vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
183
184 echo -e "\npress ENTER to exit ..."
185 read vtInputKey
186 unset pager
187 }
188
189 menuentry '@VTMENU_JSON_CHK_DUD' --class=debug_dud --class=debug_json --class=F5tool {
190 set pager=1
191 vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
192
193 echo -e "\npress ENTER to exit ..."
194 read vtInputKey
195 unset pager
196 }
197
198 menuentry '@VTMENU_JSON_CHK_PASSWORD' --class=debug_pwd --class=debug_json --class=F5tool {
199 set pager=1
200 vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
201
202 echo -e "\npress ENTER to exit ..."
203 read vtInputKey
204 unset pager
205 }
206
207 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
208 echo 'Return ...'
209 }
210 }
211
212
213 menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
214 echo 'Return ...'
215 }