From a587b4730228584775ce50823775c111d1415ab2 Mon Sep 17 00:00:00 2001 From: proledatarian Date: Wed, 19 Jan 2022 19:41:15 +0000 Subject: [PATCH] Update README.md --- README.md | 57 +++++++++++++++++++------------------------------------ 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index e717d68..cf9d671 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,9 @@ $ lvcreate -l 100%FREE -n home main **Create the filesystems and mount your volumes.** $ mkfs.fat -F 32 -n UEFI /dev/sda1 -**-F specifies the type of file allocation tables used (12, 16 or 32 bit).** -**-n sets the volume name (label) of the filesystem to "UEFI".** +_-F specifies the type of file allocation tables used (12, 16 or 32 bit). +-n sets the volume name (label) of the filesystem to "UEFI"._ + **Create ext4 filesystem on root and home volumes.** $ mkfs.ext4 -L root /dev/mapper/main-root @@ -68,7 +69,7 @@ $ mount /dev/sda1 /mnt/boot $ mount /dev/mapper/main-home /mnt/home **Optionally update mirrorlist using reflector.** -**In this case use the latest 10 mirrors from Germany, that have been synchronized within the last 24 hours and sort the by download-rate and write them to the pacman mirrorlist.** +_In this case use the latest 10 mirrors from Germany, that have been synchronized within the last 24 hours and sort the by download-rate and write them to the pacman mirrorlist._ $ reflector --verbose --latest 10 --country Germany --age 24 --protocol https --sort rate --save /etc/pacman.d/mirrorlist **Install base system and basic packages (network, editor, sudo).** @@ -80,8 +81,8 @@ $ pacstrap /mnt base base-devel linux linux-firmware networkmanager nano sudo lv **Generate fstab.** $ genfstab -Up /mnt > /mnt/etc/fstab -**-U = Use UUID for source identifiers (shortcut for -t LABEL).** -**-p Exclude pseudofs mounts (default behavior).** +_-U = Use UUID for source identifiers (shortcut for -t LABEL). +-p Exclude pseudofs mounts (default behavior)._ **Chroot into your installation.** $ arch-chroot /mnt @@ -91,7 +92,7 @@ $ echo mycomputer > /etc/hostname **Generate locale.gen for your preferred language (and preferribly english).** $ nano /etc/locale.gen -**Uncomment your language, e.g. de_DE.UTF-8 UTF-8 (and en_US.UTF-8).** +_Uncomment your language, e.g. de_DE.UTF-8 UTF-8 (and en_US.UTF-8)._ **Generate the locale.** $ locale-gen @@ -99,8 +100,10 @@ $ locale-gen **Add necessary HOOKS and MODULES.** $ nano /etc/mkinitcpio.conf -**MODULES=(ext4)** -**HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck shutdown)** +``` +MODULES=(ext4) +HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck shutdown) +``` **Create mkinitcpio.** $ mkinitcpio -p linux-zen @@ -149,22 +152,9 @@ timeout 1 default arch.conf ``` -**Set your keyboard to your language.** +**Set your keyboard to your language.** $ localectl --no-convert set-keymap de-latin1-nodeadkeys -$ localectl --no-convert set-x11-keymap de pc105 deadgraveacute - -**Exit and reboot.** -$ exit -$ umount /mnt/boot -$ umount /mnt/home -$ reboot - -**Enter encryption-password and login as root.** -**You have to set the keyboard one last time.** -$ loadkeys de - -**Set the keyboard to your preferred language permantently.** -$ echo KEYMAP=de-latin1-nodeadkeys > /etc/vconsole.conf +$ localectl --no-convert set-x11-keymap de pc105 deadgraveacute **Create a user with a /home-directory.** $ useradd -m $myusername @@ -179,22 +169,13 @@ $ gpasswd -a $myusername wheel $ nano /etc/sudoers **Uncomment „%wheel ALL=(ALL) ALL“.** -** Don't forget to also delete the space between the # and %wheel.** - -**Logout as root.** +**Don't forget to also delete the space between the # and %wheel.** + +**Exit and reboot.** $ exit - -**Login as you user.** - -**Install SDDM and a minimal KDE Plasma. Select the default when unsure.** -$ pacman -S sddm sddm-kcm plasma-desktop - -**Install KDE terminal for easier installation of packages in Plasma.** -$ pacman -S konsole - -**Enable and start SDDM to login to Plasma.** -$ systemctl enable sddm -$ systemctl start sddm +$ umount /mnt/boot +$ umount /mnt/home +$ reboot **Now you are logged in to your Plasma desktop environment and ready to configure and use your Arch Linux.**