Windows 10: Apple MBP: UEFI installation won't boot after image apply

  1.    25 Aug 2015 #1

    Apple MBP: UEFI installation won't boot after image apply

    Hi, last few hours I spent trying to manually deploy Windows 10 on clean GPT disk but after applying image and rebooting I always end in unbootable state.

    I manually setup drive like this:
    select disk 0
    convert gpt
    create partition primary size 350 #RE tools won't fit 300MB anymore :-)
    format quick fs ntfs label "Windows RE tools"
    assign letter t
    set id de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes 0x8000000000000001
    create partition efi size 100
    format quick fs fat32 label System
    assign letter s
    create partition msr size 128
    create partition primary 
    format quick fs ntfs label Windows
    assign letter w
    list volume
    #no recovery image partition as per documentation it is no longer needed
    and followed by pretty common deployment:
    dism /apply-image /imagefile:g:\Sources\install.wim /index:1 /applydir:w:\
    dism /image:w:\ /set-Timezone:"Central Europe Standard Time"
    md T:\Recovery\WindowsRE
    attrib w:\Windows\System32\Recovery\Winre.wim -h -s -r
    copy w:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\winre.wim
    bcdboot w:\windows /s s: /f UEFI
    w:\Windows\System32\reagentc /setreimage /path T:\Recovery\WindowsRE /target w:\Windows
    After reboot I always end unbootable (as we talk Apple computer it means 1) no partition on Option or 2) folder with ? or 3) just gray screen, make your pick). There's a chance that Windows rely on some UEFI 2.0 feature, which is not available as the old guy has 1.2 only. Or maybe I missed some step somewhere. Any ideas?
      My ComputerSystem Spec

  2.    25 Aug 2015 #2

    Only macs with PCIe SSD support UEFI. For MBP that is only retina versions from late 2013 or more recent (your 5.1 is 2009 I think). Even if you can get UEFI to boot you'll get no sound etc as there aren't any drivers.

    You'd want to use BIOS emulation. Method is (actually simpler):

    list disk
    Take note of the disk you want to select
    select disk 1 (if your disk is Disk 1)
    convert mbr
    create partition primary
    format fs=ntfs quick label=Whatever
    assign letter=E

    Open up File Explorer. In your C drive, create a new folder named WIN2GO.
    Put the install.wim file in this folder

    Back in cmd.exe:
    dism /apply-image /imagefile:C:\WIN2GO\install.wim /index:1 /applydir:E:\ (this process will take quite a while)
    E:\Windows\System32\bcdboot E:\Windows /s E: /f ALL

      My ComputerSystem Spec

  3.    25 Aug 2015 #3

    halasz: Actually, that's not true at all. If you don't mind MBR (BIOS emulation), you just pop Windows DVD into drive and install them like on any other laptop. All drivers are available in Windows Update immediately (chipset is nForce, audio is generic Realtek, etc..), I was running that MBP5.1 with Win 8.1 for the whole last year. Now I even have Windows 10 there, again, fully working, all devices installed, but only MBR. All those extra steps are required only in case you want to run UEFI, not legacy (or when you do not have optical drive and your MBP is too old to be able to boot from USB). Apparently, I'm just missing some step to have it running from UEFI from GPT and that's why I asked here. (overly simplified but let's pretend MBR='BIOS Emulation'=legacy and GPT=UEFI, even though they are different things, in this context I mean it the same)

    For those who would ever think about doing the same as me, running MacBook with Windows only, the less known fact is that all you need from bootcamp is \Drivers\Apple\(x64)\bootcamp(x64).msi. You need:
    bootcamp 4.x for Win 7
    bootcamp 5.x for Win 8(.1)
    and now
    bootcamp 6.x for Win 10.
    As Apple do not freely distribute bootcamp package anymore (from 6.x up), you need to get your hands on any Mac, run BCA and let it create USB with drivers from Apple update (hefty 3GB download just for 5MB of bootcamp.msi). While setup.exe won't let you run it on unsupported hw, you do not want to run setup.exe anyway. In elevated command prompt you run 'msiexec /i bootcamp.msi' and your BC control panel is installed, providing you with:
    Keyboard backlight
    Choice between F1-12 and function keys
    Touchpad controls (like right click with double touch)
    OSD for function keys
    and a few other small things.
    In all the other aspects it behaves like generic laptop (no UEFI user iface etc, but you've got the idea).

    TL;DR: You can install Windows on any MBP like on common laptop, you don't even need OSX for that. Just install correct \Drivers\Apple\(x64)\bootcamp(x64).msi after installing Windows to have it fully working.

    I would turn this into some kind of guide but dunno where and how. Hopefully it will help to someone who runs over it incidentally.
      My ComputerSystem Spec


Related Threads
Hello all, I didn't really know where to post this besides here. I currently plan on doing a clean install on a new ssd of Windows 10. My current mobo is a ASUS P8z68-V which has UEFI so I plan on doing a UEFI installation of Windows 10. However, I...
So before I installed Windows 10, my apple earbuds worked fine in Windows 7. Now, whenever I plug them in to the laptop jack in the front, it'll say that I've plugged it in. When I go to the sound manager, the headphones don't even show up. ...
Boot mode uefi with secure boot disable in Installation and Upgrade
Ok im about to upgrade to win 10 then do a clean install afterwards of win 10, but i wanted to assure i have everything correct before i start. I updated again my profile with Belarc to assure i have a completed list of my software, i notice this...
Hi there While reading some threads about Ms's possible insistence on "Protected Boot" in the future I was wondering what this would do to the literally zillions of Virtual machines / Virtual desktops and other "Virtual desktop Integration"...
It might be worth it to make a sticky referencing the Windows 7 tutorial for creating USB flash installation media, specifically the part 11 about moving the EFI files around. I have been bashing my head trying to figure out why my laptop refuses to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:58.
Find Us