// Parse the boot order to get boot option\r
//\r
BdsLibBuildOptionFromVar (&BootLists, L"BootOrder");\r
+\r
+ //\r
+ // When we didn't have chance to build boot option variables in the first \r
+ // full configuration boot (e.g.: Reset in the first page or in Device Manager),\r
+ // we have no boot options in the following mini configuration boot.\r
+ // Give the last chance to enumerate the boot options.\r
+ //\r
+ if (IsListEmpty (&BootLists)) {\r
+ BdsLibEnumerateAllBootOption (&BootLists);\r
+ }\r
+\r
Link = BootLists.ForwardLink;\r
\r
//\r