<?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>galliumos Archives | Programming Zen</title>
	<atom:link href="https://programmingzen.com/tag/galliumos/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmingzen.com/tag/galliumos/</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>
		<item>
		<title>And That&#8217;s How I Ended up Developing with a Chromebook</title>
		<link>https://programmingzen.com/developing-with-a-chromebook/</link>
					<comments>https://programmingzen.com/developing-with-a-chromebook/#comments</comments>
		
		<dc:creator><![CDATA[Antonio Cangiano]]></dc:creator>
		<pubDate>Wed, 27 Jul 2016 23:42:20 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[chromebooks]]></category>
		<category><![CDATA[developer laptops]]></category>
		<category><![CDATA[galliumos]]></category>
		<category><![CDATA[laptops]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[macbook pro]]></category>
		<category><![CDATA[macs]]></category>
		<guid isPermaLink="false">http://programmingzen.com/?p=1740</guid>

					<description><![CDATA[<p>In my previous post on laptops for developers, I shortlisted a few options.&#xA0;&#xA0;In this one, I share the story of how I will end up developing with a Chromebook. I almost bought a Lenovo After mulling it over, and taking into account the feedback I received, I was quite positive I&#x2019;d be buying a Lenovo X1 Carbon. And then I saw it: an&#xA0;HP Spectre ultrabook that was available at Costco. Gorgeous laptop. Brilliant screen, great keyboard, good specs, premium price, but not exorbitant. It is also lightweight and slim. HP markets it as the thinnest 13&#x2033; ultrabook in the world. </p>
<p>The post <a href="https://programmingzen.com/developing-with-a-chromebook/">And That&#8217;s How I Ended up Developing with a Chromebook</a> appeared first on <a href="https://programmingzen.com">Programming Zen</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In my previous post on <a href="https://programmingzen.com/developer-laptops-in-2016/">laptops for developers</a>, I shortlisted a few options.  In this one, I share the story of how I will end up developing with a Chromebook.</p>
<h2>I almost bought a Lenovo</h2>
<p>After mulling it over, and taking into account the feedback I received, I was quite positive I’d be buying a Lenovo X1 Carbon.</p>
<p>And then I saw it: an <a href="https://programmingzen.com/recommends/?B01FG1ZVWE">HP Spectre</a> ultrabook that was available at Costco. Gorgeous laptop. Brilliant screen, great keyboard, good specs, premium price, but not exorbitant. It is also lightweight and slim. HP markets it as the thinnest 13&#8243; ultrabook in the world.</p>
<p>I don’t care too much about thinness (self-deprecating joke not intended), but boy, that laptop is sharp looking. So I bought one with the intention of dual booting Linux on it.</p>
<h2>Time to install Linux</h2>
<p>I brought my HP Spectre home, did the unboxing and was very impressed by the luxurious presentation, as well as the laptop itself.</p>
<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="hp-spectre-unboxing.jpg" src="https://i0.wp.com/programmingzen.com/wp-content/uploads/2016/07/hp-spectre-unboxing.jpg?resize=600%2C450&#038;ssl=1" alt="Nice presentation" width="600" height="450" border="0" /></p>
<p><img data-recalc-dims="1" decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="hp-spectre.jpg" src="https://i0.wp.com/programmingzen.com/wp-content/uploads/2016/07/hp-spectre.jpg?resize=600%2C450&#038;ssl=1" alt="HP Spectre" width="600" height="450" border="0" /></p>
<p>It was a beautiful, fast machine and I was one happy camper. For a little while at least…</p>
<h2>Failing to install Linux on the HP Spectre</h2>
<p>Some people, including <a href="https://www.youtube.com/watch?v=DoEDsMhCtzE">Leo Laporte</a>, mentioned that they couldn’t get Linux to run on this laptop. However, one or two others claimed to have had success with it.<br />
I bought the laptop on the off chance that those folks were right. However, that approach didn’t pan out too well for me.</p>
<p>The HP Spectre ships with 3 USB-C ports. One used for the charger, the others as USB or Thunderbolt ports. It includes two adapters, USB-C to Ethernet and USB-C to USB 3.0, respectively.</p>
<p>I placed Ubuntu on a USB key (with <a href="https://unetbootin.github.io/">UNetbootin</a>) that was connected to their USB-C to USB 3.0 adapter and proceeded to boot the live version of Ubuntu 16.04. Doing so failed.</p>
<p><img data-recalc-dims="1" decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="hp-spectre-linux-error.jpg" src="https://i0.wp.com/programmingzen.com/wp-content/uploads/2016/07/hp-spectre-linux-error.jpg?resize=600%2C400&#038;ssl=1" alt="Hp Spectre Linux error" width="600" height="400" border="0" /></p>
<p>Pressing F10 gets you into the BIOS, from which I tried disabling secure boot and enabling legacy USB support. No luck. (I must remark that the BIOS options were quite limited compared to those of many laptops.)</p>
<p>Researching the error, I was able to determine that the issue was related to booting from a USB 3.0 device. So I tried a USB 2.0 key. Nothing. Tried to boot from an external DVD drive. Same error.</p>
<p>OK, let’s try something with a more recent kernel? No dice. Fedora 24? Nope.</p>
<h2>Installing Linux like it&#8217;s 1999</h2>
<p>Further investigation led me to find a boot parameter that would allow the live installation to start. Pressing <code>e</code> with the “Try live” GRUB2 line selected enabled me to add <code>acpi=off pci=noacpi</code> to the boot command.</p>
<p>This started the live session, though once it was booted there were serious issues that were probably brought on by disabling ACPI. Truth be told it was 4 am at that point, so I don’t even remember what were the specific issues, but the gist of it was that the laptop was not usable at all with Linux.</p>
<p>It really reminded me of all-nighters I used to do installing Linux and recompiling kernels back in the late 1990s. In all fairness, today’s Linux is fantastic and a big component at play here is how new this laptop is.</p>
<p>I restored the laptop to its original configuration and returned it to Costco. They offer 90 day, almost no question asked, returns on electronics so I was able to promptly get a full refund without any hassle.</p>
<p>I felt a touch sad returning the little guy and even considered running Linux in a VM from Windows. Or perhaps even relying on the upcoming Bash within Windows. I know, I know… but that’s how much I liked it.</p>
<h2>I almost bought a Lenovo, for the second time</h2>
<p>With the HP Spectre out of the picture, the Lenovo X1 Carbon was tempting me again. I considered the Dell XPS 13, but the, quite honestly, stupid placement of the webcam at the bottom left side was very off putting. I also find the Lenovo keyboard to be superior to that of the Dell.</p>
<p>Okay, time to decide between <a href="https://programmingzen.com/recommends/?B01DHTXME6">Lenovo X1 Carbon</a> vs <a href="https://programmingzen.com/recommends/?B01DK47BXQ">X1 Yoga</a>. The Yoga version is essentially the touch screen 2-in–1 version of the Carbon. It weighs a little more, it costs a few hundred more, and it lasts (battery wise) a little less.</p>
<p>I’m not huge on touch screens for laptops, so my decision was easy enough. Time to order a Lenovo X1 Carbon. Along with the MacBook Pro, I consider the Lenovo X1 Carbon to be the gold standard of developer ultrabooks.</p>
<p>Taking advantage of employee pricing I was able to spec out the Lenovo X1 Carbon I wanted for something like $2,300 (Canadian).</p>
<p>Now, that is, I fully admit, a lot of dough for a laptop. However, when you stop and consider the fact that laptops are what enable me to make a living, they end up being a very small professional investment (we are quite fortunate actually, compared to quite a few other professionals whose tools cost them tens of thousands of dollars).</p>
<p>I was this close to pulling the trigger on the order, but then the Lenovo site decided to malfunction. It did so multiple times, 404ing on me each and every time. I didn’t take it as a sign because I doubt that the Universe is all that concerned about my laptop choices, but it gave me enough time to reflect on my purchase.</p>
<h2>Comparing Apples to Lenovos</h2>
<p>I realized that, yes, I needed a portable laptop now, but I was about to spend a considerable amount of cash on a laptop without knowing what Apple would have to offer next soon enough.</p>
<p>Would I still buy a Lenovo X1 Carbon if a newly released MacBook Air 13&#8243; with retina display was available today? Maybe, or maybe not.</p>
<p>I’ll be honest. Unless Apple screws it up, they probably have the edge, since I could triple-boot MacOS Sierra, Ubuntu, and Windows 10 on the same machine. But either way, it would be nice to make that call when the two laptops actually exist and can be compared in terms of ergonomics, price, and specs.</p>
<p>Apple is likely to release such a retina MacBook Air 13&#8243; in September or October. Possibly a bit later in the year, though not likely further than the end of 2016.</p>
<h2>A Laptop to hold me over</h2>
<p>I began toying with the idea of acquiring a laptop to hold me over until the new Macs are out and I can make an informed decision on which laptop I want to pair to my existing MacBook Pro 15&#8243; (which I use as a desktop).</p>
<p>A key consideration for such a laptop would be cost. It has to be cheap so that my purchase decision of the laptop I really want in the fall or winter won’t be impacted by the expense that I make now.</p>
<h2>Old Laptops vs Chromebooks vs Cheap Windows Laptops</h2>
<p>The three main categories of inexpensive laptops that can run Linux are:</p>
<ul>
<li>Old laptops (either older models, refurbished, or used);</li>
<li>Chromebooks;</li>
<li>Cheap Windows Laptops (the few compatible ones).</li>
</ul>
<p>Old laptops and cheapo Windows laptops tend to be more powerful than Chromebooks and, provided they are compatible with Linux, more straightforward to set-up as Linux laptops for development (Chromebooks require extra steps to dual boot.)</p>
<p>However, Chromebooks tend to have the edge when it comes to portability, weight, looks, and battery life.</p>
<p>Chromebooks are also interesting because of the upcoming ability (in the fall, though it’s possible to try it now) to run Android apps.</p>
<p>So I shifted my research instead to Chromebooks.</p>
<h2>I almost bought a Lenovo, yet again</h2>
<p>Fine, this is getting ridiculous, I know. While researching Chromebooks I came across a smoking deal on New Egg. A Lenovo T430 with docking station for $299 Canadian.</p>
<p>Much like Jesus, I was tempted a third time. Only, by Lenovo.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="lenovo-meme.jpg" src="https://i0.wp.com/programmingzen.com/wp-content/uploads/2016/07/lenovo-meme.jpg?resize=393%2C330&#038;ssl=1" alt="Lenovo meme" width="393" height="330" border="0" /></p>
<p>I think that the T430 above would have made for a great Linux laptop. However, you can essentially anchor a boat with that baby.</p>
<p>When you consider the lack of battery life, the old school TFT panel, the chunky charger, its size, etc, I quickly started to see the value that a Chromebook can add.</p>
<p>And I look forward to the Android app element as well.</p>
<h2>Choosing a Chromebook for Linux</h2>
<p>Alright, time to pick a Chromebook. I considered several models, but the ones that stood out for me where the <a href="https://programmingzen.com/recommends/?B015806LMM">Toshiba Chromebook 2</a>, <a href="https://programmingzen.com/recommends/?B00TWFHONK">Dell Chromebook 11</a>, and <a href="https://www.acer.com/ac/en/US/content/series/acerchromebookr11">Acer R11</a>.</p>
<p>I’ll cut an already long story short, and tell you that I ordered a Toshiba Chromebook 2. It’s almost universally well reviewed and most people consider it to be the best Chromebook for the money (unless you are willing to shell out more for a Dell Chromebook 13 or significantly more for a <a href="https://store.google.com/product/chromebook_pixel_2015">Google Pixel</a>).</p>
<p>Great all around and the IPS Full HD display is particularly outstanding in its category.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone" style="display: block; margin-left: auto; margin-right: auto;" title="Developing with a chromebook" src="https://i0.wp.com/programmingzen.com/wp-content/uploads/2016/07/toshiba-chromebook-2.jpg?resize=600%2C425&#038;ssl=1" alt="Developing with a chromebook" width="600" height="425" border="0" /></p>
<p>Full disclosure here: I ordered it from the States. It’s going to take a week before it arrives, so what I write below is my plan rather than what I’ve actually already done.</p>
<p>If you are in the same boat, that wasn’t sunk by the T430 above, you should try to stick to:</p>
<ul>
<li>Intel-based Chromebooks for maximum application-level compatibility in Linux;</li>
<li>Recent Celeron or i3/i5 processors;</li>
<li>4 GB of RAM, because those Chrome tabs aren’t going to remember themselves;</li>
<li>SD card slots to easily and cheaply expand storage;</li>
<li>Decent, ideally IPS, panel so that you can be comfortable while staring at the screen for long sessions at the time;</li>
<li>Relatively inexpensive (or you might as well buy an ultrabook). The $200-$400 range is reasonable.</li>
</ul>
<p>For me, the Toshiba Chromebook 2 ($299 USD) checked off all of those boxes. And I like that its hard drive is upgradable. It doesn’t hurt either that it takes 42 mm M.2 SSDs, which are quite cheap. If I like this laptop a lot, I’ll definitely upgrade its disk.</p>
<h2>Chromebook as a Linux laptop for development</h2>
<p>There are several ways to run Linux on a Chromebook for development purposes:</p>
<ol>
<li>Simply use the preinstalled Chrome OS (which is a restricted Linux) and leverage cloud-based development environments such as <a href="https://c9.io">Cloud9</a> and <a href="https://www.nitrous.io/">Nitrous</a>. And if you are a data scientist, use my team’s <a href="https://datascientistworkbench.com">Data Scientist Workbench</a>.</li>
<li>Install Linux via <a href="https://github.com/dnschneid/crouton">Crouton</a>. This chroot-based approach leverages the existing OS and allows you to cycle through a full-blown graphical Linux environment (e.g., Ubuntu with Xfce) and Chrome OS with Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward.</li>
<li>Do #2 + <a href="https://github.com/dnschneid/crouton/wiki/crouton-in-a-Chromium-OS-window-(xiwi)">xiwi</a> which allows you to run Linux apps in a Chrome OS window. Read the fine print, however, as performance can be a concern.</li>
<li>Dual boot a lightweight Linux distro such as <a href="https://galliumos.org/">GalliumOS</a>. In many cases, you’ll have to replace the firmware with a custom version in order to bypass Chrome OS restrictions. Check the <a href="https://wiki.galliumos.org/Hardware_Compatibility">hardware compatibility list</a> to ensure your Chromebook is supported.</li>
<li>Do the same as #4, but simply get rid of Chrome OS.</li>
</ol>
<p>I like the dual-boot approach the best. If that fails to realize for some reason, I’ll fall back on the less secure Crouton approach.</p>
<p>Either way, it’s worth keeping Chrome OS for things like Netflix.</p>
<h2>Reasonable Expectations</h2>
<p>I think I’m going to enjoy the little laptop that’s currently on its way to my doorstep. I have reasonable expectations, so I doubt I’ll be disappointed.</p>
<p>Obviously, a Chromebook (Pixel excluded) is not going to run heavy IDEs or multiple VMs, and I don’t plan to use it for those sorts of purposes.</p>
<p>Still, there is plenty of development (especially web development) to be had on a lightweight Linux laptop like the one I just ordered.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" style="display: block; margin-left: auto; margin-right: auto;" title="great-expectations-meme.jpg" src="https://i0.wp.com/programmingzen.com/wp-content/uploads/2016/07/great-expectations-meme.jpg?resize=599%2C259&#038;ssl=1" alt="Reasonable Expectations" width="599" height="259" border="0" /></p>
<h2>Will I get a MacBook Air in the fall?</h2>
<p>I may still buy that MacBook Air in the fall (or whenever the laptop becomes available). Though, there’s a chance that I might buy that Lenovo X1 Carbon after all, at that point in time.</p>
<p>Depending on how much I like the Toshiba Chromebook 2, I may keep it or sell it and recoup some money from it when I buy my portable development gig in a few months.</p>
<p>Maybe, just maybe, I might even just stick to the Chromebook plus the MacBook Pro 15 that I already have (certainly the most budget-friendly approach). I&#8217;ll share my decision and experiences developing with a Chromebook, in future posts.</p>
<p>If you have experience developing with a Chromebook, please feel free to share below.</p>
<p>The post <a href="https://programmingzen.com/developing-with-a-chromebook/">And That&#8217;s How I Ended up Developing with a Chromebook</a> appeared first on <a href="https://programmingzen.com">Programming Zen</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://programmingzen.com/developing-with-a-chromebook/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1740</post-id>	</item>
	</channel>
</rss>
