Skip to main content
Tech Radar Tech Radar Pro Tech Radar Gaming
TechRadar TechRadar the business technology experts
Asia
flag of Singapore
Singapore
Europe
flag of Danmark
Danmark
flag of Suomi
Suomi
flag of Norge
Norge
flag of Sverige
Sverige
flag of UK
UK
flag of Italia
Italia
flag of Nederland
Nederland
flag of België (Nederlands)
België (Nederlands)
flag of France
France
flag of Deutschland
Deutschland
flag of España
España
North America
flag of US (English)
US (English)
flag of Canada
Canada
flag of México
México
Australasia
flag of Australia
Australia
flag of New Zealand
New Zealand
RSS
Sign in
  • View Profile
  • Sign out
Trending
  • Best web hosting
  • Best office chairs
  • Best website builder
  • Best antivirus
  • Expert Insights
Don't miss these
Linux penguin logo.
Software & Services Best Linux distro of 2025
Linux computer
Software & Services Best lightweight Linux distros of 2025
Acer Chromebook Spin 312 open on desk with pink background
Chromebooks Acer Chromebook Spin 312 review
Linux penguin logo on wood.
Software & Services Best Linux distro for Windows users of 2025
A woman looking thoughtfully at a number of Chromebooks.
Chromebooks Chromebook vs Chromebook Plus: which is better for students?
Google Chrome browser review
Chrome Google Chrome Review: Features, Usage, and Competition
Best Linux distro for developers
Software & Services Best Linux distro for developers of 2025
A young woman is working on a laptop in a relaxed office space.
Windows Can't (or won't) upgrade to Windows 11, but afraid to switch from Windows 10 to Linux? This app might make the transition easy
HP Chromebook Plus 15.6-inch on table with pink wall and plant in background
Chromebooks The best Chromebook 2025
Close up of the Linux penguin.
Software & Services Best Linux repair and rescue distro of 2025
CrowPi3 Electronic Learning Platform header image.
Pro I tried the CrowPi3, and found it was a superb learning platform based on Raspberry Pi
Close up of the Linux penguin.
Software & Services Best Linux terminal emulator of 2025
Back of opened lid of HP Chromebook Plus 15.6-inch on table with pink wall and plant in background
Chromebooks The best student Chromebooks 2025
Acer Chromebook Plus 516 open on desk with pink background
Chromebooks Acer Chromebook Plus 516 review: a large and powerful device, but it might not last long enough for your needs
framework Laptop 13 DIY Edition 2025
Computing Framework Laptop 13 DIY Edition (2025) review
  1. Pro

How to install Linux on a Chromebook

How Tos
By PC Format published 24 June 2015

You'll have a Crouton of fun

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Introduction

Introduction

For the type of user Chromebooks are generally aimed at, it does exactly what it needs to do. It's fast and easy to use – what more could you ask for? Well, you may find yourself missing some of the features associated with more traditional operating systems.

Don't worry, help is at hand, in the form of Crouton. Crouton is a set of programs that create a chroot environment within Chrome OS, from which you can run a Linux OS, with Debian and Ubuntu currently supported.

A chroot is not the same as a virtual machine – you're still running on the standard OS, but within a new environment. This has several advantages. It doesn't touch the existing OS installation, making reversal easy; it uses the Chrome OS drivers, so there are no compatibility issues; and it's written by the Chrome

OS authors, so it should remain compatible with future updates. The only real disadvantage is there may be a slight performance hit, but you didn't buy a Chromebook for its blazing speed. Read on to learn how to get an assortment of Linux distros up and running.

You will need

Crouton

The free installer is a gateway to a Linux OS. Download it from http://goo.gl/fd3zc.

A USB stick

You'll need to back up your OS to a USB stick or SD card before getting started – 2GB should be enough.

Page 1 of 8
Page 1 of 8
Crouton: Pros and cons

Crouton: Pros and cons

Comparing a cheapo Chromebook to a full laptop may seem unfair, but we'll do that anyway. Running Ubuntu or Debian on a Chromebook is just like running it on a proper laptop.

The only differences are down to the use of a chroot and the scary bootup messages you get. This means you have to boot into Chrome OS fi rst and then open a shell to start the chrooted session.

But Chromebooks are designed to be suspended rather than shut down, so this isn't necessary often. It uses the hardware through Chrome OS, so you need to do things like set up your network connection in there, but as you can switch between the OSes at will, this isn't a problem. It's not dual boot – it's running both at once. Far more convenient.

