Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
install basic raspbian
wget http://downloads.raspberrypi.org/raspbian_latest -O raspbian.zip
unzip raspbian.zip
diskutil list
sudo dd bs=4m if=2015-02-16-raspbian-wheezy.img of=/dev/rdiskXXXX
# boot pi
nmap -v -sP 192.168.50.1-255
sudo raspi-config
# expand filesystem
# change user password
# set default locale
# set timezone
# Advanced > hostname
# reboot
mkdir .ssh
wget http://etobi.de/publickey.txt -O - > .ssh/authorized_keys
vi /etc/network/interface
# iface eth0 inet static
# address 192.168.50.82
# netmask 255.255.255.0
# gateway 192.168.50.1
sudo apt-get update
sudo apt-get upgrade
# externe platte einbinden
sudo su
blkid
cfdisk
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
reboot
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.