loadkeys fr
cgdisk /dev/nvme0n1
Part. # | Mount Point | Size | Partition Type |
---|---|---|---|
1 | / | 20 Go min | Linux Filesystem |
2 | /boot/efi | 128 Mo | EFI System Partition |
3 | RAM Size | Linux Swap | |
4 | /home | Depend on Disk Size | Linux Filesystem |
mkfs.ext4 /dev/nvme0n1p1
mkfs.fat -F32 /dev/nvme0n1p2
mkfs.ext4 /dev/nvme0n1p4
mkswap /dev/nvme0n1p3
swapon /dev/nvme0n1p3
mount /dev/nvme0n1p1 /mnt
mkdir /mnt/{boot,boot/efi,home}
mount /dev/nvme0n1p2 /mnt/boot/efi
mount /dev/nvme0n1p3 /mnt/home
pacstrap /mnt base base-devel pacman-contrib zip unzip p7zip vim neovim mc alsa-utils syslog-ng mtools dosfstools lsb-release ntfs-3g exfat-utils zsh bash-completion linux-lts
Add on this line :
tlp
on laptopamd-ucode
if your cpu is AMD brandintel-ucode
if your cpu is INTEL brand
genfstab -U -p /mnt >> /mnt/etc/fstab
pacstrap /mnt grub os-prober efibootmgr
arch-chroot /mnt
Add these lines into /etc/vconsole.conf
KEYMAP=fr-latin9
FONT=eurlatgr
Change locale into /etc/locale.conf
LANG=C.UTF-8
LC_COLLATE=C
Generate locale
locale-gen
Time France
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
hwclock --systohc --utc
echo "myhostname" > /etc/hostname
mkinitcpio -p linux-lts
mount | grep efivars &> /dev/null || mount -t efivarfs efivarfs /sys/firmware/efi/efivars
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
mkdir /boot/efi/EFI/boot
cp /boot/efi/EFI/arch_grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
grub-mkconfig -o /boot/grub/grub.cfg
passwd root
pacman -Syy networkmanager
systemctl enable NetworkManager
Uncomment this in /etc/pacman.conf
#[multilib]
#Include = /etc/pacman.d/mirrorlist
exit
umount -R /mnt
reboot
pacman -Syy ntp cronie gst-plugins-{base,good,bad,ugly} gst-libav xorg-{server,xinit,apps} xf86-input-libinput xdg-user-dirs
Brand | OpenSource pilote |
---|---|
AMD | xf86-video-amdgpu |
Intel | xf86-video-intel |
Nvidia | xf86-video-nouveau |
pacman -S yourdrivers
pacman -S ttf-{bitstream-vera,liberation,freefont,dejavu} freetype2
pacman -S cups hplip python-pyqt5 foomatic-{db,db-ppds,db-gutenprint-ppds,db-nonfree,db-nonfree-ppds} gutenprint
pacman -S chromium
useradd -m -g wheel -c 'User name full' -s /bin/bash user-name
passwd user-name
Uncomment the following line into /etc/sudoers
%wheel ALL=(ALL:ALL) ALL