loadkeys fr-latin1- Try to ping something
timedatectl set-ntp truewipefs -a /dev/sda(Replace sda with whatever disk label you have)fdisk /dev/sda- Boot partition
- Primary --> Partition 1 --> +512M
- Switch bootable flag (a)
- Swap partition
- Primary --> Partition 2 --> +1G
- Partition type (t) 82 (Swap)
- Root partition
- Primary --> Partition 3 --> Rest of the disk
- Boot partition
mkfs.ext4 /dev/sda1mkswap /dev/sda2mkfs.ext4 /dev/sda3mount /dev/sda3 /mntmkdir /mnt/bootmount /dev/sda1 /mnt/bootswapon /dev/sda2pacstrap /mnt base base-devel linux linux-firmware vimgenfstab -U /mnt >> /mnt/etc/fstab(Generate with UUIDs, safer)arch-chroot /mnt /bin/bashpacman -S networkmanager grubsystemctl enable NetworkManagergrub-install /dev/sdagrub-mkconfig -o /boot/grub/grub.cfgpasswd- Type and confirm root password
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtimehwclock --systohcvim /etc/locale.gen- Search for locale (en_US), uncomment and save
locale-genvim /etc/locale.conf- Put LANG=en_US.UTF-8
vim /etc/vconsole.conf- Put KEYMAP=fr-latin1
vim /etc/hostname- Put hostname
vim /etc/hosts- 127.0.0.1 localhost
- ::1 localhost
- 127.0.0.1 hostname
exitumount -R /mntrebootlogin using root credspacman -S open-vm-tools(If VM)pacman -S neofetch(Very important)
plcnk/arch-install-cheat-sheet
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|