Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
/ NiChrome Public archive

An open ChromeOS distro with a Go-based userland, X11, and upspin support. (WIP)

License

Notifications You must be signed in to change notification settings

u-root/NiChrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0805d9a · Jan 23, 2023
Dec 14, 2021
Jan 23, 2023
Jul 1, 2019
Jul 26, 2018
Aug 3, 2018
Aug 13, 2019
Dec 14, 2021
Aug 17, 2017
Dec 14, 2021
Jan 29, 2019
Jul 1, 2019
Dec 14, 2021
Aug 15, 2019
Aug 15, 2019
Aug 14, 2017
Jul 28, 2018
Jul 28, 2018
Nov 5, 2018
Dec 14, 2021
Jul 1, 2019
Jan 23, 2023
Jan 23, 2023
Jul 25, 2018
Jan 9, 2019
Jul 1, 2019

Repository files navigation

NiChrome

Build Status Go Report Card GoDoc License: GPL v2

Description

Things we need for NiChrome.

To test out USB stick creation, you will need a ChromeOS-formatted boot stick with the right partitions. We don't know how to create those yet. One way to get such an image is with the chromeos recovery tool, found here: https://chrome.google.com/webstore/detail/chromebook-recovery-utili/jndclpdbaamdhonoechobihbbiimdgai?hl=en

You can pick any chromebook to get an image from, since the partition layout is the same on all of them, and the usb tool replaces the A image anyway.

To get an image, for both KERN-[AB] and ROOT-[AB],

Build the usb tool: (cd usb && go build .)

Plug in the chromeos-formatted USB stick.

./usb/usb --fetch=true --dev=/dev/your-usb-stick

e.g. ./usb/usb --fetch=true --dev=/dev/sdb

usb will default to /dev/null, which makes it easy to test it. You can also run travis.sh to test.

You can skip the -fetch=true on second or later runs of usb.

This defaults to writing the A image (partitions 2 and 3). To use the B image, invoke usb with --useB=true