{"id":18755,"date":"2015-02-08T06:13:50","date_gmt":"2015-02-07T22:13:50","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/02\/08\/chromebox-%e5%ae%89%e8%a3%9d-elementary-oscrouton\/"},"modified":"2021-03-18T17:24:19","modified_gmt":"2021-03-18T09:24:19","slug":"chromebox-%e5%ae%89%e8%a3%9d-elementary-oscrouton","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/02\/08\/chromebox-%e5%ae%89%e8%a3%9d-elementary-oscrouton\/","title":{"rendered":"Chromebox \u5b89\u88dd Elementary OS(crouton)"},"content":{"rendered":"<p>\u53c3\u8003\u7db2\u9801\uff1a <br \/><a href=\"http:\/\/jeanlouisnguyen.blogspot.ca\/2014\/01\/guide-how-to-install-elementary-os-on.html\" target=\"_blank\" rel=\"noopener noreferrer\">[Guide] How To Install Elementary OS on an HP Chromebook 14 Using Crouton<\/a><\/p>\n<pre>[Guide] How To Install Elementary OS on an HP Chromebook 14 Using Crouton<\/pre>\n<p>\u524d\u9762\u7684\u6b65\u9a5f\u548c\u00a0<a href=\"http:\/\/blog.ilc.edu.tw\/blog\/blog\/25793\/post\/88298\/555457\" target=\"_blank\" rel=\"noopener noreferrer\">\u982d\u57ce\u570b\u5c0f\u8cc7\u8a0a\u7d44 | Chromebox \u5b89\u88dd Ubuntu(crouton)<\/a> \u76f8\u540c\uff0c\u4e0d\u518d\u8907\u8ff0 <br \/>1. \u5efa\u7acb Chroot \u74b0\u5883(Ubuntu 12.04 xfce \u684c\u9762)\u00a0 <br \/>$ <span style=\"color: #ff0000\">sudo sh -e ~\/Downloads\/crouton -a i386 -t xfce,keyboard,extension -n elementary -p \/media\/removable\/sdcard<\/span> <br \/><span style=\"color: #0000ff\">Downloading latest crouton installer&#8230;<\/span> <br \/><span style=\"color: #0000ff\">######################################################################## 100.0%<\/span> <br \/><span style=\"color: #0000ff\">Installing <span style=\"color: #ff0000\">precise<\/span>-i386 chroot to \/media\/removable\/sdcard\/chroots\/elementary<\/span> <br \/><span style=\"color: #0000ff\"><span style=\"font-size: 1em\">Downloading latest debootstrap&#8230;<br \/><\/span>2015-01-19 19:15:20 URL:http:\/\/anonscm.debian.org\/gitweb\/?p=d-<\/span> <br \/><span style=\"color: #0000ff\">\/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [61095] -&gt; &#8220;-&#8221; [1]<\/span> <br \/><span style=\"color: #0000ff\">Patching debootstrap&#8230;<\/span> <br \/><span style=\"color: #0000ff\">Downloading bootstrap files&#8230;<\/span> <br \/><span style=\"color: #0000ff\">W: Cannot check Release signature; keyring file not available \/usr\/share\/keyrings\/ubuntu-archive-keyring.gpg<\/span> <br \/><span style=\"color: #0000ff\">I: Retrieving Release\u00a0<\/span> <br \/><span style=\"color: #0000ff\">I: Retrieving Packages\u00a0<\/span> <br \/><span style=\"color: #0000ff\">I: Validating Packages\u00a0<\/span> <br \/><span style=\"color: #0000ff\">I: Resolving dependencies of required packages&#8230;<\/span> <br \/><span style=\"color: #0000ff\">I: Resolving dependencies of base packages&#8230;<\/span> <br \/><span style=\"color: #0000ff\">I: Checking component main on http:\/\/archive.ubuntu.com\/ubuntu&#8230;<\/span> <br \/><span style=\"color: #0000ff\">I: Retrieving adduser 3.113ubuntu2<\/span> <br \/><span style=\"font-size: 1em\"><span style=\"color: #0000ff\">I: Validating adduser 3.113ubuntu2<\/span> <\/p>\n<p> <\/span><\/p>\n<p>2.\u00a0 \u8a2d\u5b9a\u5e33\u865f\u53ca\u5bc6\u78bc <br \/><span style=\"color: #0000ff\"><span style=\"font-size: 1em\">Please specify a username for the primary user:\u00a0<br \/><\/span>Enter new UNIX password:\u00a0<\/span> <br \/><span style=\"color: #0000ff\">Retype new UNIX password:\u00a0<\/span> <\/p>\n<p>\u770b\u5230\u4e0b\u9762\u9019\u4e00\u6bb5\u6642\uff0c\u4ee3\u8868\u7d42\u65bc\u5b8c\u6210\u4e86 <br \/><span style=\"color: #0000ff\">Here&#8217;s some tips:<\/span><\/p>\n<p><span style=\"color: #0000ff\">Audio from the chroot will now be forwarded to CRAS (Chromium OS audio server),<\/span> <br \/><span style=\"color: #0000ff\">through an ALSA plugin.<\/span><\/p>\n<p><span style=\"color: #0000ff\">Future Chromium OS upgrades may break compatibility with the installed version<\/span> <br \/><span style=\"color: #0000ff\">of CRAS. Should this happen, simply update your chroot.<\/span><\/p>\n<p><span style=\"color: #0000ff\">You can flip through your running chroot desktops and Chromium OS by hitting<\/span> <br \/><span style=\"color: #0000ff\">Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward.<\/span><\/p>\n<p><span style=\"color: #0000ff\">You can start Unity via the startunity host command: sudo startunity<\/span><\/p>\n<p><span style=\"color: #0000ff\">Unmounting \/media\/removable\/sdcard\/chroots\/trusty&#8230;<\/span> <br \/><span style=\"font-size: 1em\"><span style=\"color: #0000ff\">Done! You can enter the chroot using enter-chroot.[@more@]<\/span><\/span><span style=\"font-size: 1em\"><span style=\"color: #0000ff\"><span style=\"color: #000000\">3. \u5efa\u7acb\u555f\u52d5 Elementary OS \u7684 Script \u6a94 <br \/>$ <span style=\"color: #ff0000\">vim ~\/startunity<\/span><\/span> <\/span> <\/span><\/p>\n<p style=\"padding-left: 30px\"><span style=\"color: #0000ff\">#!\/bin\/bash<\/span> <br \/><span style=\"color: #0000ff\">if [ -z &#8220;$(mount | grep sdb1 | grep sdcard)&#8221; ]; then<\/span> <br \/><span style=\"color: #0000ff\">\u00a0 \u00a0 umount \/dev\/sdb1<\/span> <br \/><span style=\"color: #0000ff\">\u00a0 \u00a0 if [ ! -d \/media\/removable\/sdcard ]; then<\/span> <br \/><span style=\"color: #0000ff\">\u00a0 \u00a0 \u00a0 \u00a0 mkdir \/media\/removable\/sdcard<\/span> <br \/><span style=\"color: #0000ff\">\u00a0 \u00a0 fi\u00a0<\/span><\/p>\n<p style=\"padding-left: 30px\"><span style=\"color: #0000ff\">\u00a0 \u00a0 mount -o rw,noatime \/dev\/sdb1 \/media\/removable\/sdcard<\/span> <br \/><span style=\"color: #0000ff\">fi<\/span> <br \/><span style=\"color: #0000ff\">\/media\/removable\/sdcard\/bin\/startxfce4<br \/><\/span><\/p>\n<p style=\"padding-left: 30px\"><span style=\"color: #0000ff\"><\/span><br \/><span style=\"color: #ff0000\"><\/span><\/p>\n<p><span style=\"font-size: 1em\"><span style=\"color: #0000ff\"><span style=\"color: #000000\">4. <\/span><\/span><\/span>\u9032\u5165 Chrome OS <br \/>\u6309 <span style=\"color: #ff0000\">Ctrl+Alt+T<\/span>\uff0c\u8f38\u5165 <span style=\"color: #ff0000\">shell<\/span> \u9032\u5165\u5b8c\u6574 shell \u6a21\u5f0f <br \/>\u57f7\u884c <br \/>$ <span style=\"color: #ff0000\">sudo sh ~\/startxfce4<\/p>\n<p><\/span><span style=\"font-size: 1em\"><span style=\"color: #0000ff\"><span style=\"color: #000000\">5. Ubuntu 12.04 xfce \u684c\u9762\u74b0\u5883<br \/><a id=\"res_2933786\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-2933786.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-2933786.png\" border=\"0\" alt=\"\" \/><\/a><br \/><\/span><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53c3\u8003\u7db2\u9801\uff1a [Guide] How To Install Elementary OS on an HP Chr &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/02\/08\/chromebox-%e5%ae%89%e8%a3%9d-elementary-oscrouton\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Chromebox \u5b89\u88dd Elementary OS(crouton)\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[181,177],"tags":[],"class_list":["post-18755","post","type-post","status-publish","format-standard","hentry","category-c-88298","category-c-86527"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["556269"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18755"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18755"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18755\/revisions"}],"predecessor-version":[{"id":20370,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18755\/revisions\/20370"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}