<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Racker Hacker &#187; apple</title>
	<atom:link href="http://rackerhacker.com/tag/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:07:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Single boot Linux on an Intel Mac Mini</title>
		<link>http://rackerhacker.com/2011/01/26/single-boot-linux-on-an-intel-mac-mini/</link>
		<comments>http://rackerhacker.com/2011/01/26/single-boot-linux-on-an-intel-mac-mini/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 13:32:53 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=2168</guid>
		<description><![CDATA[After reading the title of this post, you might wonder "Why would someone pay for a Mac Mini and then not use OS X with it?" Well, if you have a somewhat older Mac Mini you want to use as a server with Linux, these instructions will come in handy. To get started, you'll need [...]<p><a href="http://rackerhacker.com/2011/01/26/single-boot-linux-on-an-intel-mac-mini/">Single boot Linux on an Intel Mac Mini</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>After reading the title of this post, you might wonder "Why would someone pay for a Mac Mini and then not use OS X with it?"  Well, if you have a somewhat older Mac Mini you want to use as a server with Linux, these instructions will come in handy.</p>
<p>To get started, you'll need a few things:</p>
<ul>
<li>Mac OS X Install Disc</li>
<li>Your <a href="http://mirror.rackspace.com/fedora/releases/">favorite</a> Linux distribution's install or live CD/DVD</li>
<li>A CD with <a href="http://refit.sourceforge.net/">refit</a> on it</li>
</ul>
<p>First off, boot the Mac into your normal OS X installation first and mute the sound.  This will get rid of the Mac chime on bootup.  It's really difficult to get this done properly outside of OS X, so take the time to do it now.  Put your Linux CD/DVD in the drive and reboot.  While it's rebooting, hold down the Option key (alt key if you're using a PC keyboard) and you'll have the option to boot from the disc when it boots up.  The boot screen might say "Windows" for the Linux CD/DVD, but choose it anyway.</p>
<p>When I installed Fedora, I had to switch the hard drive's partition table from GPT to a plain old "msdos" partition table.  Hop into a terminal, start <code>parted</code> on your main hard disk and type <code>mklabel msdos</code>.  This will instantly erase the hard drive -- make sure you're ready for this step.  If you're using an anaconda-based installation, you can get to a root shell by pressing CTRL-ALT-F2.  When you're done with <code>parted</code> in that terminal, switch back to anaconda with CTRL-ALT-F6.</p>
<p>At this point, you shouldn't have any partitions on your disk and you'll be ready to install your Linux distribution normally.  I generally put everything in one giant partition as it makes the "bless" step a little easier later on.</p>
<p>Eject the Linux CD/DVD once the installation is complete and toss in the refit CD that you burned previously.  Reboot the Mini again while holding Option (or alt key) and choose the disc again at bootup.  When refit appears, choose the second icon from the left in the bottom row and press enter.  It might say that your GPT partition is empty -- that's okay.</p>
<p>Reboot again, but hold down the Eject key (or F12 on PC keyboards) during boot to eject the refit disc.  Pop in the OS X install disc (may need to reboot again to get it to boot) and open a terminal once the install disc fully boots.  Once you're in the terminal, run <code>diskutil list</code> to figure out which partition is your boot partition.  If you did one giant partition, this should be <code>/dev/disk0s1</code>.  Just "bless" the partition to make it valid for booting:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">bless --device /dev/disk0s1 --setBoot --legacy --verbose</pre></div></div>

<p>Reboot again while holding Eject (or F12) to get the OS X disc out of the drive.  At this point, you should be ready to go for hands-off booting.  My Mac Mini went through about 10-20 seconds of wild screen flickering from grey to black to grey to black but then I saw the familiar Fedora framebuffer.</p>
<p>If you intend to run the Mac Mini headless with Linux, you're going to run into a problem.  The legacy BIOS used to boot Linux requires a monitor to be attached, but there are <a href="http://soledadpenades.com/2009/02/10/mac-mini-as-a-headless-server/">some workarounds</a>.  Also, if you want the Mini to power back on in case of a power failure, just run this at each boot:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">setpci -s 0:1f.0 0xa4.b=0</pre></div></div>

<p>Helpful resources:<br />
<a href="http://mac.linux.be/content/single-boot-linux-without-delay">http://mac.linux.be/content/single-boot-linux-without-delay</a><br />
<a href="http://www.alphatek.info/2009/07/22/natively-run-fedora-11-on-an-intel-mac/">http://www.alphatek.info/2009/07/22/natively-run-fedora-11-on-an-intel-mac/</a></p>
<p><a href="http://rackerhacker.com/2011/01/26/single-boot-linux-on-an-intel-mac-mini/">Single boot Linux on an Intel Mac Mini</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2011/01/26/single-boot-linux-on-an-intel-mac-mini/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Disable acceleration for Apple&#039;s Magic Mouse</title>
		<link>http://rackerhacker.com/2009/12/03/disable-acceleration-for-apples-magic-mouse/</link>
		<comments>http://rackerhacker.com/2009/12/03/disable-acceleration-for-apples-magic-mouse/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 13:55:41 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[magic mouse]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=1047</guid>
		<description><![CDATA[Edit: After further research, I found that this fix only adjusts the speed at which your mouse moves. It doesn't do anything for the acceleration curve. I recently picked up a Magic Mouse and discovered that I like almost all of its features. The biggest headache is the funky mouse acceleration curve that it applies [...]<p><a href="http://rackerhacker.com/2009/12/03/disable-acceleration-for-apples-magic-mouse/">Disable acceleration for Apple's Magic Mouse</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p><b>Edit:</b> After further research, I found that this fix only adjusts the speed at which your mouse moves.  It doesn't do anything for the acceleration curve.</p>
<p>I recently picked up a <a href="http://www.apple.com/magicmouse/">Magic Mouse</a> and discovered that I like almost all of its features.  The biggest headache is the funky mouse acceleration curve that it applies by default.  When you make small movements, they barely even register on the screen.  When you make big movements and slow down a little mid-move, the pointer slows down much too rapidly.</p>
<p>A quick Google search revealed a <a href="http://discussions.apple.com/thread.jspa?messageID=10640835">support discussion post</a> where users were discussing possible solutions.  Someone suggested running this in the terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">defaults write -g com.apple.mouse.scaling -1</pre></div></div>

<p>That improved things a little for me, but it's not perfect.  If you adjust the tracking speed in System Preferences after running this command, the acceleration curve will be reset to the default.</p>
<p><b>Update:</b> After some tinkering (and <a href="http://reviews.cnet.com/8301-13727_7-10392736-263.html">further Googling</a>), I found that <code>0</code> or <code>.1</code> seemed to work better for me than <code>-1</code>.</p>
<p><a href="http://rackerhacker.com/2009/12/03/disable-acceleration-for-apples-magic-mouse/">Disable acceleration for Apple's Magic Mouse</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2009/12/03/disable-acceleration-for-apples-magic-mouse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Syncing an iPhone with a new Mac without hassles</title>
		<link>http://rackerhacker.com/2008/11/02/syncing-an-iphone-with-a-new-mac-without-hassles/</link>
		<comments>http://rackerhacker.com/2008/11/02/syncing-an-iphone-with-a-new-mac-without-hassles/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 16:56:23 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=551</guid>
		<description><![CDATA[I know I usually talk about Linux server related topics on this blog, but I'm pretty proud of what I've figured out this morning on my Mac. As you know, the iPhone can really only fully sync with one machine, and if you want to connect it to a new Mac that you've purchased, you [...]<p><a href="http://rackerhacker.com/2008/11/02/syncing-an-iphone-with-a-new-mac-without-hassles/">Syncing an iPhone with a new Mac without hassles</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>I know I usually talk about Linux server related topics on this blog, but I'm pretty proud of what I've figured out this morning on my Mac.  As you know, the iPhone can really only fully sync with one machine, and if you want to connect it to a new Mac that you've purchased, you have to fully erase the iPhone and start over.  (Of course, if you used the Migration Assistant to set up your new Mac, this won't be necessary.)</p>
<p>Here are the steps to migrate your iTunes data from one Mac to another without having to erase and re-sync your iPhone:</p>
<ul>
<li><strong>Make sure that iTunes is not running on <em>both</em> Macs.</strong></li>
<li><strong>Disconnect your iPhone/iPod from <em>both</em> Macs.</strong></li>
<li>Copy your iTunes folder.<br /><code>/Users/username/Music/iTunes</code></li>
<li>Copy your iPhone/iPod backups.<br /><code>/Users/username/Library/Application Support/MobileSync</code></li>
<li>Copy your iTunes configuration files. <br /><code>/Users/username/Library/Preferences/com.apple.iTunes*</code></li>
<li>Open iTunes on your new Mac and verify that <em>Applications</em> and <em>Ringtones</em> appear.</li>
<li>Connect your iPhone/iPod to the new Mac and accept any new authorizations.</li>
<li>Use iTunes on your old Mac to de-authorize the computer.</li>
</ul>
<p>If you choose to keep your MP3's separate from iTunes (and not in the library), this will only copy over the references to the MP3 files themselves.</p>
<p><a href="http://rackerhacker.com/2008/11/02/syncing-an-iphone-with-a-new-mac-without-hassles/">Syncing an iPhone with a new Mac without hassles</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2008/11/02/syncing-an-iphone-with-a-new-mac-without-hassles/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
	</channel>
</rss>

