Hello, everyone. My name is Insector. No, really. That's my honest Linux username. Don't mock. Anyway, I have seen some good Instructables on how to install Linux on your Chromebook, but each one was missing something helpful. So, since I have high ambitions, I decided that my first Instructable would be on how to install Linux on your Chromebook, if the title or earlier parts of this introduction didn't give that away. So, without further ado, let's get to it.

Step 1: Opening Your ChromeOS Developer Shell

Before you do anything, you will have to put your Chromebook into Developer Mode *cue pretentious music*. Don't worry, because this is incredibly simple. Simply press and hold the esc and refresh keys, and tap the power button. After it turns off and reboots (this should happen near instantly), you will be met by a screen saying something along the lines of, "ChromeOS is missing or damaged." Don't fret, your computer is fine. When you get this screen, press ctrl+d. You will then be greeted with a screen saying something like, "To turn OS Verification off press enter." At this point, press enter. Eventually your computer will reboot, and you will be asked to go through the initial setup process. After you do this, say hello to Developer Mode.

Now it is time to open Crosh. Simply press ctrl+alt+t. Crosh will open and greet you. Now, type in shell and press enter. You should now see the words chronos@localhost / $. Congratulations, you have reached the shell.


From now on, whenever you turn your Chromebook on, a warning screen will pop up. Just press ctrl+d.

Step 2: Getting Crouton on Your Chromebook

* Edit: It has come to my attention that most people will need to get Scribe from the Chrome Web Store in order for this to work. *

You are now ready to install Crouton. No, this is not a little piece of deliciously stale bread. Crouton is an extension thingamajig that was developed by a Google employee, and it is the reason that we can use Linux on our Chromebooks. Just click this link: crouton. After you click on it, Crouton should automatically download. You are now ready for the next step.

Step 3: Find Your Target

Now it is time to choose a desktop environment. This is simple; just type:

sh ~/Downloads/crouton -t help

This will give a list of desktops, among other things. Just choose one and remember it; you are going to need this. Personally, I like KDE.

Step 4: Choose Your Distro

It is now time to choose the Linux distro that you want to use. Type:

sh ~/Downloads/crouton -r list

You will be greeted by a list of Linux releases that you can choose. I was given the choice between a bunch of the Debian distros, a bunch of Ubuntu distros, or Kali. Choose the distro that you want, and remember it. Personally, I'm partial to Debian Wheezy, but I know a lot of people prefer the Ubuntu distros.

Step 5: Install Your Distro and Desktop

The time has come; you are finally installing Linux. Type in:

sh ~/Downloads/crouton -r (distro) -t (desktop) -n (distro)

where (distro) is replaced by the distro that you want and (desktop) is replaced by the desktop you want. For example, if I wanted Debian Wheezy with the KDE desktop, I would type:

sh ~/Downloads/crouton -r wheezy -t kde -n wheezy

Your Chromebook will now start printing out hundreds of lines of code and it will take about an hour to complete. Sit back and watch those pretty lines fly by.

Step 6: Username and Password

After a long time of anxious waiting, you will finally be asked to give a username and password. After doing this, you should be provided with some tips and the startup command, which should look like:

sudo start(distro)

Step 7: You Did It!

Congratulations. You now have Linux on your Chromebook. Your training is now complete. Go forth and Linux your heart out. Remember though, you must be in your shell to run the start command. I showed you how to do that earlier.

Thank you for being patient with me on this my first Instructable. Hopefully, it won't be my last. See you guys!

