From 599e56c82029284b3440c32e7eacb184cee2563d Mon Sep 17 00:00:00 2001 From: Sacha Saint-Leger Date: Sat, 28 Nov 2020 21:30:38 +0100 Subject: [PATCH] Update pi guide: ssd step (#2102) * update pi guide: ssd step * fix link error --- docs/the_nimbus_book/src/binaries.md | 2 +- docs/the_nimbus_book/src/pi-guide.md | 22 ++++++++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/the_nimbus_book/src/binaries.md b/docs/the_nimbus_book/src/binaries.md index 8d741935d..f8932faea 100644 --- a/docs/the_nimbus_book/src/binaries.md +++ b/docs/the_nimbus_book/src/binaries.md @@ -12,5 +12,5 @@ Click on the first option, the `tar.gz` file, and follow the instructions [here] We've designed this binary to be reproducible: in practice, this means that anyone who wishes to can verify that no vulnerabilities or backdoors have been introduced during the compilation process. For more on the philosophy and importance of reproducible builds [see here](https://reproducible-builds.org/). -For instructions on how to reproduce the build, [see here](https://reproducible-builds.org/). +For instructions on how to reproduce the build, [see here](https://github.com/status-im/nimbus-eth2/blob/master/docker/dist/README.md#reproducing-the-build). diff --git a/docs/the_nimbus_book/src/pi-guide.md b/docs/the_nimbus_book/src/pi-guide.md index 2cf5c9bb5..a63c10c88 100644 --- a/docs/the_nimbus_book/src/pi-guide.md +++ b/docs/the_nimbus_book/src/pi-guide.md @@ -3,7 +3,9 @@

I expect the new Raspberry Pi 4 (4GB RAM option, external SSD) to handle an Eth2 validator node without breaking a sweat. That's $100 of hardware running at 10 Watts to support a 32 ETH node (currently ~$10K stake).

— Justin Ðrake (@drakefjustin) June 24, 2019
## Introduction -This page will take you through how to use your laptop to program your Raspberry Pi, get Nimbus running, and connect to the **Pyrmont testnet** (if this is not something you plan on doing, feel free to [skip ahead](./keep-an-eye.md)). +This page will take you through how to use your laptop to program your Raspberry Pi, get Nimbus running, and connect to the **Pyrmont testnet**. + + One of the most important aspects of the Raspberry Pi experience is trying to make it as easy as possible to get started. As such, we try our best to explain things from first-principles. @@ -217,7 +219,23 @@ ssh pi@195.177.101.93 Follow [this guide](https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb) to copy the contents of your SD card over to your SSD, and boot your Pi from your SSD. -> **Tip:** the USB 3 port is the blue port. +> **Tips:** +> +> Make sure you connect your SSD the Pi's USB 3 port (the blue port). +> +> If your Pi is headless (no monitor attached) you can use the [`rpi-clone`](https://github.com/billw2/rpi-clone) repository to copy the contents of the SD over to the SSD; in a nutshell, replace steps 14 and 15 of the above guide with the following commands (which you should run from the Pi's `home` directory): +> ```bash +> git clone https://github.com/billw2/rpi-clone.git +> cd rpi-clone +> sudo cp rpi-clone rpi-clone-setup /usr/local/sbin +> sudo rpi-clone-setup -t testhostname +> rpi-clone sda +> ``` +> +>For more on `raspi-config`, see [here](https://www.raspberrypi.org/documentation/configuration/raspi-config.md). +> +> To shutdown your Pi safely, run `sudo shutdown -h now` + Once you're done, `ssh` back into your Pi.