Dual Boot


Just follow this page:
https://chriswayg.gitbook.io/opencore-visual-beginners-guide/advanced-topics/dual-boot-options/create-refind-booter
It enalbes you to select which OS you would like to boot.
  1. Find rEFInd
  2. Download the pre-settings for /EFI/BOOT
  3. make new /EFI
    1. replace OpenCore /EFI/BOOT with rEFInd /EFI/BOOT which has refind.conf
    2. just copy /EFI/OC/
    3. copy /EFI/Microsoft/
  4. Go to BIOS: Disable "Windows Boot Manager".
  5. Then rEFInd will be automatically booted and you can select an OS to boot.

Assign a letter to a partition(Volume in windows terminology):
  1. diskpart
  2. list disk
  3. select disk 0
  4. list volume
  5. detail disk
  6. select volume 0 # C:\windows (it is 0, not 1, even though EFI is located before win10 body)
  7. assing letter=C
  8. select volume 1 # EFI
  9. assign letter=S
  10. select volume 2 # win recovery
  11. assign letter=T
  12. (remove letter=T) # when you remove a letter from a volume
  • Dual Boot by this way possible. https://www.insanelymac.com/forum/topic/346365-guide-dual-boot-for-windows-1011
    1. make /EFI/OC, /EFI/BOOT, /EFI/Microsoft, Delete /EFI/Apple as shown below.
    2. Windows boots up automatically. (OC does not boot so you can not select an OS.)
    3. Run this command on Windows command prompt:
    4. $ bcdedit /set {bootmgr} path \EFI\OC\OpenCore.efi
    5. To get it back
    6. $ bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
  • BCDboot
  • Fix resumeobject in bcdedit. resumeobject(ID) is changed by EFI "recreation".
    1. bcdboot c:\windows # get back to \EFI\Microsoft\Boot\bootmgfw.efi
    2. bcdboot c:\windows /s s: /f UEFI

    20220924