<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>Ubuntu on a MacBookPro 8,2 running Yosemite &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Sat, 15 Nov 2025 07:45:14 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>Ubuntu on a MacBookPro 8,2 running Yosemite &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Ubuntu on a MacBookPro 8,2 running Yosemite]]></title>
		<link>https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/</link>
					<comments>https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sat, 15 Nov 2014 12:46:10 +0000</pubDate>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[NaBloPoMo]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=19915</guid>

					<description><![CDATA[Being mostly notes to stop me getting frustrated.  Based, in part, from this excellent forum post.  I&#039;ve always run Linux on my Mac Hardware.  I love the physical aspects of the Mac line, but I really can&#039;t be bothered with their Play-doh infested software.  Let&#039;s assume you have a nice, clean, freshly installed OSX 10.10 Yosemite sat on your MacBook Pro.  I&#039;ll also assume that you may…]]></description>
										<content:encoded><![CDATA[<p>Being mostly notes to stop me getting frustrated.</p>

<p>Based, in part, <a href="https://web.archive.org/web/20140701104933/http://ubuntuforums.org/showthread.php?t=2157775">from this excellent forum post</a>.</p>

<p>I've always run Linux on my Mac Hardware.  I love the physical aspects of the Mac line, but I really can't be bothered with their Play-doh infested software.</p>

<p>Let's assume you have a nice, clean, freshly installed OSX 10.10 Yosemite sat on your MacBook Pro.  I'll also assume that you may occasionally want to boot into OSX, so we'll be dual booting with Ubuntu 14.04.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/11/Ubuntu-MacBook-Pro.jpg" alt="Ubuntu MacBook Pro" width="1024" height="1081" class="aligncenter size-full wp-image-19944">

<h2 id="partition"><a href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#partition">Partition</a></h2>

<p>In OSX, open the Disk Utility, select the main disk.  We're going to split this in to two parts.  Up to you how much you want to dedicate to OSX.  Set the 2nd partition to be "Free Space".</p>

<h2 id="refind"><a href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#refind">rEFInd</a></h2>

<p>Because Apple is a super-special-snowflake, it's not possible to directly install Ubuntu onto the new partition. We need to first install rEFInd.  There are <a href="http://www.rodsbooks.com/refind/yosemite.html">specific instructions for Yosemite</a>.</p>

<ol>
    <li>Download rEFInd.</li>
    <li>Extract it onto your Mac.</li>
    <li>Open a Terminal and navigate to the directory.</li>
    <li>Run this command <pre>sudo ./install.sh --esp</pre></li>
    <li>We need to edit some files. Still in the Terminal <pre>mkdir /Volumes/esp</pre> then <pre>sudo mount -t msdos /dev/disk0s1 /Volumes/esp</pre></li>
    <li>Edit the file "/Volumes/esp/EFI/refind/refind.conf". Change the line <pre>#dont_scan_volumes</pre> to <pre>dont_scan_volumes foo,bar</pre></li>
    <li>Save the file. When you reboot, rEFInd should ask you which OS you want to boot to.</li>
</ol>

<h2 id="get-ubuntu"><a href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#get-ubuntu">Get Ubuntu</a></h2>

<p>Probably the easiest bit! <a href="http://www.ubuntu.com/download/desktop">Download the 64 bit version of Ubuntu</a>.  I used another Ubuntu machine to create the Boot Disk on a USB stick.</p>

<h2 id="install-ubuntu"><a href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#install-ubuntu">Install Ubuntu</a></h2>

<p>Turn your MacBook off, insert the USB drive, turn the device on.  All being well, rEFInd will give you a choice of devices to boot into.  You <em>probably</em> want the one which says something like</p>

<pre>/USB/EFI/grub64</pre>

<p>You should see a grub style boot screen. Use the cursor keys to move down to "Install Ubuntu". <strong>Do NOT press enter!</strong> Press "e" to edit the boot options.</p>

<p>If you don't do this - your screen will be blank. And a black screen will make you sad.</p>

<p>Remove the words</p>

<pre>quiet nosplash</pre>

<p>and replace them with</p>

<pre>nomodeset</pre>

<p>.  Then press the "F10" key to boot.</p>

<p>You'll be taken through the normal Ubuntu installation screen. It's pretty much just clicking "Next" until it is installed.</p>

<h2 id="partitions"><a href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#partitions">Partitions</a></h2>

<p>...With the exception of setting up the partitions!</p>

<ul>
    <li>Create a 130MB empty partion. Macs get sad if OSX is bundled up next to a proper OS.</li>
    <li>Create a 512MB partition and assign it to "/boot"</li>
    <li>At the end of the free space, create a "Swap" parition. Personally, I use as much swap as there is RAM.</li>
    <li>With the remaining free space, create a partition and assign it to "/".</li>
    <li>Which device to you want to boot from? I chose the partition assigned to "/boot" - that way you go straight into Ubuntu when you start the machine.  If you ever need to get into OSX, hold down "alt" while turning the machine on.</li>
</ul>

<p>Keep clicking next!  Eventually Ubuntu will be installed and you can reboot!</p>

<h2 id="setting-up-video"><a href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#setting-up-video">Setting Up Video</a></h2>

<p>When the grub screen comes up, again you'll need to hit "e" to edit the default boot options.</p>

<p>Scroll down to "load_video" and add these lines below it.  I don't know what they mean - <a href="https://help.ubuntu.com/community/MacBookPro8-2/Raring">it's just magic</a>.</p>

<pre> outb 0x728 1
 outb 0x710 2
 outb 0x740 2
 outb 0x750 0
</pre>

<p>That should boot you into Linux. Now we need to make those changes permanent.  Open a terminal and run</p>

<pre>sudo nano /etc/grub.d/10_linux</pre>

<p>Press CTRL+W to find the line containing "gzio".</p>

<p>Add these lines before it, so the new section looks like</p>

<pre>echo "    outb 0x728 1" | sed "s/^/$submenu_indentation/"
echo "    outb 0x710 2" | sed "s/^/$submenu_indentation/"
echo "    outb 0x740 2" | sed "s/^/$submenu_indentation/"
echo "    outb 0x750 0" | sed "s/^/$submenu_indentation/"
echo "    insmod gzio" | sed "s/^/$submenu_indentation/"
</pre>

<p>To apply these changes, run the following commands.</p>

<pre>sudo update-grub
sudo apt-get update
sudo apt-get dist-upgrade
</pre>

<h2 id="fans"><a href="https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/#fans">Fans</a></h2>

<p>For better fan performance...</p>

<pre>sudo apt-get install lm-sensors
sudo sensors-detect</pre>

<p>Answer yes to all questions. Then:</p>

<pre>sudo apt-get install macfanctld</pre>

<p>Reboot and enjoy Ubuntu!  Everything seems to "just work" - although I'll write another blog post explaining how I've customised it.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=19915&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2014/11/ubuntu-on-a-macbookpro-82-running-yosemite/feed/</wfw:commentRss>
			<slash:comments>13</slash:comments>
		
		
			</item>
	</channel>
</rss>
