주요 콘텐츠로 건너뛰기

2009년 중반기 모델 A1278 / 2.26 or 2.53 GHz Core 2 Duo 프로세서 EMC 2326

745 질문 전체 보기

Windows 8.1 efi code to enable vga doesn't stay saved after reboot.

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.

답변되었습니다! 답변 보기 저도 같은 문제를 겪고 있습니다

좋은 질문 입니까?

점수 2
댓글 8개

It's not working on my MacBook pro mid 2009 dual boot Catalina and win 10 and install refind,still doesn't start when enable VGA on windows 10, already follow your tuturial and copy and replace bootloader and copy startup.nsh file

Hello! Thank you for the info and the zip. It's not working on my MacBook Late 2009 dual boot Catalina and Win 10 (with Refind). You know what code i need to modify to fix this black screen with my Nvidia 9400M drivers? i would be so grateful to you if you help me. Regards!

i amazed to see people still trying to fix the a1278, anyways, i personally never did on dual boot, i would suggest trying single windows boot with windows 8.1. but before that try entering the given code in my guide, in shell , if it works later you can add proper codes in startup.nsh by editing it. the reason my codes are failing is because i guess the boot paths might be different on dual boot.

Yes,it work on single boot win 10,to do that,first press option then choose boot,enter and press option again to load startup.nsh,if start normaly it wont boot up,just loading windows then black screen and repair windows. how to make automatic load startup.nsh on windows 10 ? Many thanks and sorry for bad english

@neplealfaqir it should boot normally every time, just without the vga drivers, if it doesn't boot normally issue is something esle, try wiindows 10 older versions, i would recommend installing windows 8.1 according to hardware specs, windows 10 is extremely bulky for core2duo/4gb ram max, Remember windows should boot, without drivers as windows installs with temporary vga driver.

댓글 3개 더보기

댓글 달기

답변 4개

선택된 답변

Leave a like if it helped.

해당 답변은 도움이 되었습니까?

점수 2
댓글 달기

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.

해당 답변은 도움이 되었습니까?

점수 0
댓글 달기

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

해당 답변은 도움이 되었습니까?

점수 0
댓글 달기

Can you help me with my problem too please? (Original Post)

I believe it's something to do with the EFI register/VGA as well. I have no idea about the EFI shell or how to use it though.

Thanks!

해당 답변은 도움이 되었습니까?

점수 0
댓글 달기

귀하의 답변을 추가하세요

naineeshvrathod 님은 대단히 고마워 할 것입니다.
조회 통계:

24 시간 전: 0

7일 전: 0

30일 전: 68

전체 시간: 2,950