Chromebox Translate

13
In order to simplify the setup/installation of XBMC on the Chromebox, and to resolve many of the setup issues encountered, I've developed a new script which will handle just about everything. Um die Installation und das Handling von XBMC auf der Chromebox zu vereinfachen, habe ich ein Script geschrieben welches das ganze vereinfacht. Before using this script, you must perform the steps in the device prep section of the wiki (put the ChromeBox in developer mode, and disable the firmware write protect). If you are planning on installing a dual-boot setup, you must perform a factory reset using Google'e recovery image prior to running the script for a dual-boot install. Bevor Sie das Script verwenden können, müssen Sie die einzelnen Schritte in der Präparationsliste in der Wiki dürchführen. (Deaktivieren des Firmware Schreibschutzes, Chromebox in den Developermodus setzten) Wenn Sie ein Dualbootsystem planen, müssen Sie zuerst mit dem „Google Recovery Image“ ein „Factory Reset“ durchführen bevor Sie das Script starten. To run the script (which must be executed from either ChromeOS or ChromiumOS), perform the following steps: Um das Script zu starten (welches von ChromeOS oder ChromiumOS gestartet werden muss) gehen Sie wie folgt vor: Power on and boot to ChromeOS. DO NOT LOG IN TO ChromeOS, but do ensure a network connection is set up Hit CTRL-ALT-F2 to get to command prompt Login with user chronos (no password required for ChromeOS; ChromiumOS uses 'password') Download and run the setup script with the commands: curl -L -O http://goo.gl/3Tfu5W sudo bash 3Tfu5W Gerät einschalten und ChromeOS laden, Logge dich aber nicht Ein, stellen Sie sicher dass du eine Internetverbindung besteht Drücken Sie CTRL-ALT-F2 um die Kommandozeile zu öffnen Einloggen mit user chronos (kein password nötig für ChromeOS; ChromiumOS benutzt „password“) Downloaden Sie das Script und führen Sie es anschliessend aus mit den folgenden Befehlen: curl -L -O http://goo.gl/3Tfu5W sudo bash 3Tfu5W You will be presented with a menu with the following options: Es wird ein Menu mit folgendem Inhalt angezeigt:

