Jump to content

[GUIDE] Scripted Yosemite/Mavericks Install on Gigabyte Mobos


4,696 posts in this topic

Recommended Posts

Hakintos,

What bootloader is/was installed? And, at what point does this warning display? Never seen it before!

What version of script used?

 

best of wishes,

MAJ

 

I followed the guide http://www.taranfx.com/install-mac-os-lion...n-pc-hackintosh # ixzz1Iw8AlDaU

 

os_x_10.7_dp_install.zip

 

Since I started Lion, with the flag of [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] usb. Board Serial: Mac-F428DA9-v

 

EFI_FAT32.zip

 

The audio I detect it, but I have no sound. :D

Link to comment
Share on other sites

tonelab77,

The method you describe is obsolutely correct. However, keep in mind that the two EFI strings need to be combined as one.

What do you mean by "combined as one"? Can't I just append the string to the combined/appended (current) string that has GFX with LAN appended?

 

So, if I have this right, I need to pull the working GFX card out and install the new card (in the 2nd slot), then boot and open your script and append an EFI string for the new card to the current EFI string (option #7 of your script)?

 

If that's correct, I only have one question. How will the computer boot with the new card without the EFI string appended beforehand?

 

Thanks again!

Link to comment
Share on other sites

tsunoo,

That snapshot is of the double fault kernel panic we've all run into when using the Chameleon bootloader on Lion. Hopefully, the Chameleon team will get it solved sometime.

 

 

Hakintos,

There isn't much I can do about this as you're using the [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] bootloader. I don't use it and have no experience with it.

 

 

What do you mean by "combined as one"? Can't I just append the string to the combined/appended (current) string that has GFX with LAN appended?

<snip>

In theory, that's the way it should work, but the script is going to get confused by the two device trees needed (one for each card) and it assumes there should only be one display device tree. So, no, that won't work with the script.

 

Each card should produce a plist, before it's converted to a EFI string by the gfxutil utility.

The two plists need to be combined first to make one EFI string. Below is the "sample" plist before it gets converted to a hex EFI string:

 

<?xml version="1.0" encoding="UTF-8"?>
	   <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
	   <plist version="1.0">
	   <dict>
		   <key>PciRoot(0x1)/Pci(0xe,0x0)/Pci(0x0,0x0)</key>   <-----This is where the device tree for one card will go.
		   <dict>
			   <key>@0,compatible</key>						<----- Beginning of plist for first card.
			   <string>NVDA,NVMac</string>
			   <key>@0,device_type</key>
			   <string>display</string>
	 etc., etc.....
			   <key>rom-revision</key>
			   <string>3172a</string>
		   </dict>											 <----- End of plist for first card.
		   <key>PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>   <-----This is where the device tree for other card will go.
		   <dict>
			   <key>@0,compatible</key>						<----- Beginning of plist for second card.
			   <string>NVDA,NVMac</string>
			   <key>@0,device_type</key>
			   <string>display</string>
	   etc., etc.....
			   <key>rom-revision</key>
			   <string>nVidia GeForce Model Name OpenGL Engine [EFI]</string>
		   </dict>											 <----- End of plist for second card.
	   </dict>
	   </plist>

 

The finished combo plist is then converted to a EFI string to paste into your boot plist as a device-properties string.

The included links I showed you has all the information you will need.

 

So, if I have this right, I need to pull the working GFX card out and install the new card (in the 2nd slot), then boot and open your script and append an EFI string for the new card to the current EFI string (option #7 of your script)?

Don't use my script to append or combine any information. Just use it to create a EFI string for each card.

Then, go into the Install.log and you will see the actual plist for each card, before it got converted to a EFI string.

I would copy each one and put it into a text editor, using the format described above. Then use the gfxutil utility to convert it to a hex string. That will get pasted into your boot plist.

 

If that's correct, I only have one question. How will the computer boot with the new card without the EFI string appended beforehand?

You are going to have to find a injector kext, like NVEnabler.kext, or find a ready-made EFI string where you will have to edit to include the device tree for that card. You can try booting into Safe Mode and have the script create one for you, then reboot to see if you got QE/CI enabled. I haven't tried something like that, but it should work. The script doesn't depend on graphics acceleration to provide a working EFI string.

 

Anyhow, after getting both cards working individually, extract the plist info from the script's Install.log to build the combo plist/EFI string. Paste the converted hex string into the device-properties string in the boot plist and make sure it's in /Extra. Boot with fingers crossed. :)

 

MAJ

Link to comment
Share on other sites

tsunoo,

That snapshot is of the double fault kernel panic we've all run into when using the Chameleon bootloader on Lion. Hopefully, the Chameleon team will get it solved sometime.

 

MAJ

 

you wrote (on the first page)

Some have reported that including their DSDT file in /Extra solves a power management kext related KP.

and that's right :-) without dsdt file Lion goes further but has a KP on power management

have a nice day, tsunoo

Link to comment
Share on other sites

I still can't install it. And i guess my GTX 285 card is the problem.

After i try to install, so.. i boot ,i press -v, and after 4-5 seconds i see the grey Apple for 1 second, than the PC restart and the monitor seems to have no connection to the videocard.

How can i fix this ?

Digital Dreamer told me to fix it with efi string ( ? )

But i don't know what is that mean.

I searched more, and i found this :

BEFORE YOU BEGIN

  • If you have greater than 4gb of RAM, remove the extra RAM for a maximum of 4gb. You can put back any extra RAM in after the installation process.
  • Use only 1 graphics card in the 1st PCIe slot with 1 monitor plugged in.
  • Remove any hard drives besides the blank drive being used for OS X.
  • Remove any USB peripherals besides keyboard and mouse.
  • Remove any PCI cards besides graphics- they may not be Mac compatible.
  • If using a Gigabyte 1156 board, use the blue Intel SATA ports- not the white Gigabyte SATA ports.
  • It's best to use an empty hard drive- you will have to partition and format the drive

That means, i really have to remove my graphic card from slot 2 PCIe to slot 1 PCIe ??

And i have the sound card and tv tuner, as well, both PCI. Do i have to remove them at all, before i install SL ?

Link to comment
Share on other sites

I still can't install it. And i guess my GTX 285 card is the problem.

After i try to install, so.. i boot ,i press -v, and after 4-5 seconds i see the grey Apple for 1 second, than the PC restart and the monitor seems to have no connection to the videocard.

How can i fix this ?

Digital Dreamer told me to fix it with efi string ( ? )

But i don't know what is that mean.

I searched more, and i found this :

BEFORE YOU BEGIN

  • If you have greater than 4gb of RAM, remove the extra RAM for a maximum of 4gb. You can put back any extra RAM in after the installation process.
  • Use only 1 graphics card in the 1st PCIe slot with 1 monitor plugged in.
  • Remove any hard drives besides the blank drive being used for OS X.
  • Remove any USB peripherals besides keyboard and mouse.
  • Remove any PCI cards besides graphics- they may not be Mac compatible.
  • If using a Gigabyte 1156 board, use the blue Intel SATA ports- not the white Gigabyte SATA ports.
  • It's best to use an empty hard drive- you will have to partition and format the drive

That means, i really have to remove my graphic card from slot 2 PCIe to slot 1 PCIe ??

And i have the sound card and tv tuner, as well, both PCI. Do i have to remove them at all, before i install SL ?

 

read a lot :-)

