Posts Tagged ‘Snow Leopard’

How-To Install or Update Mac OS X Snow Leopard 10.6.7 on the Asus Eee PC 1005HA Netbook

Wednesday, March 23rd, 2011

Few days ago Apple released the latest update for Mac OS X Snow Leopard 10.6.7 .
Here is the tutorial on how to install or update Mac OS X Snow Leopard 10.6.7 on the Asus Eee PC 1005HA Netbook.

Prerequisites

Yes, you have no alluciantions: the legacy kernel we gonna use is the same prepared for Mac OS X 10.6.6, I tried and it works fine with 10.6.7 on the Asus EeePC 1005HA. I don’t know if it works on other hackintosh systems and netbooks. Please comment about your experience.

Step 1

Follow the instruction of my previous post:

How-To install Mac OS X Snow Leopard 10.6.6 on the Asus Eee PC 1005HA Netbook

following that how-to you can skip the part that let you update from Mac OS X 10.6.0 to Mac OS X 10.6.6 an substituite it with the following content of Step 2.

Step 2 (Upgrade to Mac OS X Snow Leopard 10.6.7)

  1. Copy MacOSXUpdCombo10.6.7.dmg in the USB stick.
  2. Uncompress legacy_kernel-Mac_OS_X_10.6.6.tgz and to legacy_kernel-Mac_OS_X_10.6.6.pkg and copy it on the USB stick.
  3. Insert the USB Stick on the Netbook then mount and run the MacOSXUpdCombo10.6.6.dmg.
  4. When the installation is finished it will ask to restart:
    DO NOT RESTART THE SYSTEM YET!!
  5. Install ‘legacy_kernel-Mac_OS_X_10.6.6.pkg’.
    This install an older version of the kernel that is still compatible with the unficcial extensions we previously installed before the upgrade.
  6. Again, substitute the Extensions for the misbehaving devices:
    1. Copy ‘SleepEnabler.kext’ to ‘/Extra/Extensions/’.
      This fix the hibernation/sleep feature.
    2. Copy again ‘~/Desktop/SnowLeopardAsus/Extra/IO80211Family.kext’ to ‘/Extra/Extensions/’ folder.
      This makes the system to recognize and install the Wi-Fi card.
    3. Copy again ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelGMA950.kext’ to ‘/System/Library/Extensions/’.
    1. Copy again ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelIntegratedFramebuffer.kext’ to ‘/System/Library/Extensions/’.
      This fixes the video card and add the option to choose 1024×600 resolution.
  7. Now, most important, fire the command ‘fixkext’ with root privileges or using sudo:
    $ sudo fixkext
  8. VERY IMPORTANT: Run Disk Utility and Repair Disk Permisions
    Without this operation your system will reveal really unstable!!!
  9. Now you can reboot the system

Now go back to:

How-To install Mac OS X Snow Leopard 10.6.6 on the Asus Eee PC 1005HA Netbook

and read the last two sections: What still doesn’t work and Last Adjustments

Mac OS X Server 10.6 Open Directory Replica: “Kerberos is: Stopped”

Friday, March 18th, 2011

It is common that the configuration process of a Mac OS X Snow Leopard Server 10.6 as an Open Directory Replica for your Open Directory Master comes with some problematic issues: it’s very common that the Kerberos service is not initialized properly and will appear in the ‘Server Admin’ Open Directory’s Overview panel as ‘Kerberos is: Stopped‘.

Googoling about this problem I found that is a fault in the DNS name resolution the most common reason that breaks the configuration of the kerberos service preventing the Open Directory Replica server to be recognized and associated with the proper FQDN (Fully Qualified Domain Name).