Transcript of Chromebox Translate

  • In order to simplify the setup/installation of XBMC on the Chromebox, and to resolve

    many of the setup issues encountered, I've developed a new script which will handle just

    about everything.

    Um die Installation und das Handling von XBMC auf der Chromebox zu vereinfachen,

    habe ich ein Script geschrieben welches das ganze vereinfacht.

    Before using this script, you must perform the steps in the device prep section of the

    wiki (put the ChromeBox in developer mode, and disable the firmware write protect). If

    you are planning on installing a dual-boot setup, you must perform a factory

    reset using Google'e recovery image prior to running the script for a dual-boot

    install.

    Bevor Sie das Script verwenden knnen, mssen Sie die einzelnen Schritte in der

    Prparationsliste in der Wiki drchfhren. (Deaktivieren des Firmware Schreibschutzes,

    Chromebox in den Developermodus setzten) Wenn Sie ein Dualbootsystem planen,

    mssen Sie zuerst mit dem Google Recovery Image ein Factory Reset durchfhren bevor Sie das Script starten.

    To run the script (which must be executed from either ChromeOS or ChromiumOS),

    perform the following steps:

    Um das Script zu starten (welches von ChromeOS oder ChromiumOS gestartet werden

    muss) gehen Sie wie folgt vor:

    Power on and boot to ChromeOS. DO NOT LOG IN TO ChromeOS, but do ensure a

    network connection is set up

    Hit CTRL-ALT-F2 to get to command prompt

    Login with user chronos (no password required for ChromeOS; ChromiumOS uses

    'password')

    Download and run the setup script with the commands:

    curl -L -O http://goo.gl/3Tfu5W sudo bash 3Tfu5W

    Gert einschalten und ChromeOS laden, Logge dich aber nicht Ein, stellen Sie sicher

    dass du eine Internetverbindung besteht

    Drcken Sie CTRL-ALT-F2 um die Kommandozeile zu ffnen

    Einloggen mit user chronos (kein password ntig fr ChromeOS; ChromiumOS benutzt

    password) Downloaden Sie das Script und fhren Sie es anschliessend aus mit den folgenden

    Befehlen:

    curl -L -O http://goo.gl/3Tfu5W sudo bash 3Tfu5W

    You will be presented with a menu with the following options:

    Es wird ein Menu mit folgendem Inhalt angezeigt:

  • Each option is explained below:

    Jede Option wird im folgenden Absatz erlutert:

  • -----------------------------------------------------------------

    Setup: ChromeOS + OpenELEC (dual boot)

    -----------------------------------------------------------------

    This option will install OpenELEC in a dual boot setup with ChromeOS.

    IMPORTANT: Installing a dual boot setup occurs in two stages, and requires this

    script to be downloaded and run twice.

    In the first stage, the script will prompt you for the partition size to use for OpenELEC,

    then re-partition the internal HDD to make room. After a reboot, ChromeOS will "repair"

    the newly created partitions and reboot itself. Once it completes the repair, you will need

    to re-download and re-run the script to complete the second phase, during which

    OpenELEC will be installed to the newly created partition(s).

    After completion of the 2nd stage, use the 'Set Boot Options' menu option to set your

    preferred boot delay and default boot option.

    Note: if you already have Ubuntu installed in a dual boot setup, you will need to perform

    a factory reset before installing OpenELEC in a dual boot configuration.

    Diese Option installiert OpenELEC und das ChromeOS in einem Dualboot.

    Wichtig: Die Installation eines Dualboot Setups erfolgt in zwei Schritten und das

    Script muss zweimal ausgefhrt werden.

    Im ersten Schritt, fordert Sie das Script auf eine Partitionsgrsse fr das OpenELEC

    festzulegen. Dann wird die Partition erstellt. Nach einem Neustart will ChromeOS die

    zuvor erstellte Partition reparieren und startet anschliessen neu. Sobald das Reparieren

    beendet wurde, mssen sie das Script erneut downloaden und ausfhren um den zweiten

    Schritt zu beenden. (In welchem das OpenELEC auf der neuen Partition installiert wird)

    Nach Fertigstellung des zweiten Schrittes benutzen Sie das Set Boot Option Menu um

    ihr bevorzugtes System anzuwhlen und zu starten.

    Hinweis: Wenn Sie bereits Ubuntu in einem Dualboot Setup installiert haben, mssen Sie

    zuerst einen Factory Reset durchfhren bevor Sie OpenELEC in einem Dualbootmodus

    nutzen knnen.

  • ----------------------------------------------------------

    Setup: ChromeOS + Ubuntu (dual boot)

    ----------------------------------------------------------

    This option will install Ubuntu (14.04) in a dual boot setup with ChromeOS, plus update

    the Linux kernel to 3.14.1 and install the latest stable version of XBMC (13.1 / Gotham).

    IMPORTANT: Installing a dual boot setup occurs in two stages, and requires this

    script to be downloaded and run twice.

    In the first stage, the script will prompt you for the partition size to use for Ubuntu, then

    re-partition the internal HDD to make room. After a reboot, ChromeOS will "repair" the

    newly created partitions and reboot itself. Once it completes the repair, you will need to

    re-download and re-run the script to complete the second phase, during which you can

    select which metapackage of Ubuntu to use, and it will be installed to the newly created

    partition.

    After completion of the 2nd stage, use the 'Set Boot Options' menu option to set your

    preferred boot delay and default boot option.

    Note: if you already have a different version of Ubuntu installed in a dual boot setup, you

    can select this option and it will erase the existing version and install 14.04 + kernel

    update + MCE remote fix + XBMC 13.1, using the existing partition size/setup. If you are

    dual booting OpenELEC you will need to perform a factory reset before installing Ubuntu.

    Diese Option installiert Ubuntu (14.04) in einem Dualbootmodus mit ChromeOS, updatet

    den Linuxkernel auf 3.14.1 und installiert das letzte Stable Release von XBMC (13.1 /

    Gotham)

    Wichtig: Die Installation eines Dualboot Setups erfolgt in zwei Schritten und

    man muss das Script zweimal ausfhren.

    Im ersten Schritt fordert Sie das Script auf eine Partitionsgrsse fr Ubuntu festzulegen.

    Dann wird die Partition erstellt. Nach einem Neustart will ChromeOS die zuvor erstellte

    Partition reparieren und startet anschliessen neu. Sobald das Reparieren beendet wurde,

    mssen sie das Script erneut downloaden und ausfhren um den zweiten Schritt zu

    beenden. (In welchem das Ubuntu auf der neuen Partition installiert wird)

    Nach Fertigstellung des zweiten Schrittes benutzen Sie das Set Boot Option Menu um

    ihr bevorzugtes System anzuwhlen und zu starten.

    Hinweis: Wenn Sie bereits eine andere Version von Ubuntu in einem Dualboot Setup

    installiert haben, knnen Sie diesen Punkt auswhlen und es lscht ihre bereits

    installierte Version und installiert 14.04 + Kernel Update + MCE Fernbedinung Bug Fix +

    XBMC 13.1, benutze die vorhandene Partition. Haben Sie ein Dualboot mit OpenELEC

    mssen Sie zuerst einen Factory Reset durchfhren bevor Sie Ubuntu installieren.

  • -----------------------------------------

    Set Boot Options (dual boot)

    ------------------------------------------

    This option will allow you to set the boot delay (30s or 1s) and the default boot option

    (ChromeOS or OpeneELEC/Ubuntu).

    Regardless of the option selected, on the developer boot screen (white screen w/"OS

    Verification Off" text) you can always press [CTRL-D] to boot into ChromeOS or [CTRL-L]

    to boot OpenELEC/Ubuntu.

    Note: this requires the firmware write-protect to be disabled.

    Diese Option ermglicht es Ihnen, die Startverzgerung (30s oder 1s) und das Standard

    Bootsystem (ChromeOS oder Openelec/Ubuntu) einzustellen.

    Unabhngig von der gewhlten Option, auf dem Developer Bootbildschirm (weisses Bild)

    knnen Sie jederzeit mit dem Tastendruck [CTRL-D] ins ChromeOS und mit [CTRL-L] ins

    OpenELEC/Ubuntu booten.

    Hinweis: Dies erfordert dass der Firmware Schreibschutz deaktiviert wurde.

  • -----------------------------------------

    Update Legacy BIOS (dual boot)

    ------------------------------------------

    This option updates the Legacy BIOS component of the stock firmware to the latest fixed

    version. This step is automatically performed as part of any dual-boot setup, and is only

    necessary to perform manually if an update is released with a bug fix or new feature of

    interest to you.

    Diese Option aktualisiert das Legacy Bios des Herstellers auf die neuste Version. Dieser

    Schritt wird automatisch als Teil eines Dualboot Setups durchgefhrt und ist nur manuell

    durchzufhren wenn ein Update mit einem BugFix vorliegt oder Sie ein neues Feature

    nutzen mchten.

  • ---------------------------------------------------------------------------

    Standalone Setup / coreboot Firmware Install / Update

    ------------------------------------------------------------------------------

    This option will allow you to replace the stock firmware with a custom build of coreboot.

    This custom firmware fixes many issues with the stock firmware and significantly reduces

    the boot time, but is not ChromeOS compatible. (You can, however, run the open-source

    variant ChromiumOS. Downloads are available at http://chromium.arnoldthebat.co.uk/)

    You will be given the option to backup the current/stock firmware to an external USB

    drive; it is highly recommended that you do this in the event you wish to revert the

    ChromeBox to stock / run ChromeOS (the recovery button won't help you anymore), and

    since there is always a small risk anytime you flash/update the firmware.

    After completing this step, you can install any off-the-shelf linux distro (Ubuntu,

    OpenELEC, etc) via USB, no custom installers are needed.

    Upon reboot, if any USB/SD devices are connected, you will have 5s to press [ESC] to

    display the boot menu; otherwise it will boot the internal hard drive directly.

    Note: this requires the firmware write-protect to be disabled.

  • Diese Option ermglicht es Ihnen die bestehende Firmware durch eine modifizierte

    Firmware zu ersetzten. Diese Custom Firmware behebt viele Probleme und verkrzt die

    Bootzeit, ist jedoch nicht ChromeOS kompatibel. (Sie knnen jedoch das OpenSource

    System ChromiumOS damit betreiben) Downloads finden Sie unter

    http://chromium.arnoldthebat.co.uk/

    Sie haben die Mglichkeit die aktuelle Firmware auf einem USB Laufwerk zu sichern. Es

    wird dringend empfohlen dies zu tun (falls Sie mal auf ChromeOS zurckkehren

    mchten) Ohne das Backup wird Ihnen die Schaltflche Wiederherstellen nichts mehr

    ntzen. Bedenken Sie das immer ein gewisses Risiko besteht, wenn man die Firmware

    updatet.

    Nach diesem Schritt knnen Sie jede Linux Distribution (Ubuntu, OpenELEC, etc.) ber

    USB installieren (Es werden keine zustzlichen Installer bentigt.)

    Nach dem Neustart, wenn alle USB/SD Gerte angeschlossen sind, haben Sie 5s Zeit die

    [ESC] Taste zu drcken um in das Bootmenu zu gelangen sonst wird direkt von der

    internen Festplatte gebootet.

    Hinweis: Dies erfordert dass der Firmware Schreibschutz deaktiviert wurde.

  • -----------------------------------------------------------------------

    Create OpenELEC USB/SD Installer (standalone)

    -----------------------------------------------------------------------

    This option will create a bootable USB/SD OpenELEC installer, which can then be used to

    install OpenELEC in standalone mode. The only difference from the latest OpenELEC

    Generic x86_64 version is that resume from suspend is enabled for USB3 ports, which

    allows IR remotes to power on the ChromeBox when in standby.

    After completion, reboot and press [ESC] at the boot menu prompt, and select the USB

    device for installation.

    In the OpenELEC installer, choose the 'Quick Install' option, select [YES]/[OK] as needed,

    and leave all defaults enabled (ssh, samba). When installation is complete, remove the

    USB stick, choose the reboot option, and OpenELEC will be booted by default in ~6

    seconds.

    Note: this requires you to have completed the Standalone Setup, which will update the

    ChromeBox's firmware to my custom coreboot build.

    ----------------------------------------------------------

    Diese Option erstellt einen bootfhigen USB /SD OpenELEC Installer der fr die

    anschliessende OpenELEC Standalone Installation verwendet werden kann.

    Nach dem Abschluss, neustarten und [ESC] drcken um ins Bootmenu zu gelangen.

    Im OpenELEC Installer whlen sie dann Quick Install. Lassen Sie die

    Standardeinstellungen aktiviert (ssh, samba). Sobald die Installation abgeschlossen ist

    entfernen Sie den USB Stick, whlen die Option Reboot und das System startet

    anschliessend mit OpenELEC.

    Hinweis: Fr diese Option ist es zwingend notwendig, dass Sie zuerst die Coreboot

    Firmware installieren welches die Stock Firmware ersetzt.

  • -----------------------------

    Other Configurations

    -----------------------------

    If you want to dual boot a different Linux distro, simply run the Device Prep followed by

    the first stage of the Ubuntu dual boot setup. Reboot, and allow ChromeOS to "repair"

    itself and perform the partition resizing. Then, reboot in legacy mode [CTRL-L] and

    choose to boot from your distro's USB installer ([ESC] then option 2). Install Linux to

    partition /dev/sda7, and the grub bootloader to /dev/sda. Afterwards, you can re-run the

    script to set your boot options.

    If you want to install a different Linux distro in standalone mode, run the Standalone

    Setup / coreboot Firmware Install.

    Then, reboot and choose to boot from your distro's USB installer ([ESC] then select USB

    drive from list). Install to the entire internal HDD.

    I've personally tested Fedora 20, Linux Mint Debian Edition, and SteamOS so far, as well

    as Windows 8.1.

    Wenn Sie ein Dualboot mit einer anderen Linux Distribution durchfhren mchten,

    mssen Sie zuerst die Prparationsliste in der Wiki durchfhren und anschliessend mit

    dem ersten Schritt des Ubuntu Dualboot Setups weitermachen. Starten Sie neu und

    erlauben Sie ChromeOS die Partition zu reparieren. Anschliessen starten sie im Legacy

    Modus mit [CTRL-L] und whlen ihren USB Bootstick mit der Distro drauf. ([ESC] und

    dann Option 2). Linux installieren zu Partition /dev/sda7, und den Grub Bootloader zu

    /dev/sda. Danach knnen Sie wieder das Script starten und ihre Bootoptionen einstellen.

    Wenn Sie eine andere Linux Disto im Standalonemodus installieren mchten, fhren Sie

    das Standalonesetup / Coreboot Firmware installieren durch.

    Anschliessend neustarten und [ESC] drcken um Ihren USB Distro Installer auszuwhlen.

    Ich persnlich habe folgende Distros getestet: Fedora 20, Linux Mint Debian Edition und

    SteamOS sowie Windows 8.1.

  • ---------------------------------------

    Restoring the Stock Firmware

    -------------------------------------------

    If you've used this script to setup for a standalone OpenELEC/Ubuntu setup, or otherwise

    flashed a custom coreboot firmware, you'll need to restore the stock firmware before

    using Google's recovery media to restore/reload ChromeOS. Full instructions can be

    found on the wiki here:

    ASUS_Chromebox - Restoring the Stock Firmware

    This script is a work in progress, all feedback is appreciated and I'll do my best to

    implement any fixes/improvements.

    cheers!

    Wenn Sie dieses Script benutzt haben um einen Standalone Modus mit OpenELEC oder

    Ubuntu herzustellen, mssen Sie zuerst die Stock Firmware wieder installieren bevor Sie

    das ChromeOS wieder draufspielen knnen. Eine vollstndige Anleitung hierzu finden Sie

    unter:

    ASUS_Chromebox - Restoring the Stock Firmware

    Dieser Script ist eine laufenden Entwicklung. Feedback ist immer Willkommen und ich

    werde mein Bestes tun um alle Update / Verbesserungen umzusetzen.

    Cheers!

    ------------------------------------------------------------------

    Version history

    ------------------------------------------------------------------

    2014-07-12 -- v2.15

    ------------------------------------------------------------------

    - updated to OpenELEC 4.2 beta 2 (4.1.2), which now includes working USB3 wake from

    suspend, so custom build no longer needed.

    ------------------------------------------------------------------

    2014-07-12 -- v2.14

    ------------------------------------------------------------------

    - updated script to use a custom OpenELEC ChromeBox build for standalone setups,

    which enables USB3 ports to wake from suspend.

    Fixes the issue of IR remotes not being able to power on the system when suspended.

    Dual boot setups are unaffected since suspend/resume is broken anyway.

    ------------------------------------------------------------------

    2014-07-09 -- v2.13

    ------------------------------------------------------------------

    - updated coreboot firmware to properly support virtualization (vmx/smx)

    - updated script to make selection of connected USB devices more user-friendly

    - updated to OpenELEC v4.0.7

    - updated SeaBIOS datestamp

    ------------------------------------------------------------------

  • 2014-06-30 -- v2.12

    ------------------------------------------------------------------

    - updated script to persist MAC address, serial #, etc from stock firmware when flashing

    coreboot firmware

    -- if you've already flashed coreboot firmware, script can extract data from stock

    firmware backup

    - updated to OpenELEC v4.0.6

    - updated SeaBIOS datestamp

    ------------------------------------------------------------------

    2014-06-20 -- v2.11

    ------------------------------------------------------------------

    - updated coreboot firmware with TPM disabled (fixes some Linux hangs)

    - updated datestamp on legacy BIOS/SeaBIOS

    - perform MD5 check on legacy BIOS after setting dual-boot

    boot options in case it gets corrupted in the process

    ------------------------------------------------------------------

    2014-06-14 -- v2.10

    ------------------------------------------------------------------

    - updated coreboot firmware with USB boot detection fix

    - updated legacy BIOS/SeaBIOS with USB boot detection fix

    - update to OpenELEC 4.0.5

    ------------------------------------------------------------------

    2014-06-11 -- v2.9

    ------------------------------------------------------------------

    - updated coreboot firmware with HDMI boot menu video init fix

    - updated legacy BIOS/SeaBIOS with HDMI boot menu video init fix

    ------------------------------------------------------------------

    2014-06-09 -- v2.8

    ------------------------------------------------------------------

    - updated coreboot firmware with potential video init fix

    - include southbridge USB fixes from chromium coreboot branch

    ------------------------------------------------------------------

    2014-06-06 -- v2.7

    ------------------------------------------------------------------

    - update firmware (coreboot and legacy SeaBIOS) for compatibility with Core i3/i7

    ChromeBox models

    - change default legacy boot from USB to internal HDD (by request)

    - ensure legacy boot is unavailable until dual-boot setup is complete

    - update to OpenELEC 4.0.4

    ------------------------------------------------------------------

    2014-05-30 -- v2.6

    ------------------------------------------------------------------

    - fix OpenELEC dual-boot install issue

    ------------------------------------------------------------------

    2014-05-28 -- v2.4/2.5

    ------------------------------------------------------------------

    - re-add option to update Legacy BIOS for dual boot setups

    - update legacy BIOS to SeaBIOS release 1.7.5

    - fix legacy BIOS boot order (USB preferred)

    - dual boot legacy BIOS boot menu only shown if USB drive(s) connected (USB 2.0 only)

    - update coreboot firmware to use SeaBIOS 1.7.5

    - improve script organization / error handling

    ------------------------------------------------------------------

    2014-05-27 -- v2.3

  • ------------------------------------------------------------------

    - improved error handling for dual boot / OpenELEC setup

    - updated coreboot firmware; text now indicates when booting from USB (cosmetic

    change only)

    ------------------------------------------------------------------

    2014-05-22 -- v2.1, 2.2

    ------------------------------------------------------------------

    - more robust mounting of USB drives for firmware backup

    - added error checking to firmware backup

    ------------------------------------------------------------------

    2014-05-21 -- v2.0

    ------------------------------------------------------------------

    - revamped / simplified menu options

    - updated coreboot firmware, integrated into standalone setup

    - OpenELEC installer now uses standard OE version (vs custom build)

    ------------------------------------------------------------------

    2014-05-19 -- v1.1

    ------------------------------------------------------------------

    - added option for coreboot firmware update

    ------------------------------------------------------------------

    2014-05-07 -- v1.0

    ------------------------------------------------------------------

    initial release