<p>I've done everything exactly like everyone has been telling me to but it wont work, i put shell and then</p><p>chronos@localhost / $ sudo sh -e ~Downloads/crouton -t xfce</p><p>And then this message pops up</p><p>sh: Can't open ~Downloads/crouton</p>
<p>You seem to have left out a slash. Try</p><p><strong>sudo sh -e ~/Downloads/crouton</strong></p>
<p>Well... that worked amazingly! Buuut it crashed and so i restarted it and it promted me with this</p><p>/usr/local/chroots/precise already has stuff in it!<br>Either delete it, specify a different name (-n), or specify -u to update it.</p>
<p>That may have something to do with the <strong>-e </strong>command that you put in. Honestly, I have no idea what <strong>-e </strong>does, so try running the command without it and tell me what happens.</p>
<p>I tried that and it said the same thing</p>
<p>Are you certain you have crouton in your downloads folder?</p>
<p>Yes I am</p>
<p>Ok so you got it working?</p>
<p>almost done</p><p>I tried to use the comand sudo startxfce4 and it said server error and more</p><p>what do i do</p>
<p>Instead of</p><p><strong>sudo startxfce4</strong></p><p>try</p><p><strong>sudo startxfce</strong></p>
<p>said comand not found</p>
<p>Send me some screenshots of the commands and the output.</p>
<p>this is the screenshot, but i don't know what the output is.</p>
<p>Ok so I tried it out on my machine.</p><p>Run</p><p><strong>sudo delete-chroot precise</strong></p><p>Then run</p><p><strong>sudo sh ~/Downloads/crouton -r precise -t xfce</strong></p><p>Then the command to start it is</p><p><strong>sudo startxfce4</strong></p>
<p>All the coding works till sudo startxfce4</p>
<p>*Wilt*</p><p>I know this is probably a bit frustrating, but thank you so much for being patient. We'll get it working!</p><p>Ok, I have 2 possible fixes. Cross your fingers!</p><p>First, try running</p><p><strong>sudo sh ~/Downloads/crouton -u -n precise -t xiwi</strong></p><p>And then see if you can start it.</p><p>If that doesn't work for you, try</p><p><strong>sudo rm /dev/dri/card0</strong></p><p>and then</p><p><strong>sudo mv /dev/dri/card1 /dev/dri/card0</strong></p><p>Tell me how that does for you!</p><p>Note: If you copy and paste what I have typed, it will help make sure you don't accidentally mistype. </p>
<p>when i typed </p><p>sudo sh ~/Downloads/crouton -u -n precise -t ximi</p><p>it said un able to correct problems, you have held broken packages</p><p>then when i tried </p><p>sudo mv /dev/dri/card1 /dev/dri/card0</p><p>it said cannot stat ' /dev/dri/card1' : No such file or directory</p><p>then i tried</p><p>sudo mv /dev/dri/card1 /dev/dri/card0</p><p>cannot stat &lsquo;/dev/dri/card1&rsquo;: No such file or directory</p><p>PS: Thank you for helping me all the way through</p>
<p>Alright, well then.</p><p>Held broken packages?</p><p>Seems it's time to nuke it.</p><p>Restart your computer, and when it says something like </p><p>&quot;ChromeOS is missing or damaged&quot;</p><p>hit the spacebar, and it should take your computer out of Developer Mode. This will destroy the broken packages keeping stuff from working. Then, retry this entire Instructible. It may not work, in which case you should retry my previous suggestions.</p>
<p>I was going over it and it said the samething</p><p>then i did developer mode and now it's saying </p><p>chronos@localhost / $ sudo startxfce4<br>sudo: startxfce4: command not found</p><p>Idk</p>
<p>Run</p><p><strong>sudo edit-chroot -a</strong></p><p>and send me a screenshot of what it says.</p>
<p>im about to quiet lol</p>
<p>Well, you have a unique issue.</p><p>One that I have no clue how to fix.</p><p>I cannot help you.</p><p>I must do the honorable thing, and fall on my sword like a Samurai.</p><p>*Falls on sword*</p><p>Seriously though, I have no clue how to help you. This honestly is an issue I have never encountered before. I am super sorry.</p>
<p>Thank you so much. I really appreciate it. You have been one of my bigest help.</p>
<p>Anytime :)</p>
<p>is sudo delete-chroot percise supposed to take long cause it says :</p><p>Delete /mnt/stateful_partition/crouton/chroot/precise? [a/yN]</p><p>am i supposed to type something in or do i keep waiting</p>
<p>Type</p><p><strong>y</strong></p><p>and hit enter.</p>
<p>now </p><p>sudo startxfce4 </p><p>won't work</p>
<p>I figured it out i think</p>
<p>it says can't open sh: Can't open /home/chronos/user/Downloads/crouton. What do i do?</p>
<p>i found this hope it helped,</p><p>https://www.youtube.com/watch?v=tCUoxGTLgbE</p>
<p>I had that problem a few times. When I wrote this 'ible, the 2014 version of Crouton was the version that worked. However, shortly after I published it, I tried to put a new Linux environment on and I had this problem. To solve it, I deleted Crouton from my downloads, and downloaded the 2015 version. This solved my problem. If this doesn't work, let me know. Good luck, man!</p>
<p>do you know where i can download the 2015 version? i searched but none worked. thanks for your help :)</p>
<p><a href="https://goo.gl/fd3zc" rel="nofollow">Here</a> it is. Also, make sure that it is in your downloads, and not your google drive cloud thing.</p>
<p>OH MY GOD THANK YOU! I have been searching high and low all over the damn internet trying to figure out why I kept getting (sh: Can't open /home/chronos/user/Downloads/crouton) for the past hour. I never had crouton downloaded and honestly I didn't know where it was located, so thank you so much, it finally worked!</p>
<p>Hey man, I am really glad it helped you out. Enjoy!</p>
<p>Alright I'll put it on a USB. I'll let you know if it works or not. Thanks for your help, I really appreciate it.</p>
<p>Glad to help!</p>
<p>Yes, indeed it did not work. Am I supposed to type something other than sudo sh ~/Downloads/crouton -e -t xfce?</p>
<p>It is showing this</p>
<p>this is also a problem too.</p>
<p>Hmmm... what brand/model is your Chromebook?</p>
<p>Ok, first try turning your computer off and back on. I know, this is in every episode of The IT Crowd, but it really does help a strange number of times.</p><p>From <strong>chronos@localhost / $</strong> run <strong>cd ~/Downloads </strong>and then run<strong> ls</strong></p><p><strong>crouton</strong> should be among the output that's printed to the screen. If it isn't, that's your problem. If it is, however, then I don't know how to help you.</p><p>I'm super sorry that I can't be any more helpful. Good luck on getting it to work, though.</p>
<p>Also, get the Scribe text editor from the chrome web store. It can open that file type.</p>
<p>I think i got it but I need a password. Do you think you can help me a bit more XD?</p>
<p>Yeah you get to choose that password. It can be anything you want. I gave my brother Linux and set his to &quot;l&quot;. Also, how did you get it working? I would like to know so that if someone has this problem in the future I can help them out. Also, great job, man!</p>
<p>Man I got a crappy xfce desktop, Im going to change it but I followed your instrcutions above and it helped. Thanks man.</p>
<p>How can you change your desktop, im trying for unity.</p>
<p>I put sh ~/Downloads/crouton and now it won't download.</p>

About This Instructable




More by CalebN1:Maintaining Your Crouton Linux System How to Install a Linux OS on your Chromebook 
Add instructable to: