pre-install...
use mkfs.ext4, losetup, partx, and rsync to create root partition
(default sdcard image puts it on p5; we want p2)
also create p3 as a 512MB swap partition

pacman -R jfsutils reiserfsprogs xfsprogs
pacman -Syu
pacman -Sc

mkdir /etc/systemd/system/sys-subsystem-net-devices-eth0.device.wants
mkdir /etc/systemd/system/sys-subsystem-net-devices-wlan0.device.wants
ln -s /usr/lib/systemd/system/netctl-ifplugd@.service /etc/systemd/system/sys-subsystem-net-devices-eth0.device.wants/netctl-ifplugd@eth0.service
ln -s /usr/lib/systemd/system/netctl-auto@.service /etc/systemd/system/sys-subsystem-net-devices-wlan0.device.wants/netctl-auto@wlan0.service
rm /etc/systemd/system/multi-user.target.wants/dhcpcd@eth0.service

echo bcm2708_wdog >> /etc/modules-load.d/raspberrypi.conf

vi /etc/systemd/system.conf
set RuntimeWatchdogSec=30
set ShutdownWatchdogSec=5min

echo raspberrypi > /etc/hostname

ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime

vi /etc/netctl/eth0-dhcp
Description='DHCP on eth0'
Interface=eth0
Connection=ethernet
IP=dhcp

vi /etc/netctl/wlan0-tom-2.4
Description="Tom's home wireless network"
Interface=wlan0
Connection=wireless
Security=wpa
ESSID=SSID
IP=dhcp
Key=PASSWORD

# without this, dhcpcd seems to timeout for wireless connections... wtf?
pacman -S crda
...uncomment US line in /etc/conf.d/wireless-regdom

edit /boot/config.txt and uncomment relevant overclocking block
computer/arch_linux_on_raspberry_pi.txt · Last modified: 2013/10/05 03:56 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS