This repository contains some shell scripts to install Arch Linux for the Raspberry Pi on a SD-Card and to backup a SD-Card.
To install a Linux distribution manually on a SD card type in:
bash ./sd_setup.sh
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
pacman-key --init pacman-key --populate archlinuxarm install -m640 /etc/netctl/examples/wireless-wpa domo-de-kosmopolitoj-wpa nano domo-de-kosmopolitoj-wpa netctl start domo-de-kosmopolitoj-wpa netctl enable domo-de-kosmopolitoj-wpa
sudo apt update sudo apt upgrade
To backup a SD card type in:
bash ./sd_backup.sh
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.