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
892a819d
Commit
892a819d
authored
Aug 31, 2021
by
longpanda
Browse files
Add support for Emergency Boot Kit
parent
bfc5eaeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+10
-0
No files found.
INSTALL/grub/grub.cfg
View file @
892a819d
...
...
@@ -138,6 +138,14 @@ function vt_check_compatible_pe {
return
}
function vt_check_compatible_linux {
if vt_str_begin "$vt_volume_id" "embootkit"; then
set ventoy_compatible=YES
fi
return
}
function locate_initrd {
vt_linux_locate_initrd
...
...
@@ -829,6 +837,7 @@ function uefi_iso_menu_func {
elif [ "$vtoy_os" = "Unix" ]; then
uefi_unix_menu_func "$1" "${chosen_path}"
else
vt_check_compatible_linux (loop)
uefi_linux_menu_func "$1" "${chosen_path}"
fi
...
...
@@ -1133,6 +1142,7 @@ function legacy_iso_menu_func {
elif [ "$vtoy_os" = "Unix" ]; then
legacy_unix_menu_func "$1" "${chosen_path}"
else
vt_check_compatible_linux (loop)
legacy_linux_menu_func "$1" "${chosen_path}"
fi
}
...
...
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