The fix to this problem is not complicated but will force us to carefully perform these operations:

  1. First things first, although this is a recommended option for local domain naming, make sure that your domain name  is NOT ending in ‘.local.
    In Mac OS X by default the ‘.local’ domains are resolved by the Bonjour service, with priority over the DNS service.
    I recommend to choose a non public domain name like ‘.private’, ‘.lcl’, ‘.my’, ‘.office’…. and so on.
  2. After that, make sure your DNS is PERFECTLY configured to serve FQDN names (i.e. replica.mynetwork.private.) and that one of this name is fully matching to the replica’s hostname(with the exception of the tail ‘.’ ).
  3. Also check the DHCP service, if activated, to be delivering the correct search domain and the IP address of the DNS server able to resolve the name of your Open Directory Master and Replica servers.
  4. Adjust the Replica server’s hostname accordingly to the DNS settings.You can modify the hostname of your replica server with the ‘scutil’ command:
    # scutil --set HostName replica.mynetwork.private
  5. Now decommission the replica server to a standalone directory using the Open Directory Assistant to change the server’s role.

Now the most important operations are done.
Now I recommend a reboot of the system and a double-check of the DNS and hostname configuration using the following commands:

# hostname

The ‘hostname’ command will show the hostname that should appear like the FQDN configured in the DNS service.

# changeip --checkhostname

The ‘changeip’ command will perform a more accurate check on the hostname, using the system calls used by the other system processes and application.

# nslookup replica.mynetwork.private

The ‘nslookup’ command will check that the DNS server is returning the appropriate IP for the requested domain name.

Now it’s time to re-configure the server as a Open Directory Replica, you can use again the Open Directory Assistant. Provide the requested information and when the process is terminated, if you’re lucky enough, the problem will be fixed and the ‘Server Admin’ will show ‘Kerberos is: running.

Unfortunately I’ve not been so lucky when I encountered this problem my first time: for my replica server the Kerberos service was still in ‘Stopped’ status.

After a couple of headaches and a lot of wasted time I figured out that one of the main Kerberos’ configuration files ‘/Library/Preferences/edu.mit.Kerberos’ was missing. This was proof that for some reason the ‘kdcsetup’ process hasn’t been executed.

To fix this issue it is necessary to perform the manual procedure to configure and initialize the kerberos process that actually is the last portion of the manual procedure to join a Replica to an existing Open Directory domain, consisting of:

# /usr/sbin/kdcsetup -c /LDAPv3/127.0.0.1 -a diradmin -p -v 1

This command will create the file /Library/Preferences/edu.mit.Kerberos.

# /usr/sbin/kdb5_util -r

The ‘kdb5_util’ will load information from the initial.dump file from the previous step into the REALM.

# kdcsetup -e

The ‘kdcsetup’ command will enable kdcmond and kadmind in the configuration for launchd.

Now the Kerberos services should have been started on the replica server.

Reboot the system to make sure it’s started automatically at the system initialization.

How-To install Mac OS X Snow Leopard 10.6.6 on the Asus Eee PC 1005HA Netbook

Monday, February 21st, 2011

How-To Install or Update Mac OS X Snow Leopard 10.6.7 on the Asus Eee PC 1005HA Netbook is now available:
https://www.marcomc.com/index.php/2011/03/how-to-install-or-update-mac-os-x-snow-leopard-10-6-7-on-the-asus-1005ha-netbook/

This is a step-by-step procedure to install Mac OS X Snow Leopard 10.6.6 on the Asus Eee PC 1005HA Netbook having everything working 100%.

Resources

Prerequisites

For British users only

Installer preparation

  1. Use ‘Disk Utility’ to dump the  Mac OS X 10.6.0 Installation DVD on the 8GB USB stick.
  2. Run the MobUSB package and choose as intall destionation the newly created partition on the USB stick (that will probably bring the name of “Mac OS X Snow Leopard 10.6 Retail”, but the name is not importat).
    DO NOT INSTALL IT ON YOUR SYSTEM’S PARTITION!!
  3. Copy the file ‘SnowLeopardAsus.zip’ and ‘SleepEnabler.kext’ into the root of the USB stick

ModUSB install the Chamaleon Boot Loader on the USB stick letting any PC to detect it as a bootable drive, also and most importantly it installs the required kext modules (drivers) to support most of the hardware of your PC/Netbook that otherwise would not be officilay supported by the Apple’s installation disc.
ModUSB differently from myHack tool autodect the hardware you PC has installed and choose the appropriate kext to activate or deactivate.

System Installation

