Here is how you can recreate my Arch system. Some properties are:
pacman-key -v *.iso.sig
.lsblk
. I assume it is /dev/sdb.cat *.iso > /dev/sdb
.loadkeys de-latin1
.ls /sys/firmware/efi/efivars
.iwctl
to get a wireless internet connection. Inside iwctl, do:help device list station DEVICE scan station DEVICE get-networks station DEVICE connect SSID ^D
ping archlinux.org
.timedatectl status
.fdisk /dev/sdb
to partition the disk like so:a. Create a new GPT.
b. Create a first partition of size 512M.
c. Let the first partition be of type C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system).
d. Create a second partition.
e. Let the second partition be of type 4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709 (Linux x86-64 root).
f. Let the second partition have the label “Root”.
g. Print and verify the partition table.
h. Write.
cryptsetup luksFormat /dev/sdb2 cryptsetup open /dev/sdb2 root mkfs.ext4 /dev/mapper/root mount /dev/mapper/root /mnt
mkfs.fat -F32 /dev/sdb1 mount --mkdir /dev/sdb1 /mnt/boot
dd if=/dev/zero of=/mnt/swapfile bs=1M count=2048 status=progress chmod 0600 /mnt/swapfile mkswap -U clear /mnt/swapfile swapon /mnt/swapfile
pacstrap -K /mnt base linux linux-firmware nano man-db man-pages texinfo
.genfstab -U /mnt >> /mnt/etc/fstab
.## /dev/mapper/root UUID=1234abcd-1234-abcd-1234-abcd1234abcd / ext4 rw,relatime 0 1 # /dev/sda1 UUID=1234-ABCD /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2 /swapfile none swap defaults 0 0
arch-chroot /mnt
.ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
.hwclock --systohc
.en_US.UTF-8 UTF-8
and de_DE.UTF-8 UTF-8
in /etc/locale.gen.locale-gen
.LANG=de_DE.UTF-8
to /etc/locale.conf.KEYMAP=de-latin1
to /etc/vconsole.conf.127.0.0.1 localhost ::1 localhost 127.0.1.1 HOSTNAME
pacman -S networkmanager
.systemctl enable NetworkManager.service
.# Default: # HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck) # With udev: # HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block encrypt filesystems fsck) # With systemd: HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck)
mkinitcpio -P
.passwd
to set a root password.bootctl install
.pacman -S intel-ucode
for an Intel CPU or pacman -S amd-ucode
for an AMD CPU.default arch.conf timeout 0 console-mode max editor no
lsblk -f
.title Arch Linux linux /vmlinuz-linux initrd /intel-ucode.img initrd /initramfs-linux.img options rd.luks.name=1234abcd1234-abcd-1234-abcd-1234abcd1234=root root=/dev/mapper/root rw quiet
a. Replace initrd /intel-ucode.img
with intrd /amd-ucode.img
for an AMD CPU.
b. If you have installed linux-lts
instead of linux
, replace linux /vmlinuz-linux
with linux /vmlinuz-linux-lts
and initrd /initramfs-linux.img
with initrd /initramfs-linux-lts.img
.
systemctl enable systemd-boot-update.service
.exit
.reboot
.useradd -m -G wheel USERNAME
.passwd USERNAME
to set the password of the user.chfn USERNAME
to set the full name of the user.pacman -S sudo
.EDITOR=nano visudo
to uncomment %wheel ALL=(ALL:ALL) ALL
in /etc/sudoers.exit
.pacman -S pacman-contrib
.systemctl enable paccache.timer
.timedatectl set-ntp true
.timedatectl status
.pacman -S firewalld
.systemctl enable firewalld.service
.pacman -S pkgstats
.systemctl status pkgstats.timer
.pacman -S xdg-user-dirs
.systemctl status xdg-user-dirs-update.service
.=> Xorg
pacman -S xorg-server
.lspci -v | grep -A1 -e VGA -e 3D
.pacman -S xf86-video-intel
for an Intel GPU or pacman -S xf86-video-amdgpu
for an AMD GPU.pacman -S mesa
.EOF
text/gemini; lang=en
This content has been proxied by September (3851b).