Some old macbook does not understand script in that way.
That stupid script took me a long time to figure out.
Code:mm 0010003E 1 ;PCI :8 mm 02000004 1 ;PCI :7 fs0: EFI\Microsoft\Boot\Bootmgfw.efi
this is my code but you should be able to write your own based on mine.
1. Let's expand the shell:
Shell> mode 160 42
2. Let's check default values. and enable VGA:
Shell> pci -i 00 10 00 (Bridge Control(3E) - Register 03 = 0)
Shell> mm 0010003E -PCI 8
Shell> pci -i 00 10 00 (Register 03: 1)
The following command enables I/O access and sets Bus master. Verify:
Shell> pci -i 02 00 00 (Command(4) Register 00: 0. Register 02: 0)
Shell> mm 02000004 -PCI 7
Shell> pci -i 02 00 00 (Register 00: 1, Register 02: 1)
Shell> fs0:
Shell > EFI\Microsoft\Boot\Bootmgfw.efi
pci -b
00 01 00 00
pci -i 00 01 00 -b
mm 0001003E -PCI 8
little guide to find registers and values: (values shown are for my macbook pro 3,1, gf8600m gt only)
Hope this helps someone out there![]()
I see quite a lot of people succeed installing Windows 7 in EFI mode.
However, I am not sure how many people having problem with Brightness button.
Is it just me that having this function not working? or others already fixed it??
I see a lot of people with successful installations and I am very glad this is working perfectly
Will we be able to install Windows alongside OSX on the same hard drive? It seems to me that entire drive format is needed if you want to have this type of configuration.
Don't rely on Apple "fixing" anything with regards to running/installing Windows on their computers. For starters, they need to start following the UEFI standard. I doubt Microsoft will do anything with regards to this either, since any effort from their side can be rendered useless if Apple doesn't agree to follow standards.
It's not only about following UEFI. The fact that Macs don't implement UEFI only impacts the BCD creation. Windows only needs RS->QueryVariableInfo for editing the startup environment.
The part with the VGA emulation is a Microsoft requirement and it's a real doozie on their side.
The part with the VGA registers is a problem with the display drivers from NVidia and AMD (Intel gets it right though).
It's mostly a split fault issue. I've solved the VGA registers a long time ago and here's the status on the other two:
VGA emulation
==========
1) Search for viable option ROMs in the firmware, PCI BAR, FileSystem - DONE
2) Match viable option ROMs to the active video cards - DONE
3) Load the viable option ROM - DONE
4) POST the viable option ROM - still working on it
I've tried porting the SCITECH X86Emu to MSVC and that proved more difficult than expected. So I've decided to port my application to Tiano Core GCC. I'm now (this upcoming week) attempting to post the video card using the SciTech X86emu.
RS->QueryVariableInfo
==============
1) Identify the Flash Firmware Volume that contains the NVRAM Storage - DONE
2) Create a and install a new Runtime Services Table that also contains a pointer to my version of QueryRuntimeServices - DONE
3) Install the driver as a runtime driver - DONE
4) When SetVirtualAddressMap is ran by the OS loader, I have a handler that converts the pointers. However I don't know which pointers need converting. Apple's RuntimeServicesDxe also converts some pointers and I don't know if in my RS table or in the old one. Converting pointers twice is not really going to fly. Unfortunately here is where I'm lost. The code works perfectly in boot mode, but it fails in Runtime and I have no idea how to debug it. If anyone wants to give it a show, I can send you a copy of it.
So, just like one month ago, I'm stuck in the same places but at least the VGA emulation is going somewhere (for now).
I see a lot of people with successful installations and I am very glad this is working perfectly
Will we be able to install Windows alongside OSX on the same hard drive? It seems to me that entire drive format is needed if you want to have this type of configuration.
So, basically, not having possibility to install two OSs (OSX and Windows) on same drive is Windows installation problem?
So, basically, not having possibility to install two OS’s (OSX and Windows) on same drive is Windows installation problem?
iMac:~ razvan$ sudo fdisk -e /dev/disk0
Enter 'help' for information
fdisk: 1> p
Disk: /dev/disk0 geometry: 77825/255/63 [1250263728 sectors]
Offset: 0 Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
2: AF 1023 254 63 - 1023 254 63 [ 409640 - 1181779440] HFS+
3: AB 1023 254 63 - 1023 254 63 [1182189080 - 1278440] Darwin Boot
*4: 07 1023 254 63 - 1023 254 63 [1183467520 - 66795520] HPFS/QNX/AUX
fdisk: 1> edit 2
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
2: AF 1023 254 63 - 1023 254 63 [ 409640 - 1181779440] HFS+
Partition id ('0' to disable) [0 - FF]: [AF] (? for help) 0
Partition 2 is disabled.
fdisk:*1> edit 3
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
3: AB 1023 254 63 - 1023 254 63 [1182189080 - 1278440] Darwin Boot
Partition id ('0' to disable) [0 - FF]: [AB] (? for help) 0
Partition 3 is disabled.
fdisk:*1> edit 4
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
*4: 07 1023 254 63 - 1023 254 63 [1183467520 - 66795520] HPFS/QNX/AUX
Partition id ('0' to disable) [0 - FF]: [7] (? for help) 0
Partition 4 is disabled.
fdisk:*1> edit 1
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
Partition id ('0' to disable) [0 - FF]: [EE] (? for help)
Do you wish to edit in CHS mode? [n] n
Partition offset [0 - 1250263728]: [63] 1
Partition size [1 - 1250263727]: [1250263727]
fdisk:*1> write
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] y
Writing MBR at offset 0.
fdisk: 1> quit
iMac:~ razvan$
Remove the other MBR partitions and make the EFI Protective Partition occupy the while disk as follows
You have to use the Command Shell in OS-X. Herefter, execute the fdisk command. See the post from d3v1l.Maybee it's seems to be easy to someone but I don't understand how to do that.
Sorry to disturb.
Start a Terminal (/Application/Utilities/Terminal.app)Maybee it's seems to be easy to someone but I don't understand how to do that.