Arch Linux Pure systemd installation with UEFI enabled

1. parted -a optimal /dev/sda
mklabel gpt
unit mib
mkpart esp fat32 2 262
mkpart primary btrfs 262 -1
quit
mkfs.fat -F32 /dev/sda1
mkfs.btrfs /dev/sda2
mount /dev/sda2 /mnt
mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot
vim /etc/pacman.d/mirrorlist
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt >> /mnt/etc/fstab
vi /mnt/etc/fstab a
dd below to btrfs partition (for ssd)
noatime,discard,ssd,autodefrag,compress=lzo,space_cache
arch-chroot /mnt /bin/bash
passwd
pacman -S dosfstools efibootmgr gummiboot
gummiboot –path=/boot install
vi /boot/loader/entries/arch.conf
title Arch Linux linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=/dev/sda2 rw
vi /boot/loader/loader.conf
default arch timeout 1
umount /mnt/boot umount /mnt
reboot

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

vi /etc/systemd/timesyncd.conf
[Time] NTP=ntp.nict.jp

systemctl start systemd-timesyncd
systemctl enable systemd-resolved
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
hostnamectl set-hostname myhostname
localectl set-keymap jp106

2. GUI
pacman -S xf86-video-intel xorg-server xorg-xinit thunar xfce4-panel xfce4-session xfce4-settings xfdesktop xfwm4 rxvt-unicode

3.networking
cat /etc/systemd/network/wlp3s0.network
[Match]
Name=wlp3s0

[Network]
DHCP=v4

[DHCP]
RouteMetric=20

cat /etc/systemd/network/enp0s25.network
[Match]
Name=enp0s25

[Network]
[Match]
Name=meth0

[Network]
DHCP=v4

[DHCP]
RouteMetric=10

cat /etc/systemd/network/meth0.netdev
[NetDev]
Name=meth0
Kind=macvlan
MACAddress=f0:de:f1:66:a8:14

[MACVLAN]
Mode=bridge

cat /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf
#Home
network={
ssid=”ssid-name”
key_mgmt=WPA-PSK
psk=”password”
}

systemctl enable wpa_supplicant@wlp3s0
systemctl start wpa_supplicant@wlp3s0
systemctl start systemd-networkd
systemctl enable systemd-networkd

cat .xbindkeysrc

“pamixer –toggle-mute”
XF86AudioMute
“pamixer –decrease 5 –allow-boost”
XF86AudioLowerVolume
“pamixer –increase 5 –allow-boost”
XF86AudioRaiseVolume
“xfce4-screenshooter -f -s /home/users/pictures/screenshot/”
Print
“xfce4-screenshooter -w -s /home/users/pictures/screenshot/”
Alt + Alt_L + Print

cat .Xresources
URxvt*saveLines: 12000
URxvt*.depth: 32
URxvt*foreground: White
URxvt*background: [90]Black
URxvt*font: xft:fixed:pixelsize=14:antialias=true:hinting=true
URxvt*boldFont: xft:fixed:bold:pixelsize=14:antialias=true:hinting=true
URxvt*scrollBar: true
URxvt*scrollBar_right: true
URxvt*scrollstyle: rxvt
URxvt*color4: #2554C7
URxvt*color12: #2554C7
URxvt*perl-ext-common: default,clipboard

yaourt urxvt-clipboard

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: