All Projects → jam7 → chromiumos-build

jam7 / chromiumos-build

Licence: BSD-3-Clause license
Scripts to build Chromium OS easily

Programming Languages

Makefile
30231 projects

Projects that are alternatives of or similar to chromiumos-build

crosware
Tools, things, stuff, miscellaneous, etc., for Chrome OS / Chromium OS
Stars: ✭ 36 (+28.57%)
Mutual labels:  chrome-os, chromium-os
chrome os updater
Update Chrome OS on regular PCs
Stars: ✭ 23 (-17.86%)
Mutual labels:  chrome-os
chronosjs
JS Channels (Events / Commands / Reqest-Response / Courier) Mechanism
Stars: ✭ 35 (+25%)
Mutual labels:  chronos
Paasta
An open, distributed platform as a service
Stars: ✭ 1,569 (+5503.57%)
Mutual labels:  chronos
Chronos
Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules
Stars: ✭ 4,303 (+15267.86%)
Mutual labels:  chronos
NiChrome
An open ChromeOS distro with a Go-based userland, X11, and upspin support. (WIP)
Stars: ✭ 54 (+92.86%)
Mutual labels:  chrome-os
chrome-ext-wicked-good-unarchiver
Chrome OS Files app plugin for reading many archives/compression formats
Stars: ✭ 46 (+64.29%)
Mutual labels:  chrome-os
chromeos-filesystem-sftp
ChromeOS app to access SFTP server
Stars: ✭ 78 (+178.57%)
Mutual labels:  chrome-os
archbk
Run Arch Linux ARM on Your Chromebook
Stars: ✭ 56 (+100%)
Mutual labels:  chrome-os
chromium os-tinker board
Build your Chromium OS for Asus Tinker Board
Stars: ✭ 30 (+7.14%)
Mutual labels:  chromium-os

chromeos-build

Scripts to build Chrome OS easily

How to run Chromium OS on KVM

Retrieve one of KVM images. I recommend chromiumos_qemu_image-R60-9592.63-amd64-generic.32GB.qcow2.xz, 410MB.

Then, create VM using the image. Here has command line for KVM. If you use GUI manager, plase make sure to use cirrius VGA and SATA or IDE storage device.

You cannot log in from GUI until you register your own google API keys, but it is possible to ssh to Chromium OS with chronos:chronos account.

How to compile Chromium OS by yourself

Prerequisites

Prerequisites are described here.

I'll list them for the ease. Bold means new or different prerequisities from above. I noticed them through my experience.

  • ubuntu 16.04 works
  • x86_64 64 bit system
  • an account with sudo access
  • 16 GB RAM for arm and x86. 20 GB RAM for amd64. (For example, amd64 uses gold-linker, but it still uses 12G. The whole system uses at least 18 GB.)
  • git and curl
  • configure git
  • tweak sudoers for 400 minutes (My machine takes more than 180 min for compilation)

Setup

Type following command to prepare depo_tools and sources.

$ make setup

Compile

Type following command to create images for all architectures. This takes a day or more for me.

$ make images

You can create images for architecures you need only by following command.

$ make arm | x86 | x64

In order to convert thses images into KVM images, type one of following commands.

$ make kvm
$ make armk | x86k | x64k

How to convert raw image to qcow2 image

Convert qemu raw image to qcow2 image if your qemu-manager requires it.

$ qemu-img convert -f raw -O qcow2 chromiumos_qemu_image-R55-8872.76-amd64-generic.img chromiumos_qemu_image-R55-8872.76-amd64-generic.qcow2

How to change chronos password

Push CTRL+ALT+F2. Type chronos as a user. You may need to enter chronos as password also.

$ sudo mount -o remount,rw /
$ sudo chromeos-setdevpasswd
Password:
Verifying - Password:
$ sudo passwd chronos
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

It is required to update UNIX password to log-in through ssh.

How to set google API keys

You need to retrieve your own API keys from https://www.chromium.org/developers/how-tos/api-keys. Then, you can set those API keys into Chromium OS like below.

$ sudo mount -o remount,rw /
$ sudo vi /etc/chrome_dev.conf
# append at the bottom below
GOOGLE_API_KEY=your_api_key
GOOGLE_DEFAULT_CLIENT_ID=your_client_id
GOOGLE_DEFAULT_CLIENT_SECRET=your_client_secret

You need to reboot Chromium OS once.

How to disable sleep

$ sudo bash -c 'echo 1 >/var/lib/power_manager/disable_idle_suspend'
$ sudo chown power:power /var/lib/power_manager/disable_idle_suspend
$ sudo restart powerd

Releases

You can download pre-compiled image through release page

References

a list of released chromebook
developer guide
Running a Chromium OS image under KVM
Power manager overrides

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].