I installed rEFInd 0.11.2 which work fine to dual boot OSX 10.13.3 and Win10 EFI. However it was showing 3 OSX preboot menus and only 1st one can boot into OSX successfully, other 2 gave the Error sign and with message such as No Er state for Object preboot. I am not sure if that is because I reinstalled OSX twice in Recovery Mode. so it end up with 3 entry menu for OSX?
Anyway due to some reasons, I have to resintall OSX. and I found in Recovery mode, it gave me the error "Could not create a Preboot Volume for APFS install". After some research, I remove refind folder and tools folder in ESP partition when in recovery mode. and reinstall latest OSX by creating a USB installer. I also deleted the OSX partition during reinstallation. Everything went fine. and I can dual boot OSX and Win10.
Then I install rEFInd in recovery mode and reEFInd boot up fine. but it now shows 5 OSX boot menus (along with my Win10 EFI and 2 Lagecy from NTFS which I don't know where it come from), But none of the OSX menus works, all shows following error:
APFSStart:1454: Mounting with apfs_efi_osx-748.41.3
efi_fusion_pairing:632: Container 3c51e2e9-7cf8-4c06-be07-db33fc7ab1ad
efi_fusion_pairing:637: fusion uuid: 00000000-0000-0000-000000000000
efi_container_create: 926: Volume attached is internal
nx_kernal_mount:1369: checkpoint serach: largest xid 5930495, best xid 5930495 @ 10
er_stat_obj_get_for_recovery:3811: No ER state object for volume Preboot - rooling is not happening, nothing to recover.
er_stat_obj_get_for_recovery:3811: No ER state object for volume Recovery - rooling is not happening, nothing to recover.
er_stat_obj_get_for_recovery:3811: No ER state object for volume VM - rooling is not happening, nothing to recover.
does printf works??
Hit any key to cotinue *
I can still use rEFInd's second row menu to boot into OSX recovery. it also show 5 OSX recovery icon in 2nd row and all of the 5 can boot into Recovery. rEFInd also boots win10 EFI without any issue.
so now I have to use Option key to boot into OSX. Any help is appreciated.
Thanks
Leon
Last edit: Leonk 2018-02-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try it on my old late 2013 MBP which has the exactly same setup, OSX 10.13.3 and Win10 EFI boot. OSX APFS partition is Filevault2 encrypted. this one seems do not suffer to multiple OSX preboot menu items. it only show one and boots into OSX fine. This seems there is some problem in rEFInd auto scan boot loader. When it work perfectly for my old MBP, it seems have problem auto scan my 2017 MBP.
Last edit: Leonk 2018-02-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are 7 folders under Preboot and only 1 corresponding to my Macintosh HD's UUID 43694177-F795-4C64-9F4B-75DDCDDFE00B. I think the Preboot folder is for unlock the Filevault2 partition? I am really new to this thing. but can I delete all other folders except 43694177-F795-4C64-9F4B-75DDCDDFE00B? Also how to use the dont_scan_dirs?
I tried change refind.conf with following to skip the 6 old folder, but it still shows up 5 OSX menus
So I finally boot into recovery mode, mount Preboot volume, rename every xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/System/Library/CoreServices/boot.efi to boot.efi.orig except leaving only the 43694177-F795-4C64-9F4B-75DDCDDFE00B/System/Library/CoreServices/boot.efi untouched. This finally make rEFInd show only 1 OSX preboot menu and successfully boot into OSX 10.13.3 without issue.
My old MBP only have 1 entry and only cache folder under /System/Library without CoreServices folder any or any *.efi files under them. . it seems during reinstall OSX, the latest 10.13.3 installer do not remove the old entry anymore. my OLD mbp was clean install 10.13 then upgraded to 10.13.3.
Last edit: Leonk 2018-02-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I installed rEFInd 0.11.2 which work fine to dual boot OSX 10.13.3 and Win10 EFI. However it was showing 3 OSX preboot menus and only 1st one can boot into OSX successfully, other 2 gave the Error sign and with message such as No Er state for Object preboot. I am not sure if that is because I reinstalled OSX twice in Recovery Mode. so it end up with 3 entry menu for OSX?
Anyway due to some reasons, I have to resintall OSX. and I found in Recovery mode, it gave me the error "Could not create a Preboot Volume for APFS install". After some research, I remove refind folder and tools folder in ESP partition when in recovery mode. and reinstall latest OSX by creating a USB installer. I also deleted the OSX partition during reinstallation. Everything went fine. and I can dual boot OSX and Win10.
Then I install rEFInd in recovery mode and reEFInd boot up fine. but it now shows 5 OSX boot menus (along with my Win10 EFI and 2 Lagecy from NTFS which I don't know where it come from), But none of the OSX menus works, all shows following error:
APFSStart:1454: Mounting with apfs_efi_osx-748.41.3
efi_fusion_pairing:632: Container 3c51e2e9-7cf8-4c06-be07-db33fc7ab1ad
efi_fusion_pairing:637: fusion uuid: 00000000-0000-0000-000000000000
efi_container_create: 926: Volume attached is internal
nx_kernal_mount:1369: checkpoint serach: largest xid 5930495, best xid 5930495 @ 10
er_stat_obj_get_for_recovery:3811: No ER state object for volume Preboot - rooling is not happening, nothing to recover.
er_stat_obj_get_for_recovery:3811: No ER state object for volume Recovery - rooling is not happening, nothing to recover.
er_stat_obj_get_for_recovery:3811: No ER state object for volume VM - rooling is not happening, nothing to recover.
does printf works??
I can still use rEFInd's second row menu to boot into OSX recovery. it also show 5 OSX recovery icon in 2nd row and all of the 5 can boot into Recovery. rEFInd also boots win10 EFI without any issue.
so now I have to use Option key to boot into OSX. Any help is appreciated.
Thanks
Leon
Last edit: Leonk 2018-02-10
some more info about my disk. I do have Filevault2 on the OSX partition.
Last edit: Leonk 2018-02-10
I try it on my old late 2013 MBP which has the exactly same setup, OSX 10.13.3 and Win10 EFI boot. OSX APFS partition is Filevault2 encrypted. this one seems do not suffer to multiple OSX preboot menu items. it only show one and boots into OSX fine. This seems there is some problem in rEFInd auto scan boot loader. When it work perfectly for my old MBP, it seems have problem auto scan my 2017 MBP.
Last edit: Leonk 2018-02-11
I mounted my Preboot volume as I notice it is over 100MB when my old MBP only have 20MB size.
There are 7 folders under Preboot and only 1 corresponding to my Macintosh HD's UUID 43694177-F795-4C64-9F4B-75DDCDDFE00B. I think the Preboot folder is for unlock the Filevault2 partition? I am really new to this thing. but can I delete all other folders except 43694177-F795-4C64-9F4B-75DDCDDFE00B? Also how to use the dont_scan_dirs?
I tried change refind.conf with following to skip the 6 old folder, but it still shows up 5 OSX menus
and I also tried following, but same result without success.
So I finally boot into recovery mode, mount Preboot volume, rename every xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/System/Library/CoreServices/boot.efi to boot.efi.orig except leaving only the 43694177-F795-4C64-9F4B-75DDCDDFE00B/System/Library/CoreServices/boot.efi untouched. This finally make rEFInd show only 1 OSX preboot menu and successfully boot into OSX 10.13.3 without issue.
My old MBP only have 1 entry and only cache folder under /System/Library without CoreServices folder any or any *.efi files under them. . it seems during reinstall OSX, the latest 10.13.3 installer do not remove the old entry anymore. my OLD mbp was clean install 10.13 then upgraded to 10.13.3.
Last edit: Leonk 2018-02-12
Dual boot (no scan, manual only): OSX & ARCH