From c660152396402c34b7a816b34c1a9056bae693d7 Mon Sep 17 00:00:00 2001 From: Jarno Rantanen Date: Fri, 1 Apr 2016 00:45:03 +0300 Subject: [PATCH] Update image setup and README. --- README.md | 14 +++++++++++++- image-setup.md | 5 +++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b53fea4..50945c2 100644 --- a/README.md +++ b/README.md @@ -30,4 +30,16 @@ Optional extras: ## Software -TODO +Preparing the image is easy. Assuming you're on OS X: + +1. `$ wget TODO` +1. `$ unzip chilipie-kiosk-v1.0.img.zip` +1. Insert your microSD card +1. `$ diskutil list` to check the correct device +1. `$ diskutil unmountDisk /dev/disk2` to prepare it for imaging +1. `$ sudo dd bs=1m if=chilipie-kiosk-v1.0.img of=/dev/disk2` to flash the card +1. Grab a coffee, this will take a while (e.g. 60 minutes on a MBP and a Class 10 card) +1. `$ diskutil unmountDisk /dev/disk2` to safely eject the card +1. Insert the microSD card to your Pi and power it up! + +The first boot should land you [here](first-boot.md). diff --git a/image-setup.md b/image-setup.md index 06729fa..4504f1f 100644 --- a/image-setup.md +++ b/image-setup.md @@ -74,5 +74,6 @@ 1. Dump the image to disk (assuming OS X): 1. `$ diskutil list` to check correct device 1. `$ diskutil unmountDisk /dev/disk2` to prepare it for imaging - 1. `$ sudo dd bs=1m count=5120 if=/dev/disk2 of=chilipie-kiosk-TAG.img` (only dump the relevant first 5 GB) - 1. `$ zip chilipie-kiosk-TAG.zip chilipie-kiosk-TAG.img` + 1. `$ sudo dd bs=1m count=5120 if=/dev/disk2 of=chilipie-kiosk-$TAG.img` (only dump the relevant first 5 GB) + 1. `$ openssl sha1 chilipie-kiosk-$TAG.img` and include hash in release notes + 1. `$ zip chilipie-kiosk-$TAG.zip chilipie-kiosk-$TAG.img`