Installing/Baytrail

From GalliumOS Wiki
Jump to: navigation, search

Installation on Baytrail ChromeOS devices can be performed in either a dual boot or standalone setup. A standalone setup is one in which GalliumOS is installed on the internal storage, replacing ChromeOS, or installed to external media (SD, USB flash, USB-attached SSD) leaving ChromeOS on the internal storage untouched; a dual boot setup is one in which GalliumOS is installed to the internal storage alongside ChromeOS, and the user can choose between them via keyboard shortcuts on the developer mode boot screen.

Since Baytrail devices do not ship with any legacy boot capability, a firmware update is required in order to run GalliumOS (or any other OS besides ChromeOS) regardless of configuration.


Switch to Developer mode

Switching to developer mode (as opposed to standard / verified boot mode) allows more control over the device/OS, and is required in order to run GalliumOS. Switching to/from developer mode will wipe all userdata from the device, so ensure anything important is backed up first.

  1. Shutdown the Chromebook
  2. Hold ESC+Refresh+PWR to boot the machine into recovery mode
    * You will see a screen with a "Chrome OS is missing or damaged" warning - DON'T PANIC ;)
  3. Press CTRL+D
  4. You will see a message asking if you want to enable developer mode / turn OS verification off - Press ENTER to confirm
  5. Wait for Powerwash (userdata wipe) to complete (this will take a few minutes)
  6. Once Powerwash is complete, your device will reboot and you will see the white developer mode boot screen, complete with warning that OS verification is off
    *Do not press enter/space to re-enable it, simply press CTRL+D to bypass the 30s timeout and boot ChromeOS (this timeout can be changed later).

Install Legacy Boot capability

  1. At the ChromeOS login screen, ensure a network connection is set up, but do not log in to ChromeOS
  2. Open a crosh shell via CTRL+ALT+F2(top row right arrow)
  3. Login as 'chronos' (no password is required)
  4. Download and run the firmware update script for the type of firmware you want to install
  5. Install either the RW_LEGACY or BOOT_STUB firmware update
    * Users wishing to run a dual boot install must choose the RW_LEGACY firmware update; dual booting with the BOOT_STUB update isn't possible
    * Also, RW_LEGACY users may also want to change the default boot type (ChromeOS or legacy) and/or boot timeout, which can be done via the same script used to install the firmware update.

Install GalliumOS

Standalone Setup

  1. Download the Baytrail GalliumOS ISO then follow the instructions on Installing/Creating_Bootable_USB to create the install media
  2. Insert install USB (use USB2 port if device has both USB2 and USB3 ports)
  3. If you installed the RW_LEGACY firmware update and didn't set legacy boot as the default, press CTRL+L to boot in legacy mode
  4. On the SeaBIOS boot screen, press ESC when prompted to show the boot menu
  5. Select GalliumOS USB to boot
  6. If the Grub boot menu appears, press enter to boot in live mode
  7. Launch installer
  8. Select device to which GalliumOS will be installed:
    Choose '/dev/mmcblk0' for internal storage
    Choose '/dev/mmcblk1' for external SD media or '/dev/sdb' for external USB media
  9. Perform install, reboot and remove install media when instructed
  10. Enjoy GalliumOS!

Dual-boot Setup

A dual boot installation is a 2-step process: first, the install script will resize the partitions on device's internal storage; afterwards the actual installation will occur.

  1. At the ChromeOS login screen, ensure a network connection is set up, but do not log in to ChromeOS
  2. Open a crosh shell via CTRL+ALT+F2(top row right arrow)
  3. Login as 'chronos' (no password is required)
  4. Download/run the chrx install script
    curl -Os https://chrx.org/go && sh go
  5. When prompted, input the amount of space to allocate to GalliumOS
  6. chrx will reboot the device; press CTRL+D to boot ChromeOS and allow it to "repair" itself
  7. Once complete, the device will reboot; press CTRL-D again to boot ChromeOS
  8. Open a crosh shell via CTRL+ALT+F2(top row right arrow)
  9. Login as 'chronos' (no password is required)
  10. Download/run the chrx install script a second time
    curl -Os https://chrx.org/go && sh go
    Note: you can also add any additional command line parameters here to install additional packages (eg Kodi, Steam, Minecraft) as detailed on chrx.org
  11. chrx will install GalliumOS and reboot when finished; use CTRL+L to boot in legacy mode if not set as the default
  12. Enjoy GalliumOS!

Device-specific Notes

Lenovo 100S (ORCO)

  • John Lewis' firmware update script recognizes ORCO and can install his BOOT_STUB, but as of this writing (20160417), does not successfully boot GalliumOS. This is probably just a temporary bug, but see Reddit thread for more info.
  • MattDevo's RW_LEGACY update does boot GalliumOS, and can be used for both standalone and dual boot setups. See Firmware.