Update README.md
This commit is contained in:
parent
506e3118fc
commit
a587b47302
49
README.md
49
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
|
||||
|
@ -153,19 +156,6 @@ default arch.conf
|
|||
$ 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
|
||||
|
||||
**Create a user with a /home-directory.**
|
||||
$ useradd -m $myusername
|
||||
|
||||
|
@ -181,20 +171,11 @@ $ nano /etc/sudoers
|
|||
**Uncomment „%wheel ALL=(ALL) ALL“.**
|
||||
**Don't forget to also delete the space between the # and %wheel.**
|
||||
|
||||
**Logout as root.**
|
||||
**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.**
|
||||
|
||||
|
|
Loading…
Reference in New Issue