]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/grub/debug.cfg
update
[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 $iso_path
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 $iso_path
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 $iso_path
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 $iso_path
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 $iso_path
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 $iso_path
53
54 echo -e "\npress ENTER to exit ..."
55 read vtInputKey
56 unset pager
57 }
58
59 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
60 echo 'Return ...'
61 }
62 }
63
64
65 if [ "$grub_platform" != "pc" ]; then
66 submenu 'Ventoy UEFI Utilities' --class=debug_util {
67 menuentry 'Fixup Windows BlinitializeLibrary Failure' {
68 chainloader ${vtoy_path}/vtoyutil_x64.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
69 boot
70 echo -e "\npress ENTER to exit ..."
71 read vtInputKey
72 }
73
74 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
75 echo 'Return ...'
76 }
77 }
78 fi
79
80 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
81 echo 'Return ...'
82 }