sisyphus/temp

58 lines
1.1 KiB
Text
Raw Normal View History

2022-04-16 02:39:17 +02:00
# loadkeys be-latin1
# iwctl
[iwd]# station wlan0 connect <network>
# ls /sys/firmware/efi/efivars
# timedatectl set-ntp true
# fdisk -l
# fdisk /dev/sda
: g
: n, 1, _, +1G
: t, 1, 1
: n, 2, _, +4G
: t, 2, 19
: n, 3, _, _
: w
# pvcreate /dev/sda3
# vgcreate MyGroup /dev/sda3
# lvcreate -l +100%FREE MyGroup -n MyVolume
# mkfs.ext4 /dev/MyGroup/MyVolume
# mkswap /dev/sda2
# mkfs.fat -F 32 /dev/sda1
# mount /dev/MyGroup/MyVolume /mnt
# mkdir /mnt/boot
# mount /dev/sda1 /mnt/boot
# swapon /dev/sda2
# pacman -Sy archlinux-keyring
# pacstrap /mnt base linux linux-firmware
# genfstab -U /mnt >> /mnt/etc/fstab
# arch-chroot /mnt
# ln -sf /usr/share/zoneinfo/Europe/Brussels /etc/localtime
# hwclock --systohc
# locale-gen
# echo "LANG=en_GB.UTF-8" >> /etc/locale.conf
# echo "KEYMAP=be-latin1" >> /etc/vconsole.conf
# echo "Larchie" >> /etc/hostname
# pacman -S vim lvm2
# vim /etc/mkinitcpio.conf
HOOKS=(base udev autodetect modconf block lvm2 filesystems keyboard fsck)
# mkinitcpio -P
# passwd
# pacman -S grub efibootmgr
# grub-install --target=x86_64-efi --efi-directory=boot --bootloader-id=GRUB
# grub-mkconfig -o /boot/grub/grub.cfg
# reboot