Insert the USB stick on a USB port of your PC/Netbook and force the boot from USB instead of harddrive. On the Asus EeePC 1005HA you need to hold de ESC button during the BIOS initialization.
Now you can perform a standard Mac OS X installation.
during the installation process you need to run the Disk Utility form the Utilities manu to create a partition for Mac OS X Extended (with Journaling).
If you want to keep you Windows installation you need to perform additional modification of you partition before starting the installation process (this will be explained in a separate tutorial).
Ad the end of the installation process you will be returned an error saying that was not possible to complete the installation, THIS IS NORMAL, and it’s due to the fact that the installation system wasn’t capable to install the native Apple’s EFI boot loader, thanks to ModUSB previosly installed on the USB stick this installation will include by default the automatically chosen kext modules and the Chameleon boot loader.
Mind that if we would have use the myHack tool kext and boot loader would have not been installed on the new system and we should have booted the new installed system using as boot loader the USB stick.

First Boot

After the first system bot you’ll notice that everything is working with a couple of Glitches:

  1. sound is noisy/buzzing
  2. you cannot choose a screen resolution other than 800×600 (kext is loaded)
  3. Wi-Fi card is not detected, (kext is loaded).
  4. MMC card reader may not work.
  5. The Keyboard’s Fn keys are not working
  6. Hibernaton/sleep activate when you close the netbook lead but the PC never awakes

Make things working

  1. Install fixkext utility, everytime we add or remove kext form the kext libraries we have to regenerate the mkext cache file using fixkext utility that also takes care that all the kext modules have the right permissions and ownership.
  2. Copy the ‘SleepEnabler.kext’ file and decompress the ‘SnowLeopardAsus.zip’ into the desktop of the newly installed system.
  3. Install Extension for unrecognized devices:
    1. Copy ‘~/Desktop/SnowLeopardAsus/Extra/AsusHotkeys.kext’ to ‘/Extra/Extensions/’ folder.
      This makes working the Keyboard’s Fn keys such the screen brightness and the volume adjustment.
    2. Copy ‘~/Desktop/SnowLeopardAsus/Extra/IO80211Family.kext’ to ‘/Extra/Extensions/’ folder.
      This makes the system to recognize and install the Wi-Fi card.
    3. Copy ‘~/Desktop/SnowLeopardAsus/Extra/IOSDHCIBlockDevice.kext’ to ‘/Extra/Extensions/’ folder.
      This makes the system to recognize and install the MMC card reader.
  4. Backup the Extensions for misbehaving devices:
    1. Create a folder named ‘Old Extensions’ on your Desktop.
    2. Copy ‘/System/Library/Extensions/VoodooHDA.kext’ to ‘~/Desktop/Old Extensions/’.
    3. Copy ‘/System/Library/Extensions/AppleIntelGMA950.kext’ to ‘~/Desktop/Old Extensions/’.
    4. Copy ‘/System/Library/Extensions/AppleIntelIntegratedFramebuffer.kext’ to ‘~/Desktop/Old Extensions/’.
  5. Substitute the Extensions for the misbehaving devices:
    1. Copy ‘SleepEnabler.kext’ to ‘/System/Library/Extensions/’.
      This fix the hibernation/sleep feature.
    2. Copy ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelGMA950.kext’ to ‘/System/Library/Extensions/’.
    3. Copy ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelIntegratedFramebuffer.kext’ to ‘/System/Library/Extensions/’.
      This fixes the video card and add the option to choose 1024×600 resolution.
    4. Copy ‘~/Desktop/SnowLeopardAsus/Kext/VoodooHDA.kext’ to ‘/System/Library/Extensions/’.
    5. Double click on ‘~/Desktop/SnowLeopardAsus/VoodooHDA.prePane’ and confirm to ‘Replace’ the preference pane.
      This fixes the audio card issues.
  6. Now, most important, fire the command ‘fixkext’ with root privileges or using sudo:
    $ sudo fixkext

    This will make sure that all the copies Extension will have the right permissions and ownership and will recreate the kext’s cache.
    The kernel can now load the extensions at the next boot

  7. Restart the system and everything should work.

Now you have a fully functional Mac OS X Snow Leopard 10.6.0 running on you Asus EeePC 1005AH.

What still doesn’t work

