How to install Linux/Minecraft on a Chromebook (2016/2017)

A few years ago, we showed you a method on how to install Minecraft, and at the same time, Linux, on a Chromebook. By their nature, Chromebooks aren’t capable of some things that Linux is, like Minecraft. Many parents or families buy these low-cost machines with the hope their children can play Minecraft on the machine, only to find out that they can’t. Others many be looking to do photo editing or run certain programs on the machine, only to find out they can’t. So, if you have a Chromebook and want it to be capable of a few more things, let’s take a look at how to install Linux and Minecraft on just about any Chromebook.

You do this at your own risk. We are not responsible for any damage to your machine. Please read this entire tutorial once before attempting it yourself. This may not work on all Chromebook models and may vary as time goes forward. This method WILL WIPE YOUR FILES and DOES NOT work on ARM powered devices (Intel only).


Installing Linux/Minecraft

The first step is to place the Chromebook in developer mode. For most Chromebooks, that means you’ll need to hit ESC + Refresh (F3) + Power. Pressing those three buttons will immediately reboot and you should see a screen that says “Chrome OS is missing or damaged.” To move on from here, hit CTRL + D. The Chromebook will ask you if you would like to transition to developer mode, which we do, so you’ll need to press Enter. At the next screen, hit CTRL + D once again and the Chromebook will transition to developer mode. Note: This process will take several minutes.



After the Chromebook has transitioned to developer mode, you’ll boot up to see a warning screen each time you boot up the Chromebook. This screen will automatically go away after 30 seconds, or you can hit CTRL + D to skip it. Note: Hitting the spacebar will wipe your files and factory reset the Chromebook. 

Now, we’ll move on to the fun stuff. There are several different methods of installing Linux on a Chromebook, but the two most popular are ChrUbuntu and Crouton. ChrUbuntu (what we’re using in this tutorial) works as a traditional dual-boot system, asking you which OS you’d like to enter at boot. Crouton, on the other hand, runs alongside Chrome OS. We will cover this method at a later date.

After ensuring your Chromebook is in developer mode, the first step to install ChrUbuntu is to open the ChromeOS Terminal. You can do so by pressing CTRL + ALT + T. After the new tab opens, enter shell.

Before moving on, we’ll need to update the firmware. If you have a Chromebook released within a year, you can probably skip this step, but it’s a good practice for any Chromebook. Note: If you are attempting this on an ARM powered device, stop immediately. This step WILL damage your device.

In a command window, enter shell followed by the command cd; curl -L -O http://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh and press enter. Note: -Os is a capital O, not a zero. Then hit 1 to update the firmware and enter to apply the update. It will ask if you want to default to booting from USB, in this case we do not want to do that, so hit N and Enter. More information on this process is available here. Once installation is complete, press Enter to return to the main menu, then R to reboot the Chromebook.

From here, we’ll install ChrUbuntu. To do that, open up another command window, enter shell, and type the following command: cd ; curl -Os https://chrx.org/go && sh goNote: -Os is a capital O, not a zero.

After that command is entered correctly, the chrx installer will check the information on your machine to ensure it will work with Linux. Proceed with caution if your Chromebook is unlikely to successfully install. From here, the installer will ask the about of data should be allotted for Linux. Use this to your discretion, we would recommend at least 6GB. Once you have entered that information and pressed enter, the Chromebook will reboot again, this time with a modified partition. This will clear your data again. This process may take up to 30 minutes depending on the amount of storage your Chromebook has.

After the machine reboots, you will need to repeat some of the previous steps, starting with the chrx installer. Once your Chromebook boots up and you connect it to wifi, hit CTRL + ALT + T, then enter shell. After that, type cd ; curl -Os https://chrx.org/go && sh go.

This time, the installer will actually install Linux on the machine. This includes downloading files to grab the OS which can take several minutes depending on your internet connection. By default, GalliumOS will be installed. After files have downloaded, installation will begin which can take several minutes as well. Once complete, hit enter to reboot.