and look at the Menu #9 : Modify plists and EFI strings. It will help you!

 

with less hardware you have a better chance to boot. TV tuner card are resource hungry... perhaps it is the problem (but I don't think so)

Link to comment
Share on other sites

dd

install by script work boot and install

 

but after install lion not working - i change vga card - now i have new card ati 6870 - so lion not work with ati 6870 or gtx 285

 

pls dd

 

attach the u dsdt of lion to test on my pc to boot lion

 

sorry about my english

Link to comment
Share on other sites

10.7. DP2 install working with your script after applying dsdt patch to usb drive

10.7. DP2 booting with efi 10.6. for dp2 from your script with fakesmc.kext version 2.7.2 and IOAHCIBlockStorageInjector.kext only, booting 64BIT mode, added GenerateCstates=Yes to KernelFlag

 

the following is working: graphics, wifi, sleep (no idle sleep), shutdown, restart, native power management, sound with logitech

not working: Bios Reset Fix (maybe caused by Bootloader?)

good work DD Thanks

 

Having "double fault" all 8 out of 10 tries. Works best with cold started system.

Link to comment
Share on other sites

hi DD,

 

I did update my DP1 to DP2 with your hackinstaller (version 5.54), thank you !

 

Used EFI string for GTX 285 and had to replace IONetwork... + AppleHDA + put LegacyHDA into S/L/E and yes it's all OK.

So graphics + sound + LAN = OK :D

 

I wonder if this easy way will still work with Lion GM ?

Link to comment
Share on other sites

Hello, please tell me guys, what is that means ? Is this bootable or not ?

I tried to burn with PowerIso, but after i reject [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] disk, i insert the DVD Snow Leopard and all i see is the grey apple, for about 2 minutes. I cannot install it.

Do i have to modify this image ? Should there in PowerIso ( down - left corner ) Apple + HFS appear, instead Hybrid Mac/ PC Image ?

Thanks.

post-152942-1302803260_thumb.jpg

Link to comment
Share on other sites

Hello, please tell me guys, what is that means ? Is this bootable or not ?

I tried to burn with PowerIso, but after i reject [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] disk, i insert the DVD Snow Leopard and all i see is the grey apple, for about 2 minutes. I cannot install it.

Do i have to modify this image ? Should there in PowerIso ( down - left corner ) Apple + HFS appear, instead Hybrid Mac/ PC Image ?

Thanks.

 

The hybrid Mac/PC Image is correct. You'll want to burn a hybrid Mac/PC Image. Getting the BIOS to read a HFS CD is not possible.

 

Second, and this applies to anyone on this thread: I don't support the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] bootloader.

It's not that I have something against it. It's because I don't use it and don't know it enough to offer help/assistance. I only support the Chameleon based bootloaders in the script, as I understand it and work with it in the script.

 

Now, there are two [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] bootloaders in existance. One is by tonymacx86 and that one is Chameleon-based. But, that's all I know. The other is a DUET type bootloader (EFI based) and is currently being used to boot Lion for many users. That one I don't know enough about either.

 

If you want to use [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] and need support, go to the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] thread(s). If you want to use my script, then you can get support for that here. The two are not interchangeable. Although, I assume my script will work with a [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] install (tonymacx86), being that it's Chameleon based, I, and others here, can't realisticly be expected to offer support for it.

 

