<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Os X on Stay Frosty</title><link>https://frosty.blog/tags/os-x/</link><description>Recent content in Os X on Stay Frosty</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><copyright>© James Frost</copyright><lastBuildDate>Sun, 12 Apr 2009 23:00:00 +0000</lastBuildDate><atom:link href="https://frosty.blog/tags/os-x/index.xml" rel="self" type="application/rss+xml"/><item><title>OS X on a Dell Mini 9</title><link>https://frosty.blog/2009/04/12/os-x-on-a-dell-mini-9/</link><pubDate>Sun, 12 Apr 2009 23:00:00 +0000</pubDate><guid>https://frosty.blog/2009/04/12/os-x-on-a-dell-mini-9/</guid><description>&lt;p&gt;These days, my primary computer is a 15&amp;quot; MacBook Pro. It&amp;rsquo;s an amazing machine, but sometimes those 15&amp;quot; can be a little unwieldy (yes, that&amp;rsquo;s what she said).&lt;/p&gt;
&lt;p&gt;Apple used to make a small, very portable laptop: the 12&amp;quot; PowerBook, which was unfortunately retired during Apple&amp;rsquo;s switch to the Intel platform. However, the transition did introduce the potential ability to run Mac OS X natively on non-Apple hardware. Whilst Apple don&amp;rsquo;t (currently) make their own netbook&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;, a big community has sprung up around running OS X on non-Apple netbooks. &lt;em&gt;I should note from the outset that installing OS X on non-Apple hardware potentially violates the OS X EULA. If you&amp;rsquo;re going to do this, in the very least ensure you own a legal copy of Mac OS X Leopard.&lt;/em&gt;&lt;/p&gt;</description><content:encoded><![CDATA[<p>These days, my primary computer is a 15&quot; MacBook Pro. It&rsquo;s an amazing machine, but sometimes those 15&quot; can be a little unwieldy (yes, that&rsquo;s what she said).</p>
<p>Apple used to make a small, very portable laptop: the 12&quot; PowerBook, which was unfortunately retired during Apple&rsquo;s switch to the Intel platform. However, the transition did introduce the potential ability to run Mac OS X natively on non-Apple hardware. Whilst Apple don&rsquo;t (currently) make their own netbook<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>, a big community has sprung up around running OS X on non-Apple netbooks. <em>I should note from the outset that installing OS X on non-Apple hardware potentially violates the OS X EULA. If you&rsquo;re going to do this, in the very least ensure you own a legal copy of Mac OS X Leopard.</em></p>
<p>The current <em>netbook au jour</em> is the Dell Mini 9. BoingBoing&rsquo;s <a href="http://gadgets.boingboing.net/2008/12/17/osx-netbook-compatib.html">compatibility list</a> shows it as the only device that currently supports every piece of hardware<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup> under OS X. And it does.</p>
<figure>
  <img src="/images/2015/12/2009-04-16-dell-mini-9.jpg" alt="OS X on a Dell Mini 9" loading="lazy">
</figure>
<p>I bit the bullet and bought a Mini 9, which finally turned up a couple of weeks ago. It has a 1.6Ghz Intel Atom processor, 1GB RAM (user upgradable to 2GB), and a 16GB SSD drive. I ordered it with Ubuntu pre-installed - and let me tell you, this thing is <em>fast</em>. Ubuntu boot time was a respectable 30 seconds, and the user interface felt extremely responsive. In fact, I&rsquo;m not sure I&rsquo;ve ever seen OpenOffice load so quickly. I&rsquo;ll go as far as to say that out-of-the-box, this was the best experience I&rsquo;ve ever had with Ubuntu - things <em>just worked</em>, which has rarely been the case for me with desktop Linux before. I put an SD card in the Mini 9&rsquo;s SD reader, and it instantly mounted on the desktop; I plugged an external monitor into the Mini 9&rsquo;s VGA port, opened the display settings, and was able to rearrange the monitors / change resolutions / etc; Flash in the browser worked without needing to install or fiddle with anything; heck, even wifi <em>just worked</em>. If you&rsquo;re not comfortable with sticking OS X on there, the Dell Mini 9 running Ubuntu is a lovely machine.</p>
<p>So, back to OS X. Aside from a few minor niggles due to my hardware setup<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup>, installation was a breeze. This is one of the things that makes the Mini 9 such an attractive proposition as a Mac netbook - all of the wrinkles have been ironed out of the process by the clever group of people over at <a href="http://mydellmini.com">http://mydellmini.com</a>. I won&rsquo;t re-iterate the process in full here (I followed <a href="http://mydellmini.com/forum/how-to-install-mac-os-x-dellefi-method-t3925.html">this guide</a>), but in short it&rsquo;s a case of:</p>
<ol>
<li>Create a DellMiniBoot boot disc (either CD or USB) and boot from it.</li>
<li>Swap the disc with the Leopard installation DVD and tell DellMiniBoot to boot it.</li>
<li>Install Leopard.</li>
<li>When prompted to reboot, do so using the DellMiniBoot disc, and tell it to boot from your hard drive.</li>
<li>Once you&rsquo;re in OS X, run the DellEFI application to install the fixes that&rsquo;ll make sure everything works ok.</li>
<li>If you want two-finger trackpad scrolling, you&rsquo;ll want to install these <a href="http://mydellmini.com/forum/touchpad-drivers-t5577.html">trackpad drivers</a>.</li>
</ol>
<p>It&rsquo;s fairly straightforward, as long as you follow the guide. I had the odd problem crop up now and again, but a quick Googling saw me through - in particular, when rebooting after the installation, I had to boot into safe mode (using the -f flag) so I could get all the way through the post-install setup process. Other than that, it was pretty smooth.</p>
<p>The Mini 9 runs OS X beautifully. I&rsquo;ve been using the Mini 9 a lot over the last 2 weeks and haven&rsquo;t run into anything that hasn&rsquo;t worked.</p>
<p><strong>Things I like</strong></p>
<ul>
<li><strong>Tiny and light.</strong> This is überportable. I&rsquo;ve been chucking it into my work bag and taking it to the office with me every day. By comparison, I&rsquo;ve taken my MBP in twice in the last 6 months because it&rsquo;s just a hassle.</li>
<li><strong>Silent.</strong></li>
<li><strong>Fast. Very fast.</strong><br>
Fullscreen HD flash video gets a bit stuttery, but hey, this is a netbook. Streaming 480p H.264 movie trailers works brilliantly, however.</li>
<li><strong>Convenient.</strong> For small tasks around the house, taking to work, to a friend&rsquo;s house, going home for the weekend, surfing in bed, and assorted other scenarios, this is a brilliant solution.</li>
<li><strong>A built-in SD card reader.</strong><br>
Works flawlessly, and is extremely useful.</li>
<li><strong>Cute.</strong><br>
C&rsquo;mon, look at it! It&rsquo;s tiny!</li>
</ul>
<p><strong>Issues</strong></p>
<ul>
<li>Somewhat <strong>cramped keyboard</strong> on the right side.<br>
For some reason, our <a href="http://www.mydellmini.com/images/t_uk-keyboard.jpg">UK keyboard</a> seems to have had an extra key squeezed into each row, meaning that the keyboard is a little more cramped than the <a href="http://images.anandtech.com/reviews/mobile/Dell/Mini/keyboard3.jpg">US one</a>. It took a little adjusting to - the tiny right-hand shift key, which is the one I usually use, was quite easy to miss at first.</li>
<li><strong>Screen size</strong> is a limitation in some situations, although for what I&rsquo;m using it for it&rsquo;s generally fine.</li>
<li>I&rsquo;ve had one occasion where the mouse didn&rsquo;t work properly after waking, and one or two other assorted issues where it hasn&rsquo;t-quite-woken-up-properly.</li>
<li>Very very occasionally, it doesn&rsquo;t boot (the spinner doesn&rsquo;t appear on the boot screen). If that&rsquo;s the case, just turn it off and on again.</li>
</ul>
<p>One final point it may be worth making is that this is <em>not</em> a replacement for a full-size Mac. This is a netbook, and a compliment to an existing machine - don&rsquo;t go thinking you&rsquo;ll get the same experience you will from a full-sized MacBook, because you won&rsquo;t. Rumours are that Apple may be creating their own netbook-like device to be introduced later this year. Time will tell whether this is true or not - I&rsquo;d be very much interested to see Apple&rsquo;s take on the whole netbook thing.</p>
<p>I was going to finish off by filming a walkthrough showing how well things run on the Mini 9, but <a href="http://ihnatko.com/">Mr Andy Ihnatko</a> does a sterling job of it himself:</p>

			<div
					style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
				<iframe
					src="https://player.vimeo.com/video/3630135?dnt=0"
						style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" allow="fullscreen">
				</iframe>
			</div>

<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>There&rsquo;s the MacBook Air, of course, but that&rsquo;s <em>thin</em> - whereas the most important factor for portability in my opinion is width and depth. A Macbook Air, whilst lighter, takes up essentially the same amount of space as a normal MacBook - you&rsquo;d still need a &gt; 13&quot; bag.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p>Note that their caveat beneath the compatibility table is incorrect - you <strong>don&rsquo;t</strong> need a replacement SSD for sleep to work. Just make sure you get a 16GB or bigger SSD in it. 8GB just doesn&rsquo;t cut the mustard.&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:3">
<p>You need an external DVD drive to load the Leopard installation DVD, and I was using an internal IDE DVD drive with an IDE -&gt; USB convertor. The Mini 9 didn&rsquo;t want to boot from this, though - so I had to copy the Leopard DVD image to an external hard drive, and boot from <em>that</em>.&#160;<a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content:encoded></item><item><title>Building Ruby 1.9 on Mac OS X 10.5 (Leopard)</title><link>https://frosty.blog/2008/06/02/building-ruby-1-9-on-mac-os-x-10-5-leopard/</link><pubDate>Mon, 02 Jun 2008 23:00:00 +0000</pubDate><guid>https://frosty.blog/2008/06/02/building-ruby-1-9-on-mac-os-x-10-5-leopard/</guid><description>&lt;p&gt;I&amp;rsquo;ve recently been learning Ruby, and I wanted to install Ruby 1.9 on OS X to try out some of the new features (the current &amp;lsquo;stable&amp;rsquo; version of Ruby is 1.8.6). Unfortunately, I couldn&amp;rsquo;t find one cohesive guide to doing this, and instead had to mash together various instructions from across the interwebs. I&amp;rsquo;ve pieced everything together here in the hope that it&amp;rsquo;ll help out someone else. :-)&lt;/p&gt;
&lt;h3 id="step-1"&gt;Step 1&lt;/h3&gt;
&lt;p&gt;Firstly, readline needs updating, so grab readline 5.2 from &lt;a href="http://ftp.gnu.org/gnu/readline/"&gt;http://ftp.gnu.org/gnu/readline/&lt;/a&gt;. After extracting it (&lt;code&gt;tar xvzf readline-5.2.tar.gz&lt;/code&gt;) you&amp;rsquo;ll need to make one or two changes so that it will build correctly on Leopard. Simply apply this &lt;a href="http://www.ruby-forum.com/topic/136498#607592"&gt;readline patch&lt;/a&gt; to support/shobj-conf in the readline directory you&amp;rsquo;ve created. The patch is necessary because readline currently doesn&amp;rsquo;t check for Leopard, only for earlier versions of OS X. In fact, the patch is simple enough that you could change the two lines by hand if necessary.&lt;/p&gt;</description><content:encoded><![CDATA[<p>I&rsquo;ve recently been learning Ruby, and I wanted to install Ruby 1.9 on OS X to try out some of the new features (the current &lsquo;stable&rsquo; version of Ruby is 1.8.6). Unfortunately, I couldn&rsquo;t find one cohesive guide to doing this, and instead had to mash together various instructions from across the interwebs. I&rsquo;ve pieced everything together here in the hope that it&rsquo;ll help out someone else. :-)</p>
<h3 id="step-1">Step 1</h3>
<p>Firstly, readline needs updating, so grab readline 5.2 from <a href="http://ftp.gnu.org/gnu/readline/">http://ftp.gnu.org/gnu/readline/</a>. After extracting it (<code>tar xvzf readline-5.2.tar.gz</code>) you&rsquo;ll need to make one or two changes so that it will build correctly on Leopard. Simply apply this <a href="http://www.ruby-forum.com/topic/136498#607592">readline patch</a> to support/shobj-conf in the readline directory you&rsquo;ve created. The patch is necessary because readline currently doesn&rsquo;t check for Leopard, only for earlier versions of OS X. In fact, the patch is simple enough that you could change the two lines by hand if necessary.</p>
<p>Then, configure readline, specifying a location so you don&rsquo;t interfere with what&rsquo;s already on your system, then build and install it:</p>





<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">./configure --prefix<span class="o">=</span>/usr/local/
</span></span><span class="line"><span class="cl">make
</span></span><span class="line"><span class="cl">sudo make install</span></span></code></pre></div><h3 id="step-2">Step 2</h3>
<p>Next, you&rsquo;ll want to download Ruby 1.9: <a href="http://ftp.ruby-lang.org/pub/ruby/1.9/">http://ftp.ruby-lang.org/pub/ruby/1.9/</a>. Again, we want to specify our own install location, and we also need to tell it where our newly installed readline is. We&rsquo;re also specifying a program-suffix here (-trunk) so we can differentiate Ruby 1.9 from our pre-installed Ruby (so we&rsquo;ll access 1.9 with ruby-trunk, irb-trunk, etc, and 1.8.6 with ruby, irb, etc).</p>





<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">tar xvzf ruby-1.9.0-1.tar.gz
</span></span><span class="line"><span class="cl"><span class="nb">cd</span> ruby-1.9.0-1
</span></span><span class="line"><span class="cl">./configure --prefix<span class="o">=</span>/usr/local/ruby1.9 --program-suffix<span class="o">=</span>-trunk --with-readline-dir<span class="o">=</span>/usr/local --
</span></span><span class="line"><span class="cl">make
</span></span><span class="line"><span class="cl">sudo make install</span></span></code></pre></div><h3 id="step-3">Step 3:</h3>
<p>Finally, because we&rsquo;ve installed Ruby in a specific location, you&rsquo;ll most likely need to add its location to your path. I have a bin/ directory in my home directory, so I simply have the following line in my .bash_profile:</p>





<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="c1"># Add Ruby 1.9</span>
</span></span><span class="line"><span class="cl"><span class="nv">PATH</span><span class="o">=</span><span class="nv">$PATH</span>:/usr/local/ruby1.9/bin</span></span></code></pre></div><p>And you&rsquo;re done. You can test by running <code>ruby-trunk --version</code>. Any problems, sound off in the comments. I may have missed something, as it&rsquo;s rather late - and I could&rsquo;ve almost certainly written this better. Hopefully I&rsquo;ll revisit it in the future. If you get stuck, the articles I used to put this together might be of use:</p>
<ul>
<li><a href="http://lindsaar.net/2008/1/18/installing-ruby-1-9-on-mac-osx">Installing Ruby 1.9 on Mac OSX</a></li>
<li><a href="http://www.ruby-forum.com/topic/136498">Trouble with readline and building Ruby 1.9</a></li>
<li>Also, thank you to Han Kessels for helping me via e-mail.</li>
<li>And I&rsquo;m sure there were some other sites, that I can&rsquo;t recall at the moment.</li>
</ul>
]]></content:encoded></item></channel></rss>