]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/debug.cfg
1.0.16 release
[Ventoy.git] / INSTALL / grub / debug.cfg
1 submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
2 menuentry 'Check global control plugin configuration' --class=debug_control {
3 set pager=1
4 vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
5
6 echo -e "\npress ENTER to exit ..."
7 read vtInputKey
8 unset pager
9 }
10
11 menuentry 'Check theme plugin configuration' --class=debug_theme {
12 set pager=1
13 vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
14
15 echo -e "\npress ENTER to exit ..."
16 read vtInputKey
17 unset pager
18 }
19
20 menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
21 set pager=1
22 vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
23
24 echo -e "\npress ENTER to exit ..."
25 read vtInputKey
26 unset pager
27 }
28
29 menuentry 'Check persistence plugin configuration' --class=debug_persistence {
30 set pager=1
31 vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
32
33 echo -e "\n############### dump persistence ###############"
34 vt_dump_persistence
35
36 echo -e "\npress ENTER to exit ..."
37 read vtInputKey
38 unset pager
39 }
40
41 menuentry 'Check menu alias plugin configuration' --class=debug_menualias {
42 set pager=1
43 vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
44
45 echo -e "\npress ENTER to exit ..."
46 read vtInputKey
47 unset pager
48 }
49
50 menuentry 'Check menu class plugin configuration' --class=debug_menuclass {
51 set pager=1
52 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
53
54 echo -e "\npress ENTER to exit ..."
55 read vtInputKey
56 unset pager
57 }
58
59 menuentry 'Check injection plugin configuration' --class=debug_injection {
60 set pager=1
61 vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
62
63 echo -e "\npress ENTER to exit ..."
64 read vtInputKey
65 unset pager
66 }
67
68 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
69 echo 'Return ...'
70 }
71 }
72
73
74 if [ "$grub_platform" != "pc" ]; then
75 submenu 'Ventoy UEFI Utilities' --class=debug_util {
76 menuentry 'Fixup Windows BlinitializeLibrary Failure' {
77 chainloader ${vtoy_path}/vtoyutil_x64.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
78 boot
79 echo -e "\npress ENTER to exit ..."
80 read vtInputKey
81 }
82
83 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
84 echo 'Return ...'
85 }
86 }
87 fi
88
89 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
90 echo 'Return ...'
91 }