Archive for the ‘Snow Leopard’ Category
Gave up on Snow Leopard on the Mac Book Air
After fighting with Snow Leopard for a couple of months on my Mac Book Air, and experiencing two serious data corruption problems, I have officially given up on Snow Leopard.
Here is the summary of my experience with Snow Leopard.
- Snow Leopard came out. I upgraded both my Macs (iMAC, and MacBook Air)
- iMac works with a few quirks, but after the first update from Apple things are stable and all seems to be working. A few applications needed to be updated, but no major issues.
- MacBook Air upgrade did not work initially as documented in a previous post.
- Got everything to work but it was so very slooooow…. NONE of the “faster” claims by Apple verified.
- MacBook crawling, it got so bad that I decided to do a clean install. So I formated my HDD and installed SL from scratch.
- Same thing, slow, slow, slow….
- Found some fixes as documented in another post. This did work, especially the Terminal fix.
- The MacBook Air was not hibernating or sleeping properly, was hanging constantly and finally I suffered data corruption when the laptop ran out of battery while stuck, and not going to sleep after I closed it and stowed it.
- Tried to recode HDD but all data recovery tools complained an said they could not recover the data.
- Second reinstallation, same thing happened after three weeks
Fed up, went back to Leopard, all is working to perfection…
Mount a Time Machine Backup Disk
Time Machine backup images can be mounted as regular disks using the hdiutil command.
All you need to do is
sudo hdiutil attach <time_machine_file.sparsebundle>
If your Time Machine backup file is on a network share you need to connect to the server and mount the share before you can run the hdiutil command.
It may take some time especially on slow networks or big image files.
Snow Leopard too Slow Fix
I did a fresh install of Snow Leopard on my first generation Mac Book Air and it is still toooooooo slow. Digging around I found a couple of solutions that really helped.
General slowness due to lack of memory (from Apple Forum)
sudo rm /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
Then if the Terminal application takes for ever to show you a prompt, delete the logs like so:
sudo rm -f /private/var/log/asl/*
Thanks Webapper for the slow Terminal fix!
Skype Error: Unable to mount database
I started getting a lot of Skype database errors during login. I would type my password and during the login process I always got the “Unable to mount database” error on Skype for Mac version 2.8.0.722.
To solve it delete the Skype’s user directory doing
rm -fr ~/Library/Application\ Support/Skype/<username>
using the Terminal application, then login to Skype.
Please pay attention to the “~” at the beginning of the file path. This is not a mistake it actually represents your home directory.
Restoring Time Machine Backups on a Different Computer even Over SMB or AFP
There are many situations that require you to restore backups to different computers, other than the one from where the data was originally backed up from. In the case of Apple’s Time Machine the restore procedure to different machines is not very intuitive. You have to use the “secret” option key…
There is a supported way to restore Time Machine backups of other computers using the “option-key” click on the Time Machine menu. If you want to use it just do the following:
- Connect the Time Machine disk to the Mac you want to restore the files to
- Set the “Show time machine status in the menu bar” In System Preferences -> Time Machine.
- Click the Time Machine icon in the menu bar and keeping the mouse button pressed, press the “Option” key.
- Select “Browse Other Time Machine Disks”
- Select the disk you want
- click Use Selected Disk
The Time Machine will open with the selected disk and you can use it to restore the files.
If, like me, you are using a non supported Time Machine configuration, where the backup disk is mounted using SMB or AFP (see this post on how to enable that) then the procedure above will not work directly. In my case I backup to my Buffalo TeraStation NAS, and the “Browse Other Time Machine Disks” window shows up empty, with no disk to select.

In order for this to work you need to first mount the Time Machine disk by hand in using the command line.
- Mount the shared folder where your Time Machine backups are stored
- Open a Terminal window and cd to the Time Machine volume. in my case I called it backups
sudo cd /Volumes/backups
- use hdiutil to mount the specific Time Machine .sparsebundle file
sudo hdiutil attach <time_machine_file.sparsebundle>
Now you should be able to see the mounted volume in Finder, with all the backups listed as folders, and you can copy any files directly from it. Remember that mounting the disk may take some time due to the size of the disk and network connection speed, especially If you do this over a WiFi network.
Another option is to repeat the supported Time Machine procedure outlined in the beginning of this post. You should now see the mounted disk as a Time Machine disk. Select the the disk and click “Use Selected Disk” and Time Machine will open on the selected disk just like with a Time Machine supported back up disk.
Personally I like to copy them directly from the Finder but your preference may vary so I document both ways of achieving this goal. Hope this helps.
Update your Mac Ports for Snow Leopard
After upgrading to Snow Leopard you will need to update your Mac Ports. Please download and install the new Snow Leopard version of Mac Ports open a Terminal window and change to the /opt/local/bin directory, then run the commands
./port -v selfupdate ./port -f uninstall p5-xml-parser ./port clean --all p5-xml-parser ./port install p5-xml-parser ./port -f uninstall libxml2 ./port clean --all libxml2 ./port install libxml2 ./port upgrade outdated ./port -f -p clean --all all
If a particular package gives you trouble just remove it and install it again.
Configure Home/End Key Bidings on Mac OS X
Hi I feel that this a prety common request: Bind the Home/End keys to move to the beginning and end of lines respectively.
In Mac OS X (10.5 and 10.6) some applications use the Cmd-Rigt and Cmd-Left to perform these actions but, call me old fashioned, I like to use Home and End instead.
It is actually very easy to change the Cocoa Key bindings for any user under Mac OS. Just follow these steps:
- Create a file called DefaultKeyBinding.dict in ~/Library/KeyBindings directory
mkdir ~/Library/KeyBindings cd ~/Library/KeyBindings touch DefaultKeyBinding.dict
- Edit your DefaultKeyBinding.dict file so it contains:
{ /* home */ "\UF729" = "moveToBeginningOfLine:"; "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Cmd-Left */ "@\UF702" = "moveToBeginningOfLine:"; "$@\UF702" = "moveToBeginningOfLineAndModifySelection:"; /* Cmd-Right */ "@\UF703" = "moveToEndOfLine:"; "$@\UF703" = "moveToEndOfLineAndModifySelection:"; /* end */ "\UF72B" = "moveToEndOfLine:"; "$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* page up/down */ "\UF72C" = "pageUp:"; "\UF72D" = "pageDown:"; } - Restart the Cocoa Application.
This example works very well with TextMate.
In order to bind other keys you need to find their Scan code, and you can use the following modifiers
For more information please check this article
Snow Leopard Upgrade breaks a ton of apps
After having done the Snow Leopard upgrade from leopard 10.5.8 a week ago, I have to say I am disappointed!
A lot of my applications just crash, Xcode and Mac Ports had to be reinstalled, Apache and PHP reconfigured by hand, reinstall MySQL, among others.
I have yet to see any real performance improvements, for example the Terminal application is very slow (over 10s) to give me a prompt.
I did get some 10Gb back from my HDD but… I am considering doing a fresh install. Am I back on Windows?
very sad…


