Skip to content

Instantly share code, notes, and snippets.

@navigaid
navigaid / cros2usb
Last active February 10, 2023 00:53
A script to install Chrome OS recovery image for Pixelbook to USB stick.
#!/bin/bash
# repo: https://gist.github.com/libredot/4b7c36d7682a9fdbc00e682ea2936eaa
# author: libredot@gmail.com
set -ex
if [[ ! -b ${1} ]]; then
echo "Usage: ${0} /dev/sdx"
exit 1
fi