From 6fcdd0909f0c731706a4ff6094711950e0fd51c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=88=D0=BE=D0=B2=D0=B0=D0=BD=20=D0=82=D0=BE=D0=BA=D0=B8?= =?UTF-8?q?=D1=9B-=D0=A8=D1=83=D0=BC=D0=B0=D1=80=D0=B0=D1=86?= Date: Fri, 30 Jul 2021 21:16:11 +0200 Subject: [PATCH] Update --- README.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index f267762..a851023 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Change localkeys to my keyboard layout In my case I have a Serbian keyboard layout. ```bash -loadkeys +loadkeys sr-latin ``` You can find your keymap file by using localectl: @@ -40,8 +40,6 @@ Let us say you have a simple setup: - /boot/efi partition (vfat) - / partition (ext4) - /home partition (ext4) -- /suckless partition (ext4) -- /storage partition (ntfs) NOTE: `lsblk` is a very nice tool to doublecheck your partition(s) structure. @@ -50,13 +48,7 @@ First we format to the file systems we want: ```bash mkfs.fat -F32 /dev/sdaxY (/boot/efi) -mkfs.ext4 /dev/sdaxY (/, /home, /suckless) -``` - -Create /mnt structure, one-liner: - -```bash -mkdir -p /mnt/{boot,home,suckless,storage} +mkfs.ext4 /dev/sdaxY (/, /home) ``` And then mount the file systems to /mnt: @@ -64,7 +56,15 @@ And then mount the file systems to /mnt: ```bash # Mount / (root) mount /dev/sdaxY /mnt -# Mount /boot, /home, /suckless, /storage +``` +Create /mnt structure, one-liner: + +```bash +mkdir -p /mnt/{boot,home,suckless,storage} +``` + +```bash +# Mount /boot, /home mount /dev/sdaxY /mnt/ ``` @@ -152,7 +152,7 @@ echo myhostname > /etc/hostname Edit /etc/vconsole.conf: ```bash -KEYMAP= +KEYMAP=sr-latin ``` Add matching entries to hosts: @@ -223,7 +223,7 @@ Login as Root to Arch Linux and permantly set the keymap (keyboard) Now we want to make our keyboard layout permanent: ```bash -localectl set-keymap --no-convert +localectl set-keymap --no-convert sr-latin ``` @@ -257,6 +257,5 @@ Login as your username and test sudo with pacman ------------------------------------------------ ```bash -sudo pacman -Syy -sudo pacman -Syu +sudo pacman -Syyu xorg sx xmonad xmonad-contrib xmobar alacritty ... ```