Skip to content

Instantly share code, notes, and snippets.

@etobi etobi/install image
Last active Aug 29, 2015

What would you like to do?
install basic raspbian
wget -O
diskutil list
sudo dd bs=4m if=2015-02-16-raspbian-wheezy.img of=/dev/rdiskXXXX
# boot pi
nmap -v -sP
sudo raspi-config
# expand filesystem
# change user password
# set default locale
# set timezone
# Advanced > hostname
# reboot
mkdir .ssh
wget -O - > .ssh/authorized_keys
vi /etc/network/interface
# iface eth0 inet static
# address
# netmask
# gateway
sudo apt-get update
sudo apt-get upgrade
# externe platte einbinden
sudo su
mkfs.ext4 /dev/sba1
echo "UUID=7a938dc5-f53d-4451-8756-36547490128e /data ext4 rw 0 0" >> /etc/fstab
mkdir /data/home
chmod 777 /data/home
mv /home/pi /data/home/pi
chown -R pi:pi /data/home/pi
ln -s /data/home/pi /home/pi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.