visit
make sure the bios have the secure boot disable and boot on the iso
By default the layout is set to US
.
If you want to list all the layouts available do ls /usr/share/kbd/keymaps/**/*.map.gz
.
Use a layout with, for example, loadkeys de-latin1
(here German layout).
Wifi dosent work out of the box but ethernet yes
Check your network interface name via ip link
.
Check the status of your wifi card with rfkill
. If your card is blocked, unblocked them with rfkill unblock your-card-id
.
For the wifi connection you have to use the iwd
package. Hopefully arch include the package in the iso.
Open the prompt with iwctl
and :
list all your device with device list
launch a scan station [device name] scan
get the list of the available network station [device name] get-network
connect to the network with station [device name] connect [SSID]
check the connection with station [device name] show
and ping archlinux.org
iwd
automatically stores network passphrases in the/var/lib/iwd
directory and uses them to auto-connect in the future.
Just do timedatectl set-ntp true
. Check the service status with timedatectl status
.
warning : this step erase all the data in your disk if you confirm the operation !
List your drive with fdisk -l
and note the one you want to use.
Open the prompt on the right disk with fdisk /dev/[your disk]
.
remind to delete the old partition before the following command. Do that with command
d
and the id of the partition.
Here we create a gpt partition because I do a EFI install
g
n
(efi)
1
+550M
for 550mbn
(swap)
2
+4G
(handle the size of your swap like you want, minimum 2gb is ok)n
(primary/data)
3
Ok now we need to change the partition type with the t
command :
1
the 1
type (list all the partition type with L
if your are not sure2
the 19
type3
Just enter w
to write the partition table.
mkfs.fat -F32 /dev/[your partition 1]
mkswap /dev/[your partition 2]
swapon /dev/[your partition 2]
mkfs.ext4 /dev/[your partition 3]
Simply do mount /dev/[your partition 3] /mnt
We do it via pacstrap /mnt base linux linux-firmware
.
Here base
is the arch system, linux
the kernel.
Simply do genfstab -U /mnt >> /mnt/etc/fstab
.
Do arch-chroot /mnt
.
here the region and city is in the
/usr/share/zoneinfo
file
do ln -sf /usr/share/zoneinfo/_Region_/_City_ /etc/localtime
and generate /etc/adjtime
with hwclock --systohc
you need to install nano if you want to use it
Edit the locale.gen
file nano /etc/locale.gen
, and uncomment the good option for you.
For example en_US.UTF-8 UTF-8
for the generic qwerty.
And generate the local with locale-gen
.
Add the following line to /etc/locale.conf
: LANG=en_US.UTF-8
.
Just add the wanted hostname in /etc/hostname
.
For the host open /etc/hosts
and add the following line :
127.0.0.1 localhost
::1 localhost
127.0.1.1 [your-hostname].localdomain [your-hostname]
passwd
useradd -m username
passwd username
usermod -aG wheel,audio,video,optical,storage username
install with pacman -S sudo
and open visudo
with EDITOR=nano visudo
and uncomment the %whell ALL=(ALL) ALL
line.
Here we use nano but if you want to use vi remove EDITOR=nano, if you don’t want nano nor vi replace nano with your loved one
just do pacman -S grub efibootmgr dosfstools os-prober mtools
Do mkdir /boot/EFI
and mount /dev/[your efi partition] /boot/EFI
grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck
grub-mkconfig -o /boot/grub/grub.cfg
Here we install the networkmanager
package, because after the final reboot the iwd
package will no longer be available.
We install git
too.
pacman -S networkmanager git
Enable network manager with systemctl enable NetworkManager
.
exit
umount -R /mnt
And reboot
!
For that we use the previously installed nmcli
package.
Check if the radio is on with nmcli radio wifi
, if not open up with nmcli radio wifi on
.
Check the wifi point with nmcli dev wifi list
.
Check your device with nmcli dev status
.
And connect with sudo nmcli dev wifi connect [network-ssid] password [network-password]
.
If you want to look all the saved connection do nmcli con show
.
For nvidia do pacman -S nvidia nvidia-settings nvidia-utils
Actually we use xorg but if you want another display server check the wiki
Install with xorg-server
.
If needed install xorg-apps
check the wiki to know if you need it.
It usefull to install xmessage too pacman -S xorg-xmessage
.
Mandatory for the use of the AUR package
Just do a pacman -S --needed base-devel
pacman -S unzip
./install.sh
for installing all the fontpacman -S bluez-utils
makepkg -si
This method is good because is activate the numlock in the early bootup stage, usefull for the psw prompt in the full-disk encryption for example.
Install the mkinitcpio-numlock
AUR package.
Add numlock
in the HOOKS
line (before encrypt if present) in /etc/mkinitcpio.conf
.
Usually between modconf and block
pacman -S plasma kde-applications