Snow Leopard on a Samsung R580 [How to]

Wed, 09/11/2011 - 21:37 -- Remiguel

This "How to" is a copy of my post from Insanelymac

I began with an Acer Aspire 5741g trying to install Leopard first and install successfully snow Leopard later on. This step was helpful to me for choosing a Samsung R580 and began the installation of 10.6.5.

Here are my notes, for Snow Leopard. I have tried to describe more in detail, things Newbie like me, need to look for, to install OSX on a PC. 

Samsung R580

  • Bios vers: 08JB.M032.20100331.
  • Core i3 CPU M 330 @ 2.13GHz.
  • Motherboard HM55.
  • NVIDIA GeForce GT 330M.
  • Audio Realtek ALC269.
  • HDMI Nvidia.
  • Wireless Atheros AR9285 802.11b/g/n.
  • Ethernet Marvell Yukon 88E8059 Family.
  • WebCam SCB-1900N.
  • Bluetooth Broadcom BCM2070.
  • HD Hitachi HTS545050B9A300 (465 GB).
  • SD SanDisk Cruzer Micro.
  • RAM 4GB.

Snow Leopard step I have followed (summary)

  • iAtkos s3.
  • Multibeast.
  • Combo update 10.6.5.
  • Post installation.
    • Trackball.
    • Audio.
    • Speedstep with Chameleon RC5.

What works and what doesn't.

  • Keyboard w/ trackball (w/ kext)
  • Numeric pad doesn't work.
  • Graphic w/ QE.
  • Speedstep works (w/ Kext, Ssdt & Dsdt table).
  • Sound (w/ Kext) but w/o HDMI output.
  • Wireless works OOTB.
  • Webcam works OOTB.
  • CD/DVD works.
  • Card reader works OOTB.
  • USB works (w/ Kext).
  • Sleep works with DSDT patched for Speedstep.

Installation

USB Stick

First at all, I have clone the iAtkos s3 (or iAtkos V7 if you want Leopard) on an USB stick. The installation is faster from USB stick than from a cd or DVD. 

How to (OSX needed)

  • In Disk Utility select your USB device.
  • Go to tab partition.
  • Select 1 partition.
  • Click on option and select GUID partition table.
  • Ok and Apply.

From Disk Utility clic on Restore tab.

  • Drag the iAtkos image on source.
  • Drag your USB on destination.
  • Clic on restore.

Now we need a bootlooder to make our USB stick bootable. I have done it with "PC EFI 10.1". It should work with Chameleon but I do not try it.

  • Google for "PC EFI 10.1".
  • Double click.
  • Select USB as target disk with the change location button.
  • Click on install and wait end of the process.

Now the iAtkos s3 is ready for use on an USB stick.

Dual Boot

I have chosen to kept windows 7 and the ability to restore windows from the first partition. 
I needed only to reduced the size of the windows partition and create a new one for OSX.

How to:

I use a GParted live cd. It is free and it is a fantastic partitions non-destructive resized.

  • Download a GParted or Ubuntu live CD (google it).
  • Burn the image on a CD.
  • Boot your Pc from the fresh burned CD.
  • Resize/reduce the windows partitions.
  • Create a new partition.
  • Format only the new partition in HFS+ format.
  • Exit from GParted.
  • Eject CD.

OSX Installation from iAtkos s3

Because of my above choice, my disk partition table stayed the original one, a MBR partition table. For Leopard it is not an issue but for Snow Leopard, the installation disk need to be patched.

Good news, iAtkos s3 is already patched for us

Boot from the USB stick.

  • At boot prompt press F2 to check your bios configuration.
  • Make sure SATA Mode is AHCI Mode one.
  • Legacy OS Boot: disable
  • Legacy USB: enable
  • Legacy Disk access mode: other
  • Go to the boot tab and set the USB at the top of the list with F6.

