Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Set keymap to 'AZERTY'.
- loadkeys be-latin1
- # Update the system clock.
- timedatectl set-ntp true
- # View the available hard drives.
- lsblk
- # Create at least 2 partitions.
- # One EFI partition 500MB. (1024000 sectors).
- # One Linux File System partition.
- # Format the EFI partition as FAT.
- mkfs.fat /dev/sdX0
- # Format the Linux File System partition as EXT4.
- mkfs.ext4 /dev/sdX1
- # Mount the 'Linux File System' partition.
- mount /dev/sdX1 /mnt
- # Install Arch.
- pacstrap /mnt base base-devel
- # Generate an 'FSTab' file.
- genfstab -U /mnt >> /mnt/etc/fstab
- # Chroot into the File System.
- arch-chroot /mnt
- # Set the correct timezone.
- ln -sf /usr/share/zoneinfo/Europe/Brussels /etc/localtime
- # Set the 'date / time'.
- hwclock --systohc
- # Uncomment 'en_US.UTF8 UTF8' in '/etc/locale.gen'.
- # After than generate the locales again.
- locale-gen
- # Create the file '/etc/locale.conf' with the following contents:
- LANG=EN_US.UTF-8
- # Create the file '/etc/vconsole.conf' with the following contents.
- KEYMAP=be-latin1
- # Create the hostname file '/etc/hostname'.
- # Set the name of your computer, for example: 'PC-NAME'.
- # Update the file '/etc/hosts' and add the following contents.
- # 127.0.0.1 PC-NAME
- # Set the 'ROOT' password with
- passwd
- # Mount the 'EFI' partition.
- mkdir /mnt/boot
- mount /dev/sdX0 /mnt/boot
- # Download and install GRUB.
- pacman -Syu efibootmgr grub os-prober
- grub-install --target=x86_64-efi --efi-directory=/mnt/boot
- os-prober
- grub-mkconfig -o /boot/grub/grub.cfg
- # Install 'awesome' and the required dependencies.
- # GUI: xorg-server & xorg-init.
- # Window Manager: awesome
- # Fonts: ttf-dej
- # Terminal: kitty
- sudo pacman -Syu xorg-server xorg-init awesome ttf-dejavu kitty
- # Xorg configuration.
- echo "exec awesome" >> ~/.xinitrc
- # Enable the network service.
- # Use the command 'ip link' to find out your network interface name.
- # Once you have that, invoke the following command:
- # For example: 'systemctl enable dhcpcd@ens3.service'.
- systemctl enable dhcpcd@[INTERFACE].service
- # Install & enable the printing service.
- sudo pacman -Syu cups system-config-printer
- systemctl enable org.cups.cupsd.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement