Raspberry Pi 2 (Arch)

Notes

parted /dev/mmcblk0
unit mib
mklabel msdos
mkpart
p
fat32
2
130

mkpart
p
ext4
130
-1

mkfs.vfat /dev/mmcblk0p1
mkfs.ext4 /dev/mmcblk0p2

mount /dev/mmcblk0p2 /mnt
mkdir /mnt/boot
mount /dev/mmcblk0p1 /mnt/boot
cd /mnt
bsdtar -xpf ../ArchLinuxARM-rpi-2-latest.tar.gz

—BOOT RASPBERRY PI2—
ssh(root/root is the default for arch)

pacman -Syu
pacman -S vim-minimal
vim /etc/locale.gen

localectl set-locale LANG=en_GB.UTF-8
timedatectl set-timezone Asia/Tokyo
timedatectl set-local-rtc 0
timedatectl set-ntp true

vim /etc/systemd/timesyncd.conf
systemctl start systemd-timesyncd
systemctl enable systemd-timesyncd
systemctl start systemd-resolved
systemctl enable systemd-resolved
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

vim /etc/systemd/network/eth0.network

pacman -Rsn nano reiserfsprogs s-nail openresolv net-tools netctl

–GUI–
pacman -S xf86-video-fbdev xorg-server xorg-xinit xfce4-panel xfce4-session xfwm4 rxvt-unicode

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: