Tuesday, February 26, 2013

A Beginning

Prior to the introduction of the Pixel, running Linux on a Chromebook has required using the Chrome OS [CrOS] kernel with another distro's root file system.  As I understand it, Jay Lee, the developer of ChrUbuntu, recently switched from 32-bit (<=11.10) to 64-bit (>=12.04) Ubuntu which required him to substitute the Open Source Chromium OS kernel for the CrOS kernel distributed by Google.  Numerous issues with ChrUbuntu and a general lack of support led me to wish that I could switch back to Google's official (and constantly evolving) 32-bit kernel for CrOS.

Based primarily on the belief that Chromebook users would be better off sticking with Google's current CrOS kernel, I began testing 32-bit x86 Linux distros on my Acer C7. So far, the results of my experiments have been encouraging - not only does 32 bit Ubuntu 12.04.1 run without issues but it seems that most distros with Debian and/or Ubuntu lineage do as well.  Results with other distros have been mixed.  One key factor seems to be the use of initrd, which the CrOS kernel apparently does not support.  Keep in mind that I'm only reporting that these distros install and boot using my method because I did not test them extensively.



x86 Distros on the C7

Here, I'll attempt to document my method so that others can benefit.  IMHO, the distros I've highlighted represent the best match for the C7's hardware and resources.

In the meantime, I highly recommend checking out the Crouton script method developed by David Schneider.  It essentially enables you to run Ubuntu as an application on CrOS.  Credit for this find goes to Craig Errington.

6 comments:

  1. Probably not given the size of the ISO, sorry!

    I'm trying to cover mostly the mainline distros with notable exceptions for my personal "small & light" fetish. However, I'm working on an image for usb bootable media that should make it MUCH easier to do so yourself.

    Given the fact that Kali is based on Debian, there's probably an 85% chance that it will work.

    ReplyDelete
  2. Really? I missed the ARM image, that actually bumps the probability to maybe 92%.

    I have a working image, the tricky part is manipulating it so it will work with various size media, allow you to expand the partition to fill the media yet remain bootable, etc. I'm working with a 2GB image so it should work with all media 4GB or larger. That seemed like a reasonable minimum to install a modern distro, but you'll probably need at least 8GB for Kali.

    ReplyDelete
  3. You are aware that ChrUbuntu uses a 64-bit Chromium OS kernel and is, therefore, completely incompatable with my work?

    FWIW, that kernel was compiled for the Atom CPU in the original Samsung and uses the kernel modules from that platform (unless he's updated it recently). In any case, neither was ideal for the C7.

    I assume you mean re-packing the kernel with new command line arguments? I can help you with that if you decide to go 32-bit instead.

    ReplyDelete
  4. You're right, he has rewritten it and the changes look ... interesting. I'm glad you were able to get what you needed working but frankly amazed that such a radical approach worked. You've created Kali based on ChrUbuntu - I wouldn't have given you a 50% chance of that working. Kudos!

    ReplyDelete