MAJ

Link to comment
Share on other sites

dd

install by script work boot and install

 

but after install lion not working - i change vga card - now i have new card ati 6870 - so lion not work with ati 6870 or gtx 285

 

pls dd

 

attach the u dsdt of lion to test on my pc to boot lion

 

sorry about my english

It's not exactly clear what is not working.

I'm not sure the graphics cards work OOTB or if they need the info injected via EFI string (for GTX 285) or kext injector. Do you have GraphicsEnabler=Yes in the boot plist?

Yes, use your current DSDT file from the SL install for Lion.

 

Thanks, DD

I ask again, just to make sure i understood right.

You told me to use Method 1 install Via preboot CD.

Can i use this method IF I HAVE ALREADY OSX Leopard installed ? Leopard, not SL.

Yes, that will work. Actually, the preboot CD method doesn't require a existing OS install.

 

OK.

So I bought everything that is on my signature, but when I swap the BootCD with the Snow Leopard DVD and press enter, it starts loading but then I get a black screen. I don't know what to do.

Thanks in advance.

That's likely a graphics issue. You'll need some way to inject your ATI 5670 GPU info. Is the graphics enabler key enabled in boot plist?

Have you tried the ATY_Init.kext?

EDIT: RE: ATY_Init.kext

I just see support for the 5870, 5850, 5900, and 5700. Try the graphics forum for some ideas.

