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
6034b25c
Commit
6034b25c
authored
Feb 28, 2025
by
longpanda
Browse files
Don't force to use max resolution for VMware/VirtualBox. (#3140)
parent
c5fd64d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+8
-0
No files found.
INSTALL/grub/grub.cfg
View file @
6034b25c
...
@@ -35,6 +35,14 @@ function ventoy_debug_pause {
...
@@ -35,6 +35,14 @@ function ventoy_debug_pause {
function ventoy_max_resolution {
function ventoy_max_resolution {
#Skip this for VM
smbios -t 1 -s 0x05 --set=system_product;
for vtPdt in "VMware" "VirtualBox"; then
if vt_str_casebegin "$system_product" "$vtPdt"; then
return
fi
fi
vt_enum_video_mode
vt_enum_video_mode
vt_get_video_mode 0 vtCurMode
vt_get_video_mode 0 vtCurMode
terminal_output console
terminal_output console
...
...
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