When awakening form hibernate/sleep mode the USB disks (if any attached) will be not ejected properly (will persist also after the upgrade to Mac OS X Snow Leopard 10.6.6).

 

Now also available:

How-To Install or Update Mac OS X Snow Leopard 10.6.7 on the Asus Eee PC 1005HA Netbook

Upgrade to Mac OS X Snow Leopard 10.6.6

  1. Copy MacOSXUpdCombo10.6.6.dmg in the USB stick.
  2. Uncompress legacy_kernel-Mac_OS_X_10.6.6.tgz and to legacy_kernel-Mac_OS_X_10.6.6.pkg and copy it on the USB stick.
  3. Insert the USB Stick on the Netbook then mount and run the MacOSXUpdCombo10.6.6.dmg.
  4. When the installation is finished it will ask to restart,
    DO NOT RESTART THE SYSTEM YET!!
  5. Install ‘legacy_kernel-Mac_OS_X_10.6.6.pkg’.
    This install an older version of the kernel that is still compatible with the unficcial extensions we previously installed before the upgrade.
  6. Again, substitute the Extensions for the misbehaving devices:
    1. Copy ‘SleepEnabler.kext’ to ‘/System/Library/Extensions/’.
      This fix the hibernation/sleep feature.
    2. Copy ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelGMA950.kext’ to ‘/System/Library/Extensions/’.
    1. Copy ‘~/Desktop/SnowLeopardAsus/Kext/AppleIntelIntegratedFramebuffer.kext’ to ‘/System/Library/Extensions/’.
      This fixes the video card and add the option to choose 1024×600 resolution.
  7. Now, most important, fire the command ‘fixkext’ with root privileges or using sudo:
    $ sudo fixkext.
  8. No you can reboot the system

What still doesn’t work

— as reported by Eugene —
If you’re getting a kernel panic it is likely due to sleepenabler.kext you need to get one compatible with 10.6.6 from www.kexts.com

Wireless works fine on routers working only in “g” mode but not for mixed “g/n” or even “n”.
A solution is to replace the wireless card:

  1. The chip that you want to look for is Broadcom BCM94322 Half Mini PCIe card. It is also called Dell 1510 or DW1510, there are alse HP variants as well. This is the same chipset as Apple’s Airport Express card in MacBook Pro.
  2. Here is a you tube video: http://youtu.be/yehHh0GmnU0 for the hardware installation.
  3. You need the original IOFamily80211.kext (the one we installed through this guide is not the stock apple one, but modified for the 1005HA card).
  4. Download the patch and run through the terminal following the post here http://www.insanelymac.com/forum/index.php?showtopic=51725.
  5. Optional step is rebranding the Broadcom card so that computer thinks its actually Apple Airport Extreme and not a 3rd party card.
    This gives you speeds up to 300Mbps (the way “n” is intended)

Last Adjustments

After rebooting the system will work exactly as before without the need to install new extensions, anyway you may experience that your microphone is not ‘listening’ so what you need to do is to enter the System Preferences and click on the VoodooHDA pane then:

  1. Select ‘Microphone (fixed)’ from the dropdown menu
  2. Click on the round button that will activate all the available adjustable options
  3. It may help to adjust the ‘Mic’ bar and the ‘Recording Level’ bar

Open ‘Disk Utility‘, select the System drive, run ‘Repair Permissions‘, this will fix possible permissions gone bad during the hackintosh installation 😉
Should fix problems with Javascript crashing in Safari, Chrome and Firefox.

THIS IS IT! Enjoy and please feel free to post any fix suggestion or link/post your tutorial for other models.

How-To change MAC address of your ethernet network card with Mac OS X

Monday, November 15th, 2010

If using Mac OS X you find yourself in a situation to test the correct functionality of a DHCP server or you need to force the lease af a different IP address from a DHCP server, you may want to change the MAC address of your ethernet network card so to be recognised as a new client of the network.

To change the Mac address with Mac OS X, you need to fire the following command:

$ sudo ifconfig en0 ether 00:xx:xx:xx:xx:xx
(just modify the lat two digitas of your current MAC address)

How-To open multiple instances of an application with OS X

Sunday, October 10th, 2010
Listen to me!
Audio MP3

