77 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| # loadkeys be-latin1
 | |
| 
 | |
| # iwctl
 | |
| [iwd]# station wlan0 connect <network>
 | |
| ^D
 | |
| 
 | |
| # 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 "Laptop-Tibo" >> /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
 | |
| # vim /etc/default/grub
 | |
| GRUB_TIMEOUT=0
 | |
| GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm"
 | |
| # grub-mkconfig -o /boot/grub/grub.cfg
 | |
| 
 | |
| # useradd -m -G wheel tdpeuter
 | |
| # passwd tdpeuter
 | |
| 
 | |
| # sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
 | |
| # sudo vim /etc/systemd/system/getty@tty1.service.d/autologin.conf
 | |
| [Service]
 | |
| ExecStart=
 | |
| ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin tdpeuter - $TERM
 | |
| 
 | |
| # pacman -S sudo
 | |
| # visudo
 | |
| %wheel ALL=(ALL:ALL) ALL [uncomment this]
 | |
| 
 | |
| # pacman -S networkmanager
 | |
| 
 | |
| ^D
 | |
| 
 | |
| # reboot
 |