Jump to content

mitsos345

Members
  • Content count

    3
  • Joined

  • Last visited

About mitsos345

  • Rank
    InsanelyMac Protégé
  1. Ok thank you verdant. I will see to it and post back. in the meantime for some reason unknown to me, computer now shutdowns Ok (did not change bios settings yet). Anyway. Sleep is my next target and hdmi audio from gfx card is also in my todo list. All other "systems apear nominal" hehe . @ verdant -> 1. As I saw in the forum post you redirected me, sleep with fans on is possible. I will try that and post back. 2. As super-lazy as any decent programmer oughts to be... I created a small script to simplify the creation of usb installation medium of Mountain Lion on an MBR partitioned PC disk. The whole process takes aproximatelly 3 minutes! I attach it below for other people to use. If you like it, update your first post by adding my script. For those interested, I suggest that you read the script's notes VERY CAREFULLY before attempting the automated process (Total loss of data due to partitioning new installation medium, is possible). Here it comes: #!/bin/bash # # Script to prepare a usb installation medium for Mountain Lion (creates installation medium for installing OSX on MBR PC Drive) # Works for Nvidia GFX Cards, but can be adopted to AMD easily (look at line 44). # Created by mitsos345, Credits to verdant@insanelymac forums # # Instructions: # 1. Download "verdant_Mountain_LIon_Support_Files_v1.zip" # (http://fs09n4.sendspace.com/dl/e75bd319b80cec197bd99cf9dbeeadef/522b558a3a92fe50/11mqbc/verdant_Mountain_LIon_Support_Files_v1.zip) # ,"2815-OSInstall(MBR)+OSInstall.zip" # (http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=112601) and # Mountain Lion Installation app from appStore Manually (sorry about that), # and put them in your desired working directory (which you must specify in variables section below). # # 2. Use Pacifist to extract /S/L/E Graphics kexts for your system (look verdant's guide) and put them in a folder named "Essentials" # inside working directory. # # 3. Put your Extra folder (with DSDT, kexts, smbios etc, from previous installation - if you do not have, well look verdant's guide ) # in a folder named "backup" inside working directory. # # 4. Change global variables below to match your system # # 5. Run script and enjoy!!! (Comments are welcome) # # WARNING: At the time you run this script you must have only one usb drive attached (or disk in general, apart from the disk of your System)... # If you have multiple disks, change /dev/disk.. accordingly to match your system. I will not be held responsible for any damage your system # may suffer, now or in the future, or for any posible data loss, loss of money, hair, girlfriend, anything... Run this script at your own risk. # YOU HAVE BEEN WARNED!! ############################################################################################################################################################## usbDiskSize="160G" # Size of usb media in GB workDir=/Path/to/Working/Directory # ABSOLUTE PATH to Working Directory ############################################################################################################################################################## cd $workDir for file in *.zip; do unzip $file; done rm -rf __MACOSX sudo diskutil partitiondisk /dev/disk1 1 GPTFormat JHFS+ MacInstall $usbDiskSize sudo hdiutil attach -noverify -noautoopenro -owners on $workDir/Install\ OS\ X\ Mountain\ Lion.app/Contents/SharedSupport/InstallESD.dmg sudo asr restore -source /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg -target /Volumes/MacInstall -erase -noverify sudo diskutil enableOwnership /dev/disk1s2 sudo rm /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages sudo cp -R /Volumes/Mac\ OS\ X\ Install\ ESD/Packages /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/ sudo cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System/ sudo hdiutil detach /dev/disk2 sudo cp -R $workDir/Essentials/{GeForce.kext,GeForceGA.plugin,GeForceGLDriver.bundle,GeForceVADriver.bundle} sudo cp -R $workDir/backup/Extra /Volumes/Mac\ OS\ X\ Base\ System/ sudo rm -rf /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions/AppleRTC.kext sudo cp -R $workDir/verdant_Mountain_LIon_Support_Files_v1.0/64bit\ Kexts\ for\ Sys_Lib_Extensions/nForceLAN.0.64.5.kext /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions/nForceLAN.kext cd /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages sudo mv OSInstall.mpkg OSInstall.mpkg.GPT cd /Volumes/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A sudo mv OSInstall OSInstall.GPT sudo cp -p -R $workDir/2815-OSInstall\(MBR\)+OSInstall/OSInstall.mpkg /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages/ sudo cp -p -R $workDir/2815-OSInstall\(MBR\)+OSInstall/OSInstall /Volumes/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A cd $workDir sudo rm /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Caches/com.apple.kext.caches/Startup/{IOKitPersonalities_i386.ioplist.gz,IOKitPersonalities_x86_64.ioplist.gz,kernelcache,KextPropertyValues_OSBundleHelper_i386.plist.gz,KextPropertyValues_OSBundleHelper_x86_64.plist.gz} sudo chown -R root:wheel /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions sudo chmod -R 755 /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions sudo touch /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions/ sudo chflags nouchg /Volumes/Mac\ OS\ X\ Base\ System/System/Library/CoreServices/boot.efi sudo chown -R 0:0 /Volumes/Mac\ OS\ X\ Base\ System cd $workDir/verdant_Mountain_LIon_Support_Files_v1.0/Chameleon\ Bootloader/ unzip Chameleon-2.1svn-r2042.pkg.zip sudo open ./Chameleon-2.1svn-r2042.pkg Have fun!!
  2. Ok, I am back to say that after repatching DSDT and reinstalling kexts from "Essentials.pkg" system is UP! I used "GraphicsEnabler=Yes" and GFX Card worked OOB. I additionally extracted all SSDT tables (SSDT.aml, SSDT-2.aml..., SSDT-4.aml), put it in /Extra and disabled all "Generate PStates - CStates etc, enabled DropSSDT in org.Chameleon.Boot.plist. That thing only eliminated a lot of warnings at startup but did not enable sleep or shutdown (@verdant -> Does your Hacintosh shutdown properly? aka without having to push the power button for > 4 sec after CPU Halt?). Additionally, I patched DSDT with my GFX and onboard HDA (HDMI via GFX card) with help of verdant (Thanks again). It worked without "GraphicsEnabler=Yes" (Hurray!!) but no HDMI audio showed up in System Info and I had to wait on login for 5 minutes before keyboard and mouse got responsive (!). @verdant -> Do you also have that 5 minute lag at login window? If you solved this and the other problem with shutdown, please tell me how. Thanks again. PS: I updated my signature with my hardware specs.
  3. @ verdant Hello, I used your guide and had a working system (THANK U!), well.. except graphics card (low res). I had a Nvidia Geforce 6600, which i replaced with GeForce210, which is supposed to work OOB. Unfortunatelly i get Kernel panic since then (a lot...) with diferent kexts in backtrace everytime. I tried almost everything (repeair permissions, rebuild kextcache, pciroot=1 and npci=0x2000 in chameleon to no avail. I have same MOBO as you are (with 4GB ram) and i was wantering if you could post your patched DSDT and org.ChameleonBoot.plist for me to try and post back. Thank you very much!
×