{I wish the forum would allow signatures to show up when replying. :rolleyes: }

 

MAJ

Link to comment
Share on other sites

That's likely a graphics issue. You'll need some way to inject your ATI 5670 GPU info. Is the graphics enabler key enabled in boot plist?

Have you tried the ATY_Init.kext?

EDIT: RE: ATY_Init.kext

I just see support for the 5870, 5850, 5900, and 5700. Try the graphics forum for some ideas.

{I wish the forum would allow signatures to show up when replying. :rolleyes: }

 

MAJ

I don't understand I took the graphics card from the latest iMacs (my goal was to build a hack as close as possible from an iMac).

Link to comment
Share on other sites

Thanks, DD

I ask again, just to make sure i understood right.

You told me to use Method 1 install Via preboot CD.

Can i use this method IF I HAVE ALREADY OSX Leopard installed ? Leopard, not SL.

 

I tried with Method 1 install Via preboot CD

Same story. I guess, my graphiccard is the "problem"

All i can see after i eject the prebootCD / insert SL DVD, is the grey background and the grey Apple logo in the middle of the screen. And nothing happent.

I'm really out of ideas, now.

Link to comment
Share on other sites

Software update DP2 to 430e. Only casualty was audio. Reruning kext installer in DD's script restored to all working. Board is X58-UD3R. The double fault KP seems to occur much less in DP2. My trick on the double fault is to start with a cold boot. If I get 3 04 double faults in a row, I remove power from the PS (off switch on PS), turn power on after a few seconds and boot. It usually starts of the first try.

Link to comment
Share on other sites

I don't understand I took the graphics card from the latest iMacs (my goal was to build a hack as close as possible from an iMac).

Apple-branded graphics cards are different from PC graphics cards. That's why injectors, EFI strings, bootloaders with graphics detection, etc. are needed to make them work. If you had a Apple-branded retail ATI 5670 (not sure there is such a thing), it would work OOTB.

See the graphics forum for more info, particularly this thread.

 

I tried with Method 1 install Via preboot CD

Same story. I guess, my graphiccard is the "problem"

All i can see after i eject the prebootCD / insert SL DVD, is the grey background and the grey Apple logo in the middle of the screen. And nothing happent.

I'm really out of ideas, now.

You need to boot with the -v flag (verbose mode), so you can see what's going on. The Apple logo isn't going to tell us anything.

 

 

 

BTW, those of you with Lion installs, I found that changing the system serial number (SMserial key in smbios.plist) is what determines the Mac type that's displayed in the About This Mac box. I have the description for the SMserial key in the script wrong (Mac OS serial number), it's actually the hardware or system serial number.

 

You can use the serial I have here, if you wish. Note that the last three characters (4PD) are what's used to signify this Mac as a Mac Pro "Quad Core" 2.66 (2009/Nehalem) of early 2009, using the MacPro4,1 Mac identifier. This is close to what the Gigabyte board and CPU is when stock.

 

The other characters corresponds to the country where the mac was made, the year and week the Mac was built, as well as unit number. You might get away with changing some of those, as I'm not sure the OS parses any of that info.

 

Lion_DP2_Screeny.png

Link to comment
Share on other sites

@DD

After i reject the boot CD ( whatever it is, [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url], EFI Empire, or whatever ) i insert the SL DVD, and on the left corner - up, i receive some "messages" like this :

 

EBIOS read error: Error 0xbb

 

About 6-7 times, and shortly after that, the background is getting grey, with the Apple logo.

Nothing happent anymore, from here.

PS : I can't choice -v

I have the BIOS version F9. The last one is F12 ( enhanced memory compatibility)

