Documentation for the installation of the Arch Linux on a HP Pavilion DV6 laptop.
- change keyboard layout during the installation -
loadkeys es
. - change the region of during the installation -
timedatectl set-timezone "Europe/Madrid"
. - Partition the disk with cfdisk.
- Before install update the mirrors - reflector
--verbose --latest 10 --country Spain --country France --protocol https --sort rate --save /etc/pacman.d/mirrorlist
. - After all pases has done, install grub.
- Create a hostname.
- Replace the locale in /etc/locale.conf with
LANG=en_US.UTF-8
and then reboot the system.
useradd -m <username>
passwd <username>
usermod -aG wheel,audio,video,optical,storage <username>
pacman -S sudo
- check user groups -
groups <username>
visudo
uncomment linewheel ALL=(ALL) ALL
- Install dhcpcd and enable it --
systemctl enable dhcpdcd
. - Install the drivers of WIFI (broadcom-wl).
- Activate -
sudo wpa_supplicant -B -i wlo1 /etc/wpa_supplicant/wpa_supplicant.conf
.
- Install the AMD Radeon driver -
pacman -S mesa
- Install xorg
For the screen brightness install light
pacman -S ttf-dejavu ttf-liberation ttf-droid ttf-ubuntu-font-family noto-fonts
For mounting NTFS partitions like usb or external disk - pacman -S ntfs-3g
.
For mounting -> sudo mount /dev/sdb1 /mnt/usbStick
check the first path withlsblk
and create the directory for the second.
(If put the first argument finishing with /
/ /dev/sdb1
it will return an error).
For unmount -> sudo umount /mnt/usbStick