# File system
# fs creation
mkfs.fat -F32 /dev/sdb5
/dev/sdb5 /efi vfat rw,relatime 0 2
# install grub executable
pacman -S grub
# install grub directory
# your grub name will be "GRUB_ARCH"
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB_ARCH
# generate grub config (update-grub equivalent)
grub-mkconfig -o /boot/grub/grub.cfg
# /etc/resolv.conf (Generated by resolvconf)
Prepend by your own DNS.
sudo vim /etc/resolvconf.conf
And then restart the
NetworkManager which is the default network manager of gnomeopen in new window
sudo systemctl restart NetworkManager.service
Ensure your server is first on the list
# Generated by resolvconf domain home nameserver 192.168.1.100 nameserver 192.168.1.1
# Package manager
Full system upgrade
# Query installed/local packages by regex
sudo pacman -Qsq pulseaudio
# Pacman apt equivalent
# My packages
sudo pacman -S pulseaudio tree xf86-video-intel mesa-dri opencl-nvidia sudo polkit lxsession kernel headers git gdm terminator keepass firefox
Remove no longer installed packages
Remove files from cache
Remove all no longer needed packages.
pacman -Qdtq | pacman -Rs -
Same but more features.
Full system upgrade + remove useless packages (old dependencies)
yaourt -Syu yaourt -Qdtq | yaourt -Rs -
# Installing i3
yaourt -Sy i3 yaourt -Sy i3-wm yaourt -Sy dmenu
cat ~/.xinitrc setxkbmap fr exec i3
And now, you can logout from your current windows manager like gnome, and select
# Disabling your current
For me it was
GDM GNOME Display Manager (GDM)
I ensure it with
file /etc/systemd/system/display-manager.service /etc/systemd/system/display-manager.service: symbolic link to /usr/lib/systemd/system/gdm.service
systemctl disable --now gdm
# With gdm (gnome desktop manager)
You have just have to use the service NetworkManager, which it way much more simple than other wireless connection manager (like wicd, netctl). NetworkManager will allow you to graphically setup once your wifi settings and autodiscover SSID.
systemctl start NetworkManager # and enable it at boot, by default no wifi connection manager is enable on archlinux systemctl enable NetworkManager
Then, fill in your infos in your graphical wifi settings
# Backup full system
Before backup, remove all useless space like pacman cache or docker overlays...
pacman -Scc docker system prune -a
sudo tar \ -cvpf /tmp_root_fs/backups/fullbackup.tar \ --directory=/ \ --exclude=proc \ --exclude=sys \ --exclude=dev/pts \ --exclude=tmp_root_fs \ .
polkit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes.
Polkit is used for controlling
system-wide privileges. It provides an organized way for non-privileged processes to communicate with privileged ones.
In contrast to systems such as sudo, it does not grant root permission to an entire process, but rather allows a finer level of control of centralized system policy.
Polkit works by delimiting distinct actions, e.g. running GParted, and delimiting users by group or by name, e.g. members of the wheel group. It then defines how – if at all – those users are allowed those actions, e.g. by identifying as members of the group by typing in their passwords.