The main limitation is the lack of storage space and dependence on a network connection and cloud services.

While Chrome OS handles this transparently, you need to set up some sort of online syncing from your chrooted distro, using services such as OwnCloud, Spideroak or Dropbox. There are other ways of installing Linux on a Chromebook, but Crouton does it in the least intrusive way, leaving your existing operating system untouched (apart from needing to enable Developer Mode).

You can also try multiple distros, and remove them when done, which is also a key benefit of this approach. A real strength of Crouton is that it's developed by the Chrome OS authors themselves – it's not a third-party hack. This means that future updates to Chrome OS could potentially break your chroots temporarily, but a quick update through Crouton should fix it.

Page 2 of 8
Page 2 of 8
1. Create a rescue disk

1. Create a rescue disk

Before you start installing another OS, it's a good idea to create a rescue disk to restore your Chromebook should anything go awry.

Even if you're not installing another OS, this is a wise step to take, especially as it's so simple – all you need is a USB stick or SD card with a capacity of at least 2GB. Because of the cloud-based nature of Chrome OS, 2GB is enough, because you only need to back up the operating system – your data and settings are safe on Google's servers.

Plug in the USB stick or SD card, open Chrome and type chrome://imageburner into the location bar [Image A]. Chrome OS downloads and installs the recovery image for your Chromebook. If you've more than one Chromebook, run this separately for each one. After downloading, the image is written to your USB stick.

If you don't create a recovery disk, it's also possible to get this image from another computer and copy it manually, by following the instructions at http://bit.ly/1zSC3xr, but you have to make sure you get the right image – they're specific to each model.

If you corrupt Chrome OS and get the scary 'Chrome OS is missing or damaged' message, plug in your recovery medium. You can also force a recovery, if you want to go ahead and restore it anyway, by pressing the hard reset button or key combination, which varies from model to model

Check your Chromebook's documentation for whatever applies.

Page 3 of 8
Page 3 of 8
2. Activate developer mode

2. Activate developer mode

Using Crouton means putting your Chromebook into Developer Mode first, which means you get root access and even a Bash shell. This isn't a hack. It's a fully supported, if hidden, official option.

A warning to start with – enabling Developer Mode wipes your storage. It doesn't affect your cloud storage, but any files stored locally should be uploaded to Google Drive before you proceed.

The method of enabling Developer Mode is device-specific, so find instructions at the Chromium website: http://bit.ly/1gDHPGd. On the Acer C720 we used for testing, as with most Samsung devices, you turn the device off and then hold down [Escape] and [Refresh] keys before pressing the power button.

This gets you into the recovery screen, then press [Ctrl]+[D] to enable Developer Mode. Other devices have a hardware button for this. Once Developer Mode is enabled, you'll see the 'OS verification is OFF' screen each time you turn on – press [Ctrl]+[D] to continue booting, or wait 30 seconds.

Page 4 of 8
Page 4 of 8
3. Install Crouton

3. Install Crouton

When you're ready, start downloading Crouton from http://goo.gl/fd3zc. This is a script that downloads and installs everything you need. You run it from a shell – yes, Chromebooks come with a shell. Press [Ctrl]+[Alt]+[T] to open the Crosh shell in a browser tab.

This is a limited shell and Crouton needs to know which distro you want to install; it calls these releases and selects them with the '-r' option. Then it needs to know the target environment you want to install. A target is a collection of software packages, such as a particular desktop. These two commands will list the options:

sh -e /Downloads/crouton -r list

sh -e /Downloads/crouton -t list 2>&1 | more

The second command needs to be passed to 'more' because it is several screenfuls – hit [Space] to page through them all. Once you've decided the release and target you want, you can run Crouton. To install Ubuntu 13.10 (Saucy Salamander) with the Unity desktop, for example, run:

sudo sh -e /Downloads/crouton -r saucy -t unity

This uses 'sudo' because you need root to install the software. You can also specify multiple targets, like this example that installs Debian Wheezy with the LXDE desktop [Image C] and the XBMC media centre: sudo sh -e /Downloads/crouton -r \wheezy -t lxde,xmbc

Page 5 of 8
Page 5 of 8
4. Starting up

4. Starting up

