X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/32fac72b5b3e024fcb9e4a8a3620ddcee0d54d8c..2dafe755097057a4faf5e240f0abc98b9b4cdcb8:/INSTALL/grub/grub.cfg diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index f1a4df2..d1b7c96 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -35,6 +35,12 @@ function ventoy_debug_pause { function ventoy_max_resolution { + #Skip this for VirtualBox + smbios -t 1 -s 0x05 --set=system_product; + if vt_str_casebegin "$system_product" "VirtualBox"; then + return + fi + vt_enum_video_mode vt_get_video_mode 0 vtCurMode terminal_output console