Fixing a Mac Fusion Drive that Disk Utility can’t erase

My Mac Mini w/ Fusion Drive (that’s a hard disk and an SSD pretending to be a single volume for better performance) froze and wouldn’t boot. Nothing would make it boot normally again. Recovery mode was OK but couldn’t erase the boot volume nor mount it via Disk Utility (I just got “Unable to delete the core storage logical volume”), so reinstalling seemed impossible.

Fortunately, I figured out how to do it, using some help from a StackExchange post I found. See below for the details.

Continue reading “Fixing a Mac Fusion Drive that Disk Utility can’t erase”

Using a Lite-On eTDU-108 DVD drive with a Mac

I bought a Lite-On eTDU-108 DVD writer, as a companion for my MacBook Air which lacks a built-in optical drive.

Using this drive with a Mac is strange because it has a lid, so the Mac cannot physically eject the media. This leads to odd circumstances such as when you tell the Finder (or iTunes) to eject the disc, and it makes the icon disappear and suddenly it’s back, as if you had inserted it into the drive again at superhuman speed.

Most of the sequences of ejecting discs that I came up with resulted in error messages, failure to eject the disc, spinning beachballs, or unplugging the USB cable from the drive in frustration. I finally figured out the right sequence to eject a disc from this drive when it’s connected to a Mac.

Continue reading “Using a Lite-On eTDU-108 DVD drive with a Mac”

MacRuby tweaks to your customized .irbrc

I started playing with MacRuby this evening. macirb wouldn’t run with my customized .irbrc and gave the following error:

Continue reading “MacRuby tweaks to your customized .irbrc”

Fix for MacBook Pro sudden USB and Ethernet port failures

I own a 2.16GHz MacBook Pro, which is a little over 3 years old. Over the last year I’ve had an odd problem with it, which has gotten severe in the last few weeks. The problem was that it would suddenly disable the Ethernet port and the USB ports, disconnecting mounted disks and freezing networked services. The only workaround was to reboot or sleep/wake. I finally found the cause and fixed it last week. My guess is that pretty much all MacBook Pros of similar age and design will develop this problem, so read on if you have a similar issue.
Continue reading “Fix for MacBook Pro sudden USB and Ethernet port failures”