RPi

NOOB

Download the Image from https://www.raspberrypi.org/downloads/

Partitioning the SD-Card

sh# cfdisk /dev/mmcblk0
...

Create a partition of the using all the space of the sd card.

creating a partition using cfdisk

choosing W95 FAT32 (LBA) as the partition type

Filesystem

sh# mkfs.vfat /dev/mmcblk0p1

Mount the partition and unzip the noobs zipfile

sh# mount /dev/mmcblk0p1 /mnt
sh# cd /mnt
sh# unzip /home/user/Downloads/NOOBS_lite_v2_4.zip
Archive:  /home/user/Downloads/NOOBS_lite_v2_4.zip
  inflating: recovery.elf            
  inflating: recovery.rfs            
  inflating: bootcode.bin            
...
sh# cd
sh# sync && umount /mnt

Now you can put the sd card into the rpi and boot into NOOBS.

Raspbian Configuration

Keyboard Layout

Edit the file /etc/default/keyboard

sh# vi /etc/default/keyboard
...
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT="intl"
XKBOPTIONS=""

BACKSPACE="guess"

Locale Support

sh# vi /etc/locale.gen
...
en_US.UTF-8 UTF-8
...

sh# locale-gen
...

Default Locale

sh# vi /etc/default/locale
LANG="en_US.UTF-8"

Logout and login again

Available Locales

sh# locale -a
C
C.UTF-8
en_GB.utf8
en_US.utf8
POSIX

Locale Configuration

sh# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Timezone

sh# echo "Canada/Eastern" > /etc/timezone
sh# ln -svf /usr/share/zoneinfo/Canada/Eastern /etc/localtime

Network

systemd-networkd, systemd-resolved

sh# cd /etc/systemd/network


sh# ln -svf /run/systemd/resolve/resolv.con /etc/resolv.conf