After installation is complete, the Chromebook will reboot to the warning screen. To boot into Chrome OS, hit CTRL + D. To boot into Linux, hit CTRL + L. This will be available anytime you boot up the machine. In this case, we will boot into LinuxNote: You may see a mostly black screen after hitting CTRL + L. If you do, hit Enter on “Ubuntu” to launch Gallium OS.

GalliumOS will start up and ask you for a username and password. The default username is chrx and the default password is chrx. It is recommended but not required to change this. The first thing you’ll need to do in GalliumOS is enter your wifi information as seen in the video.

If you want to install Minecraft, one more step is required. Open up a command window (terminal app, as shown in the video) and type in the following commands in order. Note: Up to a few minutes may pass between steps. Press enter after each command.

First, sudo bash. After pressing enter, you should have root now. Then, type in the following command:

apt-get install default-jre

Type Y and hit enter.

Then type the following commands, pressing enter after each command.

curl -o /usr/local/bin/Minecraft.jar https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
curl -o /usr/share/pixmaps/minecraft.png https://chrx.org/minecraft.png
mkdir -p /usr/local/share/applications
cat > /usr/local/share/applications/minecraft.desktop <<EOF
[Desktop Entry]
Type=Application
Name=Minecraft
Comment=Minecraft
Exec=java -jar /usr/local/bin/Minecraft.jar
Icon=/usr/share/pixmaps/minecraft.png
Categories=Game;
EOF

After this has been completed, you can close the command window. You can then click the “start menu” and type in “Minecraft.” You should immediately see the Minecraft icon and name and it should be highlighted. If so, press enter and the game will launch. After that, you’re done! Minecraft has been installed as has Linux via GalliumOS. From here, you can also install other Linux programs such as GIMP photo editor.


Installing Other Popular Programs

GalliumOS can also handle other popular programs. To install them, enter the commands below in a command window.

– Steam

curl -O http://repo.steampowered.com/steam/archive/precise/steam_latest.deb
sudo dpkg -i steam_latest.deb

– Spotify

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client

– Kodi

sudo apt-get install python-software-properties pkg-config software-properties-common
sudo add-apt-repository -y ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi

– Google Chrome

curl -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb

Restoring Your Chromebook Back To Factory Settings

If you’re done with Linux and want your Chromebook to be a Chromebook, all you’ll need is a charged battery, a few minutes, and a flash drive. By following Google’s instructions, you can turn a flash drive into a recovery disk which will format your SSD and reinstall Chrome OS. After the process is complete, everything will be back to when you originally bought the machine.

