Just some FYI, to get started:
- I'm using a 16 GB Sandisk SD card.
- I have a model B Pi, 512 MB RAM (not really relevant, thought I'd mention it).
- Monitor and keyboard connected to the Pi itself, for now.
- Network working, internet access.
#!/bin/bash | |
# rluks.sh: Mount your encrypted LUKS drives by uuid over SSH | |
# Copyright (C) 2016+ James Shubin, AGPLv3+ | |
# Written by James Shubin <james@shubin.ca> | |
# You probably want to modify the following globals to match your needs... | |
SERVER='server.example.com' # expected server for running script | |
HOSTNAME='myserver' # expected hostname for running locally | |
MEDIA='/media/' # mount/media directory, eg: /media/ | |
declare -A MAP # create an associative array |
# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/ | |
wget 'ftp://ftp.nluug.nl/pub/os/Linux/distr/archlinux/iso/latest/archlinux-bootstrap-*-x86_64.tar.gz' | |
# Make sure you'll have enough entropy for pacman-key later. | |
apt-get install haveged | |
# Install the arch bootstrap image in a tmpfs. | |
mount -t tmpfs none /mnt | |
cd /mnt | |
tar xvf ~/archlinux-bootstrap-*-x86_64.tar.gz --strip-components=1 |
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |