how to hide UEFI BdsDxe string on boot up

hi,

no easy way to do this.. you'd need to patch OVMF and recompile it :)

if you're really determined here's an example (just commenting out the print statement)

Code:
diff --git a/OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c b/OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c
index 594ab105e2..cb3a2878c0 100644
--- a/OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c
+++ b/OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c
@@ -173,6 +173,7 @@ HandleStatusCode (
   // 
   // Print the message to the console. 
   // 
+  /* 
   if (Value == mLoadPrep || Value == mStartPrep) { 
     Print ( 
       L"%a: %a %s \"%s\" from %s\n", 
@@ -193,6 +194,7 @@ HandleStatusCode (
       ((EFI_RETURN_STATUS_EXTENDED_DATA *)Data)->ReturnStatus 
       ); 
   } 
+  */ 
  
   // 
   // Done.

code can be found here [0]

[0]: https://git.proxmox.com/?p=pve-edk2-firmware.git;a=summary
 
Thanks Oguz, but what is the purpose of showing those 2 lines? It makes a new user to promox feels as though there was an error.