Chosen Solution

I have installed windows 8.1 again on my macbook 5,5 i was trying to solve the display driver issue Which i faced earlier, as i have seen people, successfully running windows on the same machine, so after a lot of research. they say to make a different efi boot partition by installing mac os x on side of windows, for research purpose i made a dmg with repository shell_full.efi, created folders efi/boot/shell_full.efi renamed it to bootx64.efi. restored the dmg image in pendrive with transmac. it booted in mac, i was in efi shell added, in base of that i booted windows in safe mode, and mounted efi partition with diskpart, i saw efi folder in it and i replaced the original bootx64.efi with the shell_full.efi from Intel’s repository download. now when i boot, it directly enters the efi shell. so after researching i found the vga controller was the problem, so this mm 0010003E -PCI 8 mm 02000004 -PCI 7 code worked for me, as i checked earlier, then Shell> fs0: Shell > EFI\Microsoft\Boot\Bootmgfw.efi windows 8.1 booted with nvidia drivers, so i thought i should replace the original efi, as the code might have been saved but as I rebooted, windows doesn’t boot again, i have to re-enter the code to make it work again, everytime, so can anyone tell me, can i make some xml or inf to configure the boot to enable this vga controller with codes? or how can i permanently save it? Update (11/30/2018) I solved it myself lol, this time i booted in shell and, the startup.nsh was clicking too much in head, so i entered this command fs0: edit startup.nsh this made me enter the startup.nsh editor added those lines with different flags. mm 0010003E 1 ;PCI :8 mm 02000004 1 ;PCI :7 fs0: \EFI\Microsoft\Boot\bootmgfw.efi and saved it with F2, and exited it and rebooted the Macbook and boom, it enter the command at startup itself and then redirects to the bootloader itself. i hope this helps someone. [Update] i have made backup of my startup.nsh, for macbook A1278 core2duo, download link: https://drive.google.com/open?id=1szfY16… open cmd, mount efi partition, if you don’t know follow the guide correctly. https://superuser.com/questions/662823/h… After mounting the partition, copy the startup.nsh extracted by my file. copy it to the root of the efi partition, so now you won’t need to edit any codes. Now go to efi partition open folder efi/boot/ you would see the bootloader bootx64.efi, just rename it to bckpbootx64.efi, now copy the bootloader provided by me in the zip, only this bootloader executes the startup.nsh. so that’s why we have to replace it. Done! Now you can install Nvidia drivers correctly. i still use this macbook for editing purpose, brightness works with right drivers. do it at your risk, if you don’t understand contact me, if you fail to replace the bootloader the system won’t boot.

Leave a like if it helped.

Thanks OP. Using the two lines of code you provide, My MacbookPro5,5 (2009) has 9400m working with Windows 10 20H2 build. However I could not get the startup.nsh to work now copy the bootloader provided by me in the zip, only this bootloader executes the startup.nsh. so that’s why we have to replace it. For bootx64.efi from Google drive, is it compatible with Windows 10, or Win 8 only? Thanks again.

This worked flawlessly on my macbookpro5,5 2009. Dual-boot Windows 10 2004 and Mojave (using dosdude1 mojave patcher)