]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
Fix the boot issue for TrueNAS Scale. (#3069)
[Ventoy.git] / INSTALL / grub / grub.cfg
index f1a4df2806d4e0c3deda59638eb4e74234ae53dc..d1b7c96023b2137a33b1d7179b4cd360f9a5a4ff 100644 (file)
@@ -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