Depending on the target(s) selected and the speed of your internet connection, this could take a while. When it's finished, it tells you the command needed to start your chosen distro in the chroot, such as:

sudo startunity

Run that command and you'll be in a standard Ubuntu desktop. When you've finished, log out in the usual way and you go back to the familiar Chrome OS. You can switch between the two by holding [Ctrl]+[Alt]+[Shift] and pressing [Forward] or [Back], too. In fact, the Chrome OS navigation keys above the numeric row are treated as the [F] keys by Linux, so these are really [Ctrl]+[Alt]+[Shift]+[F1] and [Ctrl]+[Alt]+[Shift]+[F2].

The installation you end up with is not the complete distro as you would get if you'd installed it natively, but any extra packages can be installed in the usual way. If using Unity [Image D], the Software Centre is not installed, so open a terminal in Unity, [Ctrl]+[Alt]+[T], and run: sudo apt-get update sudo apt-get install software-center

Now you can install any other packages you need from the GUI. You can also install extra target environments with the '-u' fl ag. For example, to add the LXDE environment to the Ubuntu chroot we created before, we'd run: sudo sh -e /Downloads/crouton -r saucy -u -t lxde

Page 6 of 8
Page 6 of 8
5. Adding privacy

5. Adding privacy

As you may have noticed, enabling Developer Mode gives you root access through 'sudo', without requiring a password. This is slightly less secure for Chrome OS.

Your login and files are still protected by your Google login, but it means all the files in your chroot are readable, even with a passwordless guest login. If this concerns you, it's possible to encrypt the entire chroot by using the '-e' flag for Crouton.

This prompts for a password and uses that to encrypt the entire chroot directory, meaning you can neither read nor run the chroot without the password.

For example:

sudo sh -e /Downloads/crouton -e -r wheezy -t xfce

There are lots of distribution releases and targets to choose from; you could install them all at once but that would get pretty bloated, so how do you try them all out?

The answer is you can have as many chroots as you have space for. If you plan to do this, you may find it easier to use Crouton's '-n' option to give each chroot a name, otherwise they're simply named after the release.

Naming is important when installing multiple releases because the name is needed when running the startup commands, otherwise Crouton just loads the first release in which it finds the target you gave. Adding '-n', like this, lets you ensure the right release is loaded:

sudo startunity -n saucy

Crouton also installs a couple of useful tools, particularly 'edit-chroot'. This can be used to back up a chroot. sudo edit-chroot -b saucy

This creates a backup fi le in ' /Downloads', which you can restore with the following: sudo edit-chroot -r /Downloads/backup-fi le.tar.gz

Copy this somewhere safe. Even if you do a full reset/recovery, you can still restore it by downloading Crouton again and running: sudo sh -e /Downloads/crouton -f backup-fi le.tar.gz

You can also use 'delete-chroot' to delete a chroot, which you could probably have worked out for yourself, or you can simply delete the directory holding it from '/usr/local/chroots' and go back to a vanilla Chrome OS. Assuming, of course, that you'd want to do that.

Page 7 of 8
Page 7 of 8
How to install a release

How to install a release

1. Open a shell and choose a release

Open a terminal window by pressing [Ctrl]+[Alt]+[T]. You can see the set of commands by typing 'list'. One of the commands is 'shell', which gives you a full Bash shell (patched for Shellshock). Run Crouton with '-t' to see all the available targets. Chromebooks are relatively low-powered, and a lightweight desktop such as LXDE is a good choice. Unity is better suited to running everything full-screen.

Encrypt

2. Encrypt your files and install the distro

Adding '-e' to Crouton's command line causes your chroot to be stored in an encrypted directory (this isn't the same as the 'e' that follows 'sh'). Choose a decent passphrase, but remember most of your data will be saved in the cloud because Chromebooks have very little storage. Crouton is only an installer, so it needs to download the distro release files before installing. Even with a fast connection, it can take 30 minutes.

Add a package manager

3. Add a package manager

The default targets include only the command line package manager, 'apt-get'. For most people, the first step is to open a terminal and use it to install a more friendly option, such as 'software-center' for Ubuntu or 'Synaptic' for Ubuntu and Debian. Run 'sudo apt-get update' to make sure you get the current version, then 'sudo apt-get synaptic'.

Run Synaptic

4. Run Synaptic

