From 357e8cf39ef284264bad7dc97ba38ba7463c09b4 Mon Sep 17 00:00:00 2001 From: SergeySlice Date: Sat, 28 Nov 2020 16:48:31 +0300 Subject: [PATCH] find recovery for bigsur not working yet Signed-off-by: SergeySlice --- rEFIt_UEFI/Platform/Settings.cpp | 1 + rEFIt_UEFI/entry_scan/loader.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index 4daed72d3..20d6f198d 100755 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -3381,6 +3381,7 @@ void InitKextList() return; //don't scan again } // KextsPath = SWPrintf("%ls\\kexts", OEMPath.wc_str()); + DbgHeader("InitKextList"); if ( selfOem.isKextsDirFound() ) { // Iterate over kexts directory diff --git a/rEFIt_UEFI/entry_scan/loader.cpp b/rEFIt_UEFI/entry_scan/loader.cpp index f1a4f0296..a3d782f38 100644 --- a/rEFIt_UEFI/entry_scan/loader.cpp +++ b/rEFIt_UEFI/entry_scan/loader.cpp @@ -1618,7 +1618,9 @@ void ScanLoader(void) AddLoaderEntry(SWPrintf("\\%s\\System\\Library\\CoreServices\\boot.efi", ApfsTargetUUID.c_str()), NullXString8Array, FullTitle, LoaderTitle, Volume, Volume->ApfsTargetUUIDArray[i], NULL, OSTYPE_OSX, 0); //Try to add Recovery APFS entry AddLoaderEntry(SWPrintf("\\%s\\boot.efi", Volume->ApfsTargetUUIDArray[i].c_str()), NullXString8Array, FullTitleRecovery, L""_XSW, Volume, Volume->ApfsTargetUUIDArray[i], NULL, OSTYPE_RECOVERY, 0); - //Try to add macOS install entry + //Try to add Recovery APFS entry + AddLoaderEntry(SWPrintf("\\%s\\BaseSystem.dmg", Volume->ApfsTargetUUIDArray[i].c_str()), NullXString8Array, FullTitleRecovery, L""_XSW, Volume, Volume->ApfsTargetUUIDArray[i], NULL, OSTYPE_RECOVERY, 0); + //Try to add macOS install entry AddLoaderEntry(SWPrintf("\\%s\\com.apple.installer\\boot.efi", Volume->ApfsTargetUUIDArray[i].c_str()), NullXString8Array, FullTitleInstaller, LoaderTitleInstaller, Volume, Volume->ApfsTargetUUIDArray[i], NULL, OSTYPE_OSX_INSTALLER, 0); } }