Now OSX is booting from the USB stick.

  • Select The iAtkos icon and type "busratio=16" without quote (the command will appear on the bottom of the screen). (please choose the correct ratio according this table.
  • Select language.

I have formatted again my partition, only for safe purpose. Menu Utilities => Disk utility.

  • Choose Mac Extended (Journaled) HFS+ format.
  • Hit erase.
  • Exit Disk Utility.
  • Click to continue.
  • Select the OSX partition.
  • Click to customize.

Here you can choose the bootloader, patch, drivers etc…

  • I have chosen Chameleon V2 RC4 (The bootloader has never be installed correctly for me).
  • Patched.
    • left as proposed (default).
  • Drivers:
    • Sound: choose only one: Voodoo HDA e.g.
    • PS/2: Apple PS/2 one, works for me with 10.5.4 and 10.6.3 (with basic function).
  • Laptop hardware.
    • Battery.
  • Left other driver unselected for the first try.
    • Click on Ok and install.

The installation should end with successfully installed.
The computer will reboot (don't forget busratio).

If the computer stuck on the apple icon or goes in a infinite boot loop the mach_kernel was probably not installed

  • Reboot again on the installation USB disk:
  • Click on Utilities menu and choose terminal.
  • Type df (to identified your disk path).
  • Copy the path of your OSX volume (select it and copy with alt C).
  • Type cp mach_kernel “path of your OSX disk” (past the path copied above without quote).
  • Enter and exit.
  • Quit Mac Installer
  • Reboot (don't forget busratio).
  • This time it should be ok.
  • If not try to type busratio=16 -v (verbose) to identify where the process stuck and fix possible issues. 
  • Configure your account and login. 
  • Once configured, OSX will open (with the Apple welcome video).
  • Open the combo from OSX and install it.
  • Before rebooting Install multibeast.

Multibeast configuration

  • Easybeast.
  • System utility all.
  • OSX86 software all.

Reboot (don't forget busratio=16).

Post installation

Edit com.apple.Boot.plist

  • In the finder click on "Go" menu and choose "Go to folder".
  • Type /Extra.
  • In this folder drag the com.apple.Boot.plist file on your desktop.
  • Open the file with text edit or Property List editor.
  • Insert these lines.
    <key>Kernel Flags</key>
    <string>arch=i386</string>
    <key>GraphicsEnabler</key>
    <string>Yes</string>

At reboot you will not have to enter again busratio. It seems 10.6.5 with arch=i386 flag avoid the need of busratio flag.

Check Kext

In /Extra/Extensions or in /System/Library/Extensions/ you should have at least:

  • ElliottForceLegacyRTC.kext
  • EvOreboot.kext
  • Fakesmc.kext
  • VoodooBattery.kext
  • Disable.kext
  • NullCPUPowerManagement.kext 
  • ApplePS2Controller.kext
  • IO80211Family.kext

A step further in post installation

Bootloader

I Install Chameleon-2.0-RC5-r653 to get benefit of the new features.

  • Double click on the package.
  • Before clicking on install choose customize.
  • Choose:
    • boot0 selected
    • Themes selected.
    • Utility selected.
    • PrefPanel (only for snow leo) selected but leave options below unselected.

Sound

I have modified the IOPCIMatch value in the Plist of the Voodoo Kext with my sound card value. All instruction for the "how to" are here

To extract the exact hardware data, you can use siw-all in windows or better from Ubuntu Live CD with the help of  the great script hackintosh-hardware-analyser-1.0.9.sh written by Hoob from Darwinx86

this script is a big help to extract dsdt and ssdt table too. Only the acpidump seems to fail. So I have installed it manually before running the script.  Use this package acpidump_20071116-1_i386.deb.

Extract Hardware informations and ACPI table

  • Boot from Ubuntu Live CD.
  • Choose the option Try it.
  • Configure Internet.
  • Install the acpidump_20071116-1_i386.deb package.
  • Launch terminal.
  • Enter bash hit space.
  • Drag the script on the terminal after the space.
  • Hit enter and wait.

The script will create a folder with your HW information, DSDT and SSDT table.

 

Keypad Trackball I installed this package. VoodooPS2Controller-0.98-installer.pkg from here. Remove all PS2 Kext prior.

  • ApplePS2Controller.kext.
  • ACPIPS2Nub.kext.

Speedstep with Chameleon RC5
One great feature with this Chameleon package is to enable native speedster. My R580 works with fine with this patch and sleep as well.

  • Chameleon RC5 is already installed.
  • Rename all your SSDT files: SSDT-1 SSDT-2 etc.
  • Drop your dumped SSDT files in the invisible /Extra folder.
  • Remove disable.kext and NullCPUPowerManagement.kext.
  • In system preference select Chameleon and enable Generate P-states, Generate C-states and force HPET.
  • Open com.apple.Boot.plist and add manually.
    <key>DropSSDT</key>
    <string>Yes</string>
  • Save.
  • Open your DSDT file with DSDTSE (google it) and check whether your HPET declaration match with the proposed fix (number 2 in the select list).
  • Add the Brightness patch from this topic.
  • Fix the power button for wake after sleep from here.
  • Compile Dsdt and click on install The dsdt file, will be installed in /Extra folder.
  • Edit your SMBIOS.plist in extra folder as follow.
    <key>SMboardproduct</key>
    <string>MacBookPro6,1</string>
    <key>SMcputype</key>
    <string>2305</string>
    <key>SMfamily</key>
    <string>MacBook Pro</string>
    <key>SMproductname</key>
    <string>MacBookPro6,1</string>

(SMcputype 1537 for i5; 2305 for i3). 

  • Reboot.

Check whether the speedstep work with MSR tool (MSR works only in 32 bytes).

To do.

To fix Numeric pad.
Keep Enjoying OSX ;)

 


Issues and solutions.

In case of Kernel Panic.

  • Repair disk permissions often helps. boot with appropriate flag:
    boot flag
    boot -x (safe mode)
    boot -s (terminal)
    boot -v (verbose)
    boot -f

For each extensions Kext change (add, remove or edition)

Drag the extensions folder on Kext Utility app.
enter your password and wait till the process end.

In case of the computer stuck on the apple icon or goes in a infinite boot loop the mach_kernel is probably not properly installed. 

  • Reboot again on the installation USB disk.
  • Click on Utilities menu and choose terminal.
  • Type df (to identified your disk path).
  • Copy the path of your OSX volume (select it and copy with alt C).
  • Type cp mach_kernel “path of your OSX disk” (past the path copied above without quote).
  • Enter and exit.
  • Quit Mac Installer.
  • Reboot (don't forget busratio).

Kernel Panics which happen during the mounting if Disk Images (.DMG) are caused not having the correct matched seatbelt.kext for your kernel. Source.

You can correct the Disk Mounting issue by matching your kernel with the proper seatbelt.kext build. 
If you have the 9.5.0 kernel you will need the Seatbelt.kext from 10.5.5.
If you have the 9.6.0 kernel you will need the Seatbelt.kext from 10.5.6.
If you have the 9.7.0 kernel you will need the Seatbelt.kext from 10.5.7.
If you have the 9.8.0 kernel you will need the Seatbelt.kext from 10.5.8.

Check your kernel version by opening Terminal and typing:

uname -a 

Message "Hibernate image is too old by xxx, use forcewake=y to override"

Solution from karacho_ak in the Acer 5741g topic

  • In MacOsX open the Terminal and type:
    sudo pmset hibernatemode 0
    sudo rm /var/vm/sleepimage
  • reboot and have a look. Your above described Message should gone.

Dualboot windows shows "BOOTMGR is missing"

You need a repair win7 or vista repair disk (google it). Take care to download the 32 bytes version. the dual and the 64 bytes often fail.

  • Boot from osx usb stick installation disk
  • Click on Utilities menu and choose terminal.
  • Set windows partition active:
    fdisk -e /dev/disk0
    p => to show partitions list.
    f 2 => in this case to activate partition 2 (flag 2) my Windows partition.
    w => write changes.
    q => to quite.
  • Quit Mac Installer.
  • Boot from windows repair disk
  • Wait till the process end and reboot to check whether windows launch correctly
  • Reboot again from the installation OSX USB disk.
  • Set OSX partition active:
    fdisk -e /dev/disk0
    p => to show partitions list.
    f 1 => in this case to activate partition 1 (flag 1) my OSX partition.
    w => write changes.
    q => to quite.
  • Quit Mac Installer.
  • Enjoy dual booting again.
Attachment(s):