Automatic image creation and deployment

Setup SD-card

Since the Rapsberry Pi boards don't include any internal storage, the SD-card is a crucial component in the system. The usual work-flow is downloading the raspbian or raspbian lite image and directly flashing it on the SD-card. On the first startup, the Raspberry Pi will expand the rootfs partition to the size of the SD-card.

In this article a different approach was chosen. The SD-card will contain two independent rootfs partitions to be able to remotely update the whole system including the root file-system.

Raspberry Pi

Serial

http://lavalink.com/wp-content/uploads/2012/04/raspberry-pi-serial_sm.jpg

 screen /dev/ttyUSB0 115200

um Init bootmeldungen zu sehen console=tty1 aus /boot/cmdline.txt entfernen

unnötige Pakete entfernen

aptitude remove/purge lightdm

Auf jessie updaten

/etc/apt/source.list

#deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi

aptitude update
aptitude upgrade
aptitude dist-upgrade