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