download mp3
It happened to me to have the need to run at the same time the Skype application in Mac OS X  being logged with two different accounts, this was needed to test the messaging and file sharing capabilities or simply to be able to receive calls on two different accounts or registered numbers at the same time.

That practice is not actually permitted with the current version of Skype for Mac OS X (Skype Version 2.8.0.251) so I had to find a DIY solution.

At the beginning I tried to copy the application bundle and launch it, wishing that the system was recognising this as a distinct application but unfortunately that didn’t work and Mac OS X was complaining that the application was already running and it could not open a second instance of it (due to a conflict of resources).

I then started wondering why in GNU/Linux (that is a not-so-far cousin of Mac OS X UNIX subsystem), wasn’t that difficult to launch from command-line a second instance of an application, so it came to my mind the ‘open’ command that sometimes I use with AppleScript to launch some applications.

Reading the manual of ‘open’ I discovered these two ‘magical’ options:

  • The ‘-n’ option, that guarantees the opening of a new instance of the application;
  • The ‘-a’ option, that permits to specify the name of an application without the bundle extension ‘.app’ and without specifying the absolute path of the application (that in this case would generally be ‘/Applications/Skype.app’;

I ended up with this ‘best solution’ to open a second (or further) copy of an application with Mac OS X using the given CLI command ‘open’ as follows:

# open -na <application_name>

Snow 303 Notebook

Thursday, August 19th, 2010

My personal notebook made in preparation for the Snow 303 exam for the Apple Certified Specialist – Security and Mobility 10.6 certification on Mac OS X Server 10.6 Snow Leoaprd.

Mac OS X Mobility and Security v10.6

This notebook can be used complementary to the book Mac OS X Security and Mobility v10.6 by Robert Kite, Ph.D., Michele Hjörleifsson, and Patrick Gallagher published by Peachpit Press.

Snow 301 Notebook

Wednesday, May 19th, 2010

My personal notebook made in preparation for the Snow 301 exam for the Apple Certified Specialist – Directory Services 10.6 certification on Mac OS X Server 10.6 Snow Leoaprd.

Mac OS X Directory Services v10.6

This notebook can be used complementary to the book Mac OS X Deployment v10.6 by Arek Dreyer and Ben Greisler published by Peachpit Press.

Snow 302 Notebook

Friday, April 16th, 2010

My personal notebook made in preparation for the Snow 302 exam for the Apple Certified Specialist – Deployment 10.6 certification on Mac OS X Server 10.6 Snow Leoaprd.

Mac OS X Deployment v10.6

This notebook can be used complementary to the book Mac OS X Deployment v10.6 by Kevin M. White published by Peachpit Press.

SIU: Apply Computer Name and Local Hostname settings from a file

Tuesday, April 13th, 2010

Configuring a System Image Utility (SIU) Workflow you can include the Apply System Configuration Settings action.

This action includes few options, the most puzzling one is the one titled “Apply Computer Name and Local Hostname settings from a file” as there is no indication how the file should be formatted to be correctly interpreted by the workflow.

You can find a thread on the Apple Support page with few people discussing about it, there you will understand that the file format is composed by TAB separated elements in a mandatory order.

The order is MAC Address, hostname (fqdn or not), Computer name (optional), Bonjour name (optional).
If you don’t want to set a specific hostname, you can use -automatic- to “bypass” it.
The file content (plain text or Rich Text Format) will appear like:

00:2c:76:8d:28:3b -automatic- Computer 1 Computer 1
00:2c:76:8d:28:2b -automatic- Computer 2 Computer 2
00:2c:76:8d:28:1b -automatic- Computer 3 Computer 3

Snow Leopard 64-bit kernel mode: secret disclosed

Wednesday, February 17th, 2010

for the people who knows what a Command Line Interface is this is the command to startup automatically your Intel Core 2 Duo Mac (with EFI64 boot loader) in 64-bit mode

sudo systemsetup -setkernelbootarchitecture x86_64

or return to 32-bit mode

sudo systemsetup -setkernelbootarchitecture i386

Good for Mac Mini servers (EFI64 only) where a keyboards not connected and it’s not possible to press the ‘6’ and ‘4’ strokes at startup time.