Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
23f4f18e
Commit
23f4f18e
authored
Feb 17, 2022
by
longpanda
Browse files
Auto use grub2 mode for krd.iso
parent
53b95ae1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+9
-0
No files found.
INSTALL/grub/grub.cfg
View file @
23f4f18e
...
@@ -746,7 +746,16 @@ function uefi_linux_menu_func {
...
@@ -746,7 +746,16 @@ function uefi_linux_menu_func {
ventoy_acpi_param ${vtoy_chain_mem_addr} 2048
ventoy_acpi_param ${vtoy_chain_mem_addr} 2048
ventoy_cli_console
ventoy_cli_console
unset vtGrub2Mode
if vt_check_mode 3; then
if vt_check_mode 3; then
set vtGrub2Mode=1
elif vt_str_begin "$vt_volume_id" "KRD"; then
if [ -f (loop)/boot/grub/grub.cfg.sig ]; then
set vtGrub2Mode=1
fi
fi
if [ -n "$vtGrub2Mode" ]; then
ventoy_debug_pause
ventoy_debug_pause
else
else
if [ "$VTOY_EFI_ARCH" != "mips" ]; then
if [ "$VTOY_EFI_ARCH" != "mips" ]; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment