sisyphus/temp

71 lines
1.3 KiB
Text
Raw Normal View History

2022-04-16 02:39:17 +02:00
# loadkeys be-latin1
# iwctl
[iwd]# station wlan0 connect <network>
2022-04-16 15:47:59 +02:00
^D
2022-04-16 02:39:17 +02:00
# timedatectl set-ntp true
# fdisk -l
# fdisk /dev/sda
: g
: n, 1, _, +1G
: t, 1, 1
: n, 2, _, +4G
2022-04-16 15:47:59 +02:00
: t, 2, 19
: n, 3, _, _
2022-04-16 02:39:17 +02:00
: 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
2022-04-16 15:47:59 +02:00
# echo "Laptop-Tibo" >> /etc/hostname
2022-04-16 02:39:17 +02:00
# 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
2022-04-16 03:34:17 +02:00
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
# vim /etc/default/grub
2022-04-16 15:47:59 +02:00
GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm"
2022-04-16 02:39:17 +02:00
# grub-mkconfig -o /boot/grub/grub.cfg
2022-04-16 15:47:59 +02:00
# useradd -m -G wheel tdpeuter
# passwd tdpeuter
# pacman -S sudo
# visudo
%wheel ALL=(ALL:ALL) ALL [uncomment this]
2022-04-16 03:57:03 +02:00
2022-04-16 15:47:59 +02:00
# pacman -S networkmanager
2022-04-16 03:57:03 +02:00
2022-04-16 15:47:59 +02:00
^D
# reboot