<?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>dual booting Archives | Programming Zen</title>
	<atom:link href="https://programmingzen.com/tag/dual-booting/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmingzen.com/tag/dual-booting/</link>
	<description>Meditations on programming, startups, and technology</description>
	<lastBuildDate>Fri, 05 Aug 2016 21:03:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">1397766</site>	<item>
		<title>Dual Booting GalliumOS and Chrome OS on a Toshiba Chromebook 2</title>
		<link>https://programmingzen.com/dual-booting-galliumos-and-chrome-os-on-a-toshiba-chromebook-2/</link>
					<comments>https://programmingzen.com/dual-booting-galliumos-and-chrome-os-on-a-toshiba-chromebook-2/#comments</comments>
		
		<dc:creator><![CDATA[Antonio Cangiano]]></dc:creator>
		<pubDate>Wed, 03 Aug 2016 18:00:36 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[chromebooks]]></category>
		<category><![CDATA[dual booting]]></category>
		<category><![CDATA[galliumos]]></category>
		<category><![CDATA[toshiba chromebook 2]]></category>
		<guid isPermaLink="false">http://programmingzen.com/?p=1742</guid>

					<description><![CDATA[<p>As I mentioned in my previous article, I bought a Chromebook with the intention of using it as a portable machine for web development, writing, and general productivity on the go. Chrome OS is quite limited so, in practice, my goal requires installing a version of Linux on the Chromebook. And since I don&#x2019;t dislike Chrome OS for Netflix and casual browsing, I decided to dual-boot GalliumOS and Chrome OS on my Toshiba Chromebook 2 (model CB35-C3300 specifically). Below, I&#x2019;ll give you step by step instructions on how to accomplish that. Create recovery media and back up your Chromebook Before </p>
<p>The post <a href="https://programmingzen.com/dual-booting-galliumos-and-chrome-os-on-a-toshiba-chromebook-2/">Dual Booting GalliumOS and Chrome OS on a Toshiba Chromebook 2</a> appeared first on <a href="https://programmingzen.com">Programming Zen</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="message_box warning"><p>This guide provides step-by-step instructions for dual booting GalliumOS and Chrome OS on your Toshiba Chromebook 2 device. I’m not responsible for any damage that these instructions might cause to your machine. They worked for me but please proceed to use them at your own risk.</p></div>
<p>As I mentioned in my previous article, I <a href="https://programmingzen.com/developing-with-a-chromebook/">bought a Chromebook</a> with the intention of using it as a portable machine for web development, writing, and general productivity on the go.</p>
<p>Chrome OS is quite limited so, in practice, my goal requires installing a version of Linux on the Chromebook. And since I don’t dislike Chrome OS for Netflix and casual browsing, I decided to dual-boot GalliumOS and Chrome OS on my Toshiba Chromebook 2 (model <a href="https://programmingzen.com/recommends/?B015806LMM">CB35-C3300</a> specifically).</p>
<p>Below, I’ll give you step by step instructions on how to accomplish that.</p>
<h3>Create recovery media and back up your Chromebook</h3>
<p>Before even thinking of touching your Chromebook, I recommend creating recovery media via a USB stick. You can do so by following <a href="https://support.google.com/chromebook/answer/6002417?hl=en">Google’s instructions here</a>.</p>
<p>Note that recovering your Chromebook will only bring it back to its original conditions, as it came to you from the manufacturer.</p>
<p>So if you’ve been using your Chromebook already and have data or customizations that are not synced in the cloud, make sure you <strong>backup your Chromebook</strong> before proceeding.</p>
<h3>Choose a firmware</h3>
<p>Toshiba Chromebook 2 models from 2015 use a Broadwell microarchitecture which means that <a href="https://wiki.galliumos.org/Firmware">it is recommended</a> that you upgrade their firmware prior to installing GalliumOS.</p>
<p>You have two main choices for upgrading/flashing your firmware. <a href="https://johnlewis.ie/custom-chromebook-firmware/rom-download/">John Lewis’ rom</a> or <a href="https://mrchromebox.tech/">Mr. Chromebox’s utility script</a>.</p>
<p>Both will work, however, there is an important distinction that led me to use Mr. Chromebox’s script.</p>
<p>John Lewis’ script assumes that you’ll be dual-booting Linux from USB or an SD card. If no such stick or card is present, the system will default to booting from the internal hard drive.</p>
<p>This is all fine and dandy until you have GalliumOS installed on the internal disk and happen to have an SD card or low profile USB stick attached to your Chromebook for extra storage.</p>
<p>In such instances, what happens is that the BIOS (i.e., SeaBIOS) will try to boot from the external storage, won’t find the operating system, and fail to boot (typically remaining stuck on <code>Booting from Hard Disk…</code>) until you eject the card and reboot.</p>
<p>This happened to me, as I wanted GalliumOS installed on the internal disk while leveraging a 64 GB card for extra data storage. Mr. Chromebox’s firmware worked out of the box for this layout.</p>
<p>Unlike John Lewis’ script, Mr. Chromebox’s script also asked me if I wanted to set my default boot device to USB, so it’s worth noting that it does support the other approach as well.</p>
<p>Long story short, provided your Chromebook is supported, use Mr. Chromebox’s script.</p>
<h3>Flash your firmware</h3>
<p>OK, assuming you are going with Mr. Chromebox, here are the steps:</p>
<ol>
<li>Hold <code>ESC</code> and <code>F3</code> (the refresh symbol key) at the same time, then press the power button.</li>
<li>You’ll get a scary warning that <code>Chrome OS is missing or damaged</code>. Don’t worry about it. Press <code>CTRL +D</code>. Then when prompted, press the enter key.</li>
<li>Your laptop will reboot a few times and make some warning sounds here and there as it does so. This is all part of the process. Let it do its thing.</li>
<li>When step 3 has concluded, you’ll be booted into a brand new Chrome OS installation in developer mode. Enter your WiFi password and sign in.</li>
<li>Press <code>CTRL+ALT+T</code> to open a crosh session in your browser. Then type <code>shell</code> and hit enter there.</li>
<li>Download and execute Mr. Chromebox’s utility by running: <code>cd; curl -L -O https://mrchromebox.tech/firmware-util.sh &amp;&amp; sudo bash firmware-util.sh</code></li>
<li>Amongst the available options, for the Toshiba Chromebook 2 2015 pick option 1 (<code>RW_LEGACY</code>) and answer <code>N</code> (so no) to the question about installing on USB, unless you want to boot from a USB stick or SD card.</li>
<li>Follow the prompts until you receive a message about the successful completion of the firmware upgrade.</li>
</ol>
<h3>Install GalliumOS with chrx</h3>
<p>chrx is a script that will download and install GalliumOS for you. It can even be used to install other Linux distros, but I suggest you stick to the highly optimized GalliumOS.</p>
<p>Once you’re done with the firmware upgrade described above, you can install and run chrx by entering following command in the shell:</p>
<p><code>curl -O https://chrx.org/go &amp;&amp; sh go</code></p>
<p>Follow the prompts. At some point, you’ll be asked to provide a size for GalliumOS’ partition. The default, 9 GB, is sensible if you plan to keep Chrome OS.</p>
<p>Two reboots will happen and you’ll find yourself in a brand new Chrome OS installation again. Only this time, not only will you be in developer mode, but you’ll also have a partition ready for GalliumOS.</p>
<p>You know the drill by now:</p>
<ol>
<li>Connect to the WiFi</li>
<li>Login with Google</li>
<li>Press <code>CTRL+ALT+T</code> to open crosh in a tab</li>
<li>Type <code>shell</code> and hit enter</li>
</ol>
<p>Now we can finally use chrx to install GalliumOS. By default it creates a <code>chrx</code> user for you, which is not ideal, so specify the username (and hostname for good measure). I used:</p>
<p><code>cd; curl -O https://chrx.org/go &amp;&amp; sh go -U tony -H cb</code></p>
<p>Change <code>tony</code> to your username, and <code>cb</code> to whatever you want your box to be called.</p>
<p>If curl fails with a <code>(23) Failed writing body</code> error, you are likely running the command in the root filesystem <code>/</code> rather than the home directory <code>~</code>, which means that you don’t have writing permission. <code>cd</code>, as per the command above, before you curl.</p>
<p>Go along with the prompt and any confirmation requests.</p>
<p>Once your machine reboots, you’ll see a developer mode warning screen at boot and you can now use:</p>
<ul>
<li><code>CTRL + D</code> to log into Chrome OS</li>
<li><code>CTRL + L</code> to log into GalliumOS</li>
</ul>
<p>(D for default, L for Legacy Boot Mode, but it might be easier to remember L for Linux.)</p>
<p>It’s annoying that the developer warning screen exists, but to remove it you’ll need to perform <a href="https://plus.google.com/107476040647003740329/posts/dq1njnGrRVd">some hardware surgery</a>, so I have not bothered with it for now.</p>
<p>At boot, do not press the spacebar, or you’ll be kicked out of developer mode, and you’ll have to redo the process of getting back in developer mode.</p>
<p>This matters more so if you leave your Chromebook unattended or if you let your kids or a non-technical oriented person also use your laptop.</p>
<h3>Conclusion</h3>
<p>In this article, we saw how you can run GalliumOS (a lightweight Ubuntu distro) and Chrome OS on a Toshiba Chromebook 2 (2015).</p>
<p>We first created recovery media and backed up the machine, next we upgraded the firmware, then leveraging chrx we installed GalliumOS.</p>
<p>Finally, using <code>CTRL+D</code> and <code>CTRL+L</code>, we choose which of the two operating systems we want to boot when we start our Chromebook.</p>
<p>My first impression of the Toshiba and the dual boot setup are mostly positive.</p>
<p>Provided you are a developer or someone who is technically minded, I definitely recommend this setup for a portable development machine on the cheap.</p>
<p>The post <a href="https://programmingzen.com/dual-booting-galliumos-and-chrome-os-on-a-toshiba-chromebook-2/">Dual Booting GalliumOS and Chrome OS on a Toshiba Chromebook 2</a> appeared first on <a href="https://programmingzen.com">Programming Zen</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://programmingzen.com/dual-booting-galliumos-and-chrome-os-on-a-toshiba-chromebook-2/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1742</post-id>	</item>
	</channel>
</rss>