Chrome OS Restore Instructions
  • Soaryn Eagle

    What do i do after hitting ENTER on this ” [sudo] password for chrx:” I dont get ROOT

    • Kierree Kalmansohn

      You type in chrx (it will be invisible) ,then press enter

  • Jacob lindenmeyer

    Im having trouble with the “apt-get install default-jre”. it just say “Unable to locate package defualt-jre”. Please help if you can. Thanks

  • jojo

    thanks for this it really helped, but is there other programs we can use then the ones shown in the article?

  • jimmy

    How can we change the user name and password

  • Sardor Shaahmedov

    just installed Gallium OS on my Acer chrombook 14 using instructions in this video and the chromebook’s keyboard stoped working, touchpad is functioning. Any ideas how to fix keyboard inside Linux? It is still functioning in chrome OS.

  • emojifacegaming

    when i tried this i did every thing correctly i have an intel pentium on my asus c202sa chrome book and when i got to the step where you press ctrl + L i saw a gallium os image then it loaded some text for a frame and then after that i waited about 10 – 15 seconds and the text popped up for a frame again and it did the same thing over and over so i tried turning off the chrome book and then turning it back on i pressed ctrl + L and the same thing happened again i did the same thing two more times and then finally just did everything over again…… this changed nothing and its still doing it as i type this on another computer PLZ HELP =(

  • Questionaire

    When your supposed to do “CNTRL + L” in the ‘warning’ page, i makes his beeping sound every time I do so. I tried downloading GalliumOS twice and still nothing. Please help.

    • jojo

      yeah that happened to me, what i did was that i did a hard reset and did every thing all over. Try that and see if this works.

  • Tay

    I did all the steps and when it entered into galliumos page it wants wont let me enter the other parts after sudo bash because it needs a password what do I do

  • Adam

    I was able to successfully create a linux OS using this tutorial. It seems I should have allocated more gigabytes to the linux side. Is this possible, and without having to erase everything I already downloaded on linux?

  • Toby Chick

    It installed successfully but the only problem is that I have no sound in linux. The sound works fine in chrome os but not in linux. pls help

  • Kizaiah Goodwin

    how do i delete it????? please reply

    • ItsLightningBolt

      If you’re done playing with Linux, you can boot your chromebook into recovery like you did at the beginning of this tutorial. Follow Google’s instructions on how to turn a flash drive into a recovery drive.

  • Sam Killam

    I did it all fine until the last part where it says press CTRL + L to launch Lunix this it just beeps twice and nothing happens.

    • ItsLightningBolt

      Did you use the crouton method or the ChrUbuntu method?
      If you used crouton the CTRL + D to launch into developer mode, and if you used ChrUbuntu then I’m not sure what’s happened, as I’ve only used the crouton method. Sorry.

  • Ahmed Muhammad

    Everything is working fine but I’m just not sure what to put of desktop. Do I put [Desktop Entry]? Linux? Chrome?

    • ItsLightningBolt

      If you don’t care which one you get then don’t specify one.

  • Candace

    There was only one problem with me… when i went to enter the ‘sudo bash’ it wouldn’t let me enter the password…can you please help? I really want minecraft on my chromebook!

    • AreUDumb

      you type chrx for the password! The password shouldn’t show!

    • ItsLightningBolt

      I freaked out when I was typing and the password wasnt showing. This is a security thing, and it DOES enter the password, it just won’t show the characters.

  • KC Younkin

    Hi, it all went well until we went to open Minecraft and we got this message: ‘Failed to execute command “Java – jar /usr/local/bin/Minecraft.jar” — “Failed to execute child process “java” (no such file or directory. So we downloaded Java and retyped the code but it is giving us the same error message. Do you think we downloaded the wrong version of Java? Thanks!

  • Patrick Crump (Paddy Studios)

    I downloaded Gallium OS and Minecraft alright but when I tried to install Optifine it said it wasn’t executable, so I went onto properties and permissons but there wasn’t an option to marks as executable, Please Help.

  • Dee Dee

    This worked great. Thank you. The school was selling used chromebooks cheap and I followed your instructions. This has saved tons of arguing between my boys. My only issue is that if the boys let the chromebook battery drain then getting back into the linux partition is difficult b/c it came out of developer mode on startup. I have been reading about setting “boot flags” to keep the chromebook permanently in developer mode but it is way over my head and not sure if I could apply it to what I have installed via your instructions. Do you have instructions that I could follow to do this that works with your installation method? Thank you again!!

  • Pingback: Bookmarks for June 20th through June 21st | Chris's Digital Detritus()

  • SheaDoubleAA

    Only problem im having is when it says press CTRL-L when i do it it just beeps twice so i wait then it brings me back to regular chrome os please help/reply

    • Charles DeLancey

      re-install the OS

  • Help

    YOU HACK O POWERWASH YOUR CROMEBOOK FIRST

    • Obsession_of_Anime

      What do you mean powerwash o_o?

  • HelpNewbies

    you have to powerwash first lol

    • Obsession_of_Anime

      What do you mean power wash??

  • zach

    everything is done but it won’t let me play when i click on the icon nothing happens?

  • Aaron Whiteaker

    I got this installed last night and it worked like a charm. I’m am having one problem though, no sound working on linux, it works just fine on chrome. I have an asus C302CA. Anybody have a fix for this issue?

  • Huby

    ” Failed to execute child process java -jar” when I start Minecraft?

  • Mik

    How can I increase the disk space?

    • Mwanze _101

      i want to know the same thing

  • Allan

    What do i do if it says

    bash: /usr/local/share/application/minecraft.desktop: Is a directory

  • Mwanze _101

    How do you put more space on your disk?