Pages

Sunday, May 4, 2014

ChrUbuntu on Acer C7 Chromebook, Again


I've got enough of the "latest & greatest" self-upgrading Chrome OS lately.

Достала эта кастрированная Gentoo.

Coreboot for my Acer C7 isn't really being developed anymore, restore procedure looks quite unsafe. De-bricking is almost unavailable. Sure, one can buy another C7 for about $140...$170, but the idea of losing a nice Celeron 847 Sandy Bridge "netbook" capable of running a good 64-bit Ubuntu.

Before Coreboot approach, there was that "crouton" script, I tried it once, didn't like it back then. Maybe next time, and for some exotic Pinguy OS or something.

So I'm coming back to my well-tested ChrUbuntu by Jay Lee. This time, his script is a) universal in that it applies to many different Chromebooks, and b) several distros can be used, not just pure Ubuntu.

The following instruction by Jay Lee is working fine, I just added several comments from my own experience in red: 




Ready to get started with the latest, greatest ChrUbuntu? Here are the instructions:


To get started, make sure your Chromebook is in developer mode and has a developer BIOS installed. See Google's instructions for your model. Older Samsung and Acer owners should pay special attention to the Developer BIOS instructions.


Start with your Chrome device turned off. Turn it on but do not login. Make sure you have a WiFi or Ethernet connection configured at this point. 3G/4G is not recommended. Press CTRL+ALT+=> (=> is the forward arrow where the F2 key would be on a PC). Do not use the normal CTRL+ALT+T method to get a shell. Use the CTRL+ALT+=> method while no one is logged in.


Login as user chronos, no password is needed.


As the chronos user and without having changed directories or run other commands, run:


curl -L -O http://goo.gl/s9ryd; sudo bash s9ryd

Make sure you have the command exactly right. The -O and -L after curl are both capital letters. s9ryd is all lowercase letters and numbers and would sound like "ess nine are why dee" if you said it out loud. If you get a "not found" error, make sure you have Internet connectivity and you're typing the command correctly.


You'll be prompted with some information about your Chromebook. You may need to run an additional command to install a developer BIOS on your Chromebook. Press Enter to continue.


The Chrome OS stateful partition where your data and settings are stored is just short of 11gb by default (except for the Acer C7 where it is much larger), the script shrinks the stateful partition to make room for ChrUbuntu. You can choose to give ChrUbuntu from 5gb up to 10gb in 1gb increments (Note: If you've installed a larger SSD in your Chrome device, your max number and recommended max will be larger). I recommend not going higher than 9 as 10 leaves Chrome OS with very little free space (less than 1gb).
[My comment: it never offered me any re-sizing. Must be a leftover from my previous ChrUbuntu]
Once you've entered a number, your hard drive will be repartitioned. After awhile it will reboot and re-initialize the stateful partition. This process takes 2-15 minutes and then the Chromebook reboots again and shows you the Welcome screen you got when you first turned on your Chromebook out of the cardboard box.
Go through the Chrome OS setup process again until you get to the Google login page. You'll need to have a WiFi or Ethernet connection again at this point. Now follow steps 2 through 4 again. This time the script will see that you've already made room for Ubuntu and start downloading ChrUbuntu.


Pro Tip: Here's where you can install other versions of Ubuntu! Just specify the preferred Ubuntu flavor and version at the end of the command:


curl -L -O http://goo.gl/s9ryd; sudo bash s9ryd [flavor] [version] [target-disk]


For example:


curl -L -O http://goo.gl/s9ryd; sudo bash s9ryd xubuntu-desktop lts


this will install Xubuntu and the latest LTS release (12.04 as of writing) rather than a 13.10 Unity desktop. Some possible flavor alternatives to Unity are:


default (ubuntu-desktop on x86, xubuntu-desktop on arm)
kubuntu-desktop
lubuntu-desktop
xubuntu-desktop
edubuntu-desktop
ubuntu-standard
(no GUI installed)


some possible versions are:


lts -- latest LTS Ubuntu release, 12.04.3 as of this writing
latest -- latest official release, currently 13.10
dev -- unstable development Ubuntu release, experts only! If this breaks, don't be surprised
12.10 -- Ubuntu 12.10 release


[target-disk] is the last argument (specify "default" and "latest" for the first two arguments if you just want to install the defaults to an external drive). An example installation to SD Card might be:


curl -L -O http://goo.gl/s9ryd; sudo bash s9ryd default latest /dev/mmcblk1

During the installation (within the first 5-15 minutes). You'll see a few prompts to select your encoding, locale and language. For most people, the defaults should be fine, just press Enter but change them if you'd like.

After all of the Ubuntu files have been downloaded, installed and configured, the script will make a few more updates and then prompt you to reboot.

You'll see ChrUbuntu start up! The username is "user" and the password is "user".
Right now, you're in ChrUbuntu but if you reboot, you'll be back in Chrome OS. This is a safety feature, if ChrUbuntu won't boot, you want to be able to get back into Chrome OS to fix it. To make ChrUbuntu the default, run:


sudo cgpt add -i 6 -P 5 -S 1 /dev/sda


on the ARM Chromebook, replace /dev/sda with /dev/mmcblk0. The password is "user". It should be possible to run this from ChrUbuntu or Chrome OS.


To make Chrome OS the default again, either turn off Developer Mode, or run:


sudo cgpt add -i 6 -P 0 -S 1 /dev/sda

It's all fine, only I suspect that this new script doesn't work for my particular Acer C7, even after I upgraded firmware when in dev mode and in shell, as Google suggested. Incidentally, an updated firmware offers booting from USB stick/SD card "your own OS" (whatever it might be now, I will investigate later, for that new Pinguy OS, or Zorin OS, or whatever)

To put it bluntly, (Chr)Ubuntu/Xubuntu 14.04, 13.10 won't start GLX: Google's experimental kernel is this old. So, in my case, it was this:

curl -L -O http://goo.gl/s9ryd; sudo bash s9ryd ubuntu 13.04

that I reinstalled Ubuntu 13.04, and everything went fine with this distro. Volume indicator works out of the box. I might get rid of Compiz one day, it has one hiccup in 24 hours already. Musing over what to put instead. Gnome/xfce4?

XBMC 12.0 installs and works with Fusion just fine.

Ace Player with both plugins installs by Compizomania manual just fine. Starting Ace Player HD before use of plugin(s) helps a lot.

No problems with Magic Player whatsoever.


Enhanced by Zemanta

No comments:

Post a Comment