💾 Archived View for abildgaard.com › arch_install.gmi captured on 2021-12-06 at 14:29:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

                   __    _ __    __                           __
            ____ _/ /_  (_) /___/ /___ _____ _____ __________/ /___
           / __ `/ __ \/ / / __  / __ `/ __ `/ __ `/ ___/ __  / __ \
          / /_/ / /_/ / / / /_/ / /_/ / /_/ / /_/ / /  / /_/ / /_/ /
          \__,_/_.___/_/_/\__,_/\__, /\__,_/\__,_/_/   \__,_/\____/
                               /____/      Est. 17th of april 2021

iwctl


iwctl
device list

Here i assume your

station wlan0 scan
station wlan0 get-networks
station wlan0 connect <your network>
exit

keymaps

ls /usr/share/kbd/keymaps/**/*.map.gz

loadkeys dk

Time and Date

timedatectl set-ntp true

test with

timedatectl status

Partitioning

list all disks

fdisk -l

fdisk /dev/sda

new partition (n)

(m for help)

g (Drivelabel for GTP)
n 1 ( new partition ) 
+550M (EFI partition)
n 2
+2G (SWAP)
n 3
ENTER) (/ the rest of space)

Type (t)

Select the partition

EFI (#1)
Linux SWAP (#19)
Linux filesystem

Wrapping up (w)

Write filesystem table to disk

w

Formatting the partitons

mkfs.fat -F32 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2
mkfs.ext4 /dev/sda3

Mounting

mount /dev/sda3 /mnt

Strap

pacstrap /mnt base linux linux-firmware

filesystem table

genfstab -U /mnt >> /mnt/etc/fstab

Change root (into our new system)

arch-chroot /mnt

set timezone (by linking)

ln -sf /usr/share/zoneinfo/<yourregion>/<yourcity> /etc/localtime

hwclock --systohc

Locale

vi /etc/locale.gen

Uncomment your locale

da_DK.UTF

locale-gen

Your hostname

nano /etc/hostname

type a hostname, write and exit..

Hosts

nano /etc/hosts

127.0.0.1   localhost
::1         localhost
127.0.1.1   worp.localdomain    worp

Create a user

passwd <yourRootPassword>

useradd -m <username>
passwd <username>

usermod -aG wheel,audio,video,storage <username>

Install sudo

pacman -S sudo

visudo

uncomment wheel group

GRUB

pacman -S grub efibootmgr dosfstools os-prober mtools

mkdir /boot/EFI

mount /dev/sda1 /boot/EFI

grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

grub-mkconfig -o /boot/grub/grub.cfg

pacman -S networkmanager vim git

systemctl enable NetworkManager

Leaving Chroot and umounting ..

exit
umount -l /mnt

You can now reboot your system