Should i flash the BIOS, maybe ??

Link to comment
Share on other sites

Hi everyone :(,

 

Just wanted to know if anyone else gets a kernel panic on Lion DP2 (430e) when they install voodoohda 2.7.2? Haven't been able to install voodoohda without getting an kernel panic immediately (when the script was creating the kernelcache I already got a kernel panic)...

 

DD, didn't you have any problems? Do I need to take extra steps?

 

Thanks DD for your work ;), haven't been able to install Lion DP2 without your script!

Link to comment
Share on other sites

BTW, those of you with Lion installs, I found that changing the system serial number (SMserial key in smbios.plist) is what determines the Mac type that's displayed in the About This Mac box. I have the description for the SMserial key in the script wrong (Mac OS serial number), it's actually the hardware or system serial number.

 

You can use the serial I have here, if you wish. Note that the last three characters (4PD) are what's used to signify this Mac as a Mac Pro "Quad Core" 2.66 (2009/Nehalem) of early 2009, using the MacPro4,1 Mac identifier. This is close to what the Gigabyte board and CPU is when stock.

 

The other characters corresponds to the country where the mac was made, the year and week the Mac was built, as well as unit number. You might get away with changing some of those, as I'm not sure the OS parses any of that info.

Thanks for this info DD. I have been cracking my head around this with no results whatsoever.

 

You are a star... ;)

Link to comment
Share on other sites

@DD

After i reject the boot CD ( whatever it is, [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url], EFI Empire, or whatever ) i insert the SL DVD, and on the left corner - up, i receive some "messages" like this :

 

EBIOS read error: Error 0xbb

 

About 6-7 times, and shortly after that, the background is getting grey, with the Apple logo.

Nothing happent anymore, from here.

PS : I can't choice -v

I have the BIOS version F9. The last one is F12 ( enhanced memory compatibility)

Should i flash the BIOS, maybe ??

Are you waiting for the DVD reader light to stop flashing/go out before you hit "Enter/Return"?

Are you using a Retail DVD or one you burned yourself? If one your burned yourself, I would suggest burning to different DVD media and/or using a slower speed.

Those read errors should not occur on the Install disc. They can happen on the bootloader disc (Preboot CD) with little consequence. But, read errors on the Install disc is fatal.

 

Just wanted to know if anyone else gets a kernel panic on Lion DP2 (430e) when they install voodoohda 2.7.2? Haven't been able to install voodoohda without getting an kernel panic immediately (when the script was creating the kernelcache I already got a kernel panic)...

Hey, Windows04,

I reckon you're talking about installing it while in Lion. I haven't tried that. yet. :rolleyes: I'll see what's going on. Sounds like a VoodooHDA issue. The kext is rather unusual, as it doesn't have a mkext filter flag, so maybe the kextcache command is confused in Lion. Up to this point, I've always installed from SL (no kernelcache is really built in SL).

If this is really a issue, I may have to have the script update the kernel cache without including the VoodooHDA.kext, but keep it installed in S/L/E and just expect the OS to do its job in loading it for the kernel on a reboot.

 

CruiSAr,

Heh, I actually cheated. Found out about the trick in the Lion DP thread. :D

But, I still had to do some research on the Mac SN makeup and get a SN that would work as a Mac Pro of that era. Took me a few hours.

 

MAJ

Link to comment
Share on other sites

(sorry for the PM dd, able to post now)

 

I can't update to 10.6.7. I've been using this script for about 2 years or so and always have some kind of issue when updating but usually it's fixable. When I update I get the "Still waiting for root device error". I reinstalled from 10.6.0 and it works fine until I update and get the same issue.

 

I'm running a different motherboard, (MSI X58 Platinum) I know it's not the usual but I would appreciate some feedback as what I can do. I'm just trying to play Portal 2 :D ANY help is appreciated thank you.

Link to comment
Share on other sites

 Share

×
×
  • Create New...