Tools for Raspberrz pi
Go to file
2020-04-29 23:33:37 +02:00
.gitignore Solved multiple bugs 2020-04-29 19:06:39 +02:00
README.md Updated permissions 2020-04-29 23:33:37 +02:00
sd_backup.sh SD-Karten-Backuptool hinzugefuegt 2017-03-12 15:42:41 +01:00
sd_setup.sh Updated permissions 2020-04-29 23:33:37 +02:00

Raspberry Pi sdc tools

This repository contains some shell scripts to install Arch Linux for the Raspberry Pi on a SD-Card and to backup a SD-Card.

Setup

SD-Card

Guided

To install a Linux distribution manually on a SD card type in:

  bash ./sd_setup.sh

Piped

To pase the configuration to the program use this syntax:

(
  echo "$USER"          #The username
  echo "mmcblk1"        #The device
  echo "3"              #The raspberry pi number
  echo "arch"           #The operation system
  echo "user_password"  #The user password
  echo "root_password"  #The root password
  echo "y"              #Copy wifi configurations to target system
)| sudo bash ./sd_setup.sh

System

Arch

  pacman-key --init
  pacman-key --populate archlinuxarm

Ubuntu\Debian

  sudo apt update
  sudo apt upgrade

Backup

To backup a SD card type in:

  bash ./sd_backup.sh

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.