Creating a ChromeOS recovery drive using Ubuntu

The way to reinstall ChromeOS using Linux is to download a script from Google and run it.

Running sudo linux_recovery.sh failed with an error about the config file:

ERROR: The config file isn't valid.

linux_recovery.sh downloads /tmp/tmp.crosrec/config.txt which contains the URL of the image to download.

The entry for my Chromebook in /tmp/tmp.crosrec/config.txt is:

name=Acer C720 Chromebook
version=8172.62.0
desc=Acer C720 Chromebook
channel=stable-channel
hwidmatch=^PEPPY .*
hwid=
md5=a04e467b5a7727aee51c0079f4bd33cb
sha1=8cecc85e044b363f0b96e096619e24f8dfd96525
zipfilesize=585977912
file=chromeos_8172.62.0_peppy_recovery_stable-channel_mp-v2.bin
filesize=1535082496
url=https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_8172.62.0_peppy_recovery_stable-channel_mp-v2.bin.zip
/tmp/tmp.crosrec/config.txt

I downloaded the image and used dd to create the USB drive:

wget https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_8172.62.0_peppy_recovery_stable-channel_mp-v2.bin.zip
unzip chromeos_8172.62.0_peppy_recovery_stable-channel_mp-v2.bin.zip
sudo dd bs=4194304 of=/dev/sdb if=chromeos_8172.62.0_peppy_recovery_stable-channel_mp-v2.bin conv=sync

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s