Chromebox 安裝 Elementary OS(crouton)

參考網頁:
[Guide] How To Install Elementary OS on an HP Chromebook 14 Using Crouton

[Guide] How To Install Elementary OS on an HP Chromebook 14 Using Crouton

前面的步驟和 頭城國小資訊組 | Chromebox 安裝 Ubuntu(crouton) 相同,不再複述
1. 建立 Chroot 環境(Ubuntu 12.04 xfce 桌面) 
$ sudo sh -e ~/Downloads/crouton -a i386 -t xfce,keyboard,extension -n elementary -p /media/removable/sdcard
Downloading latest crouton installer…
######################################################################## 100.0%
Installing precise-i386 chroot to /media/removable/sdcard/chroots/elementary
Downloading latest debootstrap…
2015-01-19 19:15:20 URL:http://anonscm.debian.org/gitweb/?p=d-

/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [61095] -> “-” [1]
Patching debootstrap…
Downloading bootstrap files…
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-keyring.gpg
I: Retrieving Release 
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages…
I: Resolving dependencies of base packages…
I: Checking component main on http://archive.ubuntu.com/ubuntu…
I: Retrieving adduser 3.113ubuntu2
I: Validating adduser 3.113ubuntu2

2.  設定帳號及密碼
Please specify a username for the primary user: 
Enter new UNIX password: 

Retype new UNIX password: 

看到下面這一段時,代表終於完成了
Here’s some tips:

Audio from the chroot will now be forwarded to CRAS (Chromium OS audio server),
through an ALSA plugin.

Future Chromium OS upgrades may break compatibility with the installed version
of CRAS. Should this happen, simply update your chroot.

You can flip through your running chroot desktops and Chromium OS by hitting
Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward.

You can start Unity via the startunity host command: sudo startunity

Unmounting /media/removable/sdcard/chroots/trusty…
Done! You can enter the chroot using enter-chroot.[@more@]3. 建立啟動 Elementary OS 的 Script 檔
$ vim ~/startunity

#!/bin/bash
if [ -z “$(mount | grep sdb1 | grep sdcard)” ]; then
    umount /dev/sdb1
    if [ ! -d /media/removable/sdcard ]; then
        mkdir /media/removable/sdcard
    fi 

    mount -o rw,noatime /dev/sdb1 /media/removable/sdcard
fi
/media/removable/sdcard/bin/startxfce4


4. 進入 Chrome OS
Ctrl+Alt+T,輸入 shell 進入完整 shell 模式
執行
$ sudo sh ~/startxfce4

5. Ubuntu 12.04 xfce 桌面環境