Once you've Synaptic installed, you have easy access to all the software in a distro's repository. Most of the targets are slimmed down, to save on downloads and give a faster installation, but you can install anything you want from here. Either use the 'Search' button or just browse the categories to see what's available.

Page 8 of 8
Page 8 of 8
TOPICS
Linux Google
PC Format
Read more
Linux penguin logo.
Best Linux distro of 2025
 
 
Linux computer
Best lightweight Linux distros of 2025
 
 
Acer Chromebook Spin 312 open on desk with pink background
Acer Chromebook Spin 312 review
 
 
Linux penguin logo on wood.
Best Linux distro for Windows users of 2025
 
 
A woman looking thoughtfully at a number of Chromebooks.
Chromebook vs Chromebook Plus: which is better for students?
 
 
Google Chrome browser review
Google Chrome Review: Features, Usage, and Competition
 
 
Latest in Pro
Laptop with warning symbols over the keyboard
Fixing the Online Safety Act: look to betting, not to bans
 
 
A 3d illustration of a server room with node base programming. Data design element. Concept of big data storage and cloud computing technology.
Google reveals huge $6.8 billion investment in UK ahead of Trump visit
 
 
programming
AI-written software Is booming: can you trust the vibe?
 
 
SK Hynix HBM4
SK Hynix's HBM4 will be the first out of the gate for Nvidia's Rubin AI GPU, leaving Samsung and Micron in its wake
 
 
Schematic of DNA cassette tape and DNA cassette tape drive
Chinese scientists want to build a 'forever' DNA tape with a 80 million DVDs storage capacity - but it will take forever to write at the current rate
 
 
Trojan horse on top of blocks of hexadecimal programming codes. 3D illustration of the concept of online hacking, computer spyware, malware and ransomware.
Chinese malware is flooding GitHub pages - HiddenGh0st, Winos and kkRAT hit devs via SEO poisoning
 
 
Latest in How Tos
Screen from iOS 26 on an iPhone 17, on a blue background
iOS 26 not downloading? Try these workarounds to get you up and running
 
 
Jasprit Bumrah bowls Rizwan of Pakistan in the 2024 ICC T20 Cricket World Cup match between India and Pakistan.
How to watch India vs Pakistan online: Asia Cup 2025 cricket live streams from anywhere
 
 
Armand Duplantis of Team Sweden jumps 6.28 to set a new World Record in the Men's Pole Vault Final during the BAUHAUS-galan, part of the 2025 Diamond League at Olympic Stadium on June 15, 2025 in Stockholm, Sweden.
How to watch men's pole vault final at World Athletics Championships 2025: FREE live streams, schedule, Duplantis goes for gold
 
 
A man shields himself from the hot sun with an umbrella as he walks past an advertisement of the 2025 World Athletics Championships, which will take place from September 13-21, outside the National Stadium in Tokyo on September 6, 2025.
How to watch World Athletics Championships 2025: FREE live streams, TV channels, Day 4 schedule, men's high jump, 110m hurdles, women’s 1500m finals
 
 
Defending US Open champion Carlos Alcaraz of Spain reacts by roaring at the crowd after winning a tennis match earlier this year.
How to watch Sinner vs Alcaraz online: live stream US Open 2025 final for FREE
 
 
asprit Bumrah of India celebrates after dismissing Azam Khan of Pakistan during the ICC Men's T20 Cricket World Cup West Indies & USA 2024 match between India and Pakistan at Nassau County International Cricket Stadium on June 09, 2024 in New York, New York.
How to watch Asia Cup 2025 online: cricket live streams, fixture list, TV guide and more
 
 
LATEST ARTICLES
  1. 1
    'It took us a year to write’ – Jason Momoa opens up on Chief of War’s Hawaiian saga
  2. 2
    Google reveals huge $6.8 billion investment in UK ahead of Trump visit
  3. 3
    Epson’s new projectors with Google TV are the first to get Sound by Bose
  4. 4
    The 7 best new cameras, lenses and accessories I saw at IBC 2025 – from Canon to Blackmagic
  5. 5
    iOS 26 is here - 5 of the best Apple Intelligence features to try right now

TechRadar is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.

  • About Us
  • Contact Future's experts
  • Contact Us
  • Terms and conditions
  • Privacy policy
  • Cookies policy
  • Advertise with us
  • Web notifications
  • Accessibility Statement
  • Careers

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.

Please login or signup to comment

Please wait...