]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/debug.cfg
1.0.22 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 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
80 echo 'Return ...'
81 }
82 }
83
84
85 submenu "Resolution Configuration" --class=debug_resolution {
86 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
87 echo 'Return ...'
88 }
89
90 vt_update_cur_video_mode VT_CUR_MODE
91 set vdid=0
92 while [ $vdid -lt $VTOY_VIDEO_MODE_NUM ]; do
93 vt_get_video_mode $vdid vtCurMode
94
95 unset vtActive
96 if [ "$vtCurMode" = "$VT_CUR_MODE" ]; then
97 set vtActive="[*]"
98 fi
99
100 menuentry "$vtCurMode $vtActive" --class=debug_videomode VTOY_RUN_RET {
101 terminal_output console
102 set gfxmode=$1
103 terminal_output gfxterm
104 }
105
106 vt_incr vdid 1
107 done
108 }
109
110
111
112 if [ "$grub_platform" != "pc" ]; then
113 submenu 'Ventoy UEFI Utilities' --class=debug_util {
114 menuentry 'Fixup Windows BlinitializeLibrary Failure' {
115 chainloader ${vtoy_path}/vtoyutil_x64.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
116 boot
117 echo -e "\npress ENTER to exit ..."
118 read vtInputKey
119 }
120
121 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
122 echo 'Return ...'
123 }
124 }
125 fi
126
127 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
128 echo 'Return ...'
129 }