Update README.md
This commit is contained in:
parent
506e3118fc
commit
a587b47302
51
README.md
51
README.md
|
@ -53,8 +53,9 @@ $ lvcreate -l 100%FREE -n home main
|
||||||
|
|
||||||
**Create the filesystems and mount your volumes.**
|
**Create the filesystems and mount your volumes.**
|
||||||
$ mkfs.fat -F 32 -n UEFI /dev/sda1
|
$ mkfs.fat -F 32 -n UEFI /dev/sda1
|
||||||
**-F specifies the type of file allocation tables used (12, 16 or 32 bit).**
|
_-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".**
|
-n sets the volume name (label) of the filesystem to "UEFI"._
|
||||||
|
|
||||||
|
|
||||||
**Create ext4 filesystem on root and home volumes.**
|
**Create ext4 filesystem on root and home volumes.**
|
||||||
$ mkfs.ext4 -L root /dev/mapper/main-root
|
$ mkfs.ext4 -L root /dev/mapper/main-root
|
||||||
|
@ -68,7 +69,7 @@ $ mount /dev/sda1 /mnt/boot
|
||||||
$ mount /dev/mapper/main-home /mnt/home
|
$ mount /dev/mapper/main-home /mnt/home
|
||||||
|
|
||||||
**Optionally update mirrorlist using reflector.**
|
**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
|
$ 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).**
|
**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.**
|
**Generate fstab.**
|
||||||
$ genfstab -Up /mnt > /mnt/etc/fstab
|
$ genfstab -Up /mnt > /mnt/etc/fstab
|
||||||
**-U = Use UUID for source identifiers (shortcut for -t LABEL).**
|
_-U = Use UUID for source identifiers (shortcut for -t LABEL).
|
||||||
**-p Exclude pseudofs mounts (default behavior).**
|
-p Exclude pseudofs mounts (default behavior)._
|
||||||
|
|
||||||
**Chroot into your installation.**
|
**Chroot into your installation.**
|
||||||
$ arch-chroot /mnt
|
$ arch-chroot /mnt
|
||||||
|
@ -91,7 +92,7 @@ $ echo mycomputer > /etc/hostname
|
||||||
|
|
||||||
**Generate locale.gen for your preferred language (and preferribly english).**
|
**Generate locale.gen for your preferred language (and preferribly english).**
|
||||||
$ nano /etc/locale.gen
|
$ 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.**
|
**Generate the locale.**
|
||||||
$ locale-gen
|
$ locale-gen
|
||||||
|
@ -99,8 +100,10 @@ $ locale-gen
|
||||||
**Add necessary HOOKS and MODULES.**
|
**Add necessary HOOKS and MODULES.**
|
||||||
$ nano /etc/mkinitcpio.conf
|
$ 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.**
|
**Create mkinitcpio.**
|
||||||
$ mkinitcpio -p linux-zen
|
$ mkinitcpio -p linux-zen
|
||||||
|
@ -153,19 +156,6 @@ default arch.conf
|
||||||
$ localectl --no-convert set-keymap de-latin1-nodeadkeys
|
$ localectl --no-convert set-keymap de-latin1-nodeadkeys
|
||||||
$ localectl --no-convert set-x11-keymap de pc105 deadgraveacute
|
$ 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.**
|
**Create a user with a /home-directory.**
|
||||||
$ useradd -m $myusername
|
$ useradd -m $myusername
|
||||||
|
|
||||||
|
@ -179,22 +169,13 @@ $ gpasswd -a $myusername wheel
|
||||||
$ nano /etc/sudoers
|
$ nano /etc/sudoers
|
||||||
|
|
||||||
**Uncomment „%wheel ALL=(ALL) ALL“.**
|
**Uncomment „%wheel ALL=(ALL) ALL“.**
|
||||||
** Don't forget to also delete the space between the # and %wheel.**
|
**Don't forget to also delete the space between the # and %wheel.**
|
||||||
|
|
||||||
**Logout as root.**
|
**Exit and reboot.**
|
||||||
$ exit
|
$ exit
|
||||||
|
$ umount /mnt/boot
|
||||||
**Login as you user.**
|
$ umount /mnt/home
|
||||||
|
$ reboot
|
||||||
**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
|
|
||||||
|
|
||||||
**Now you are logged in to your Plasma desktop environment and ready to configure and use your Arch Linux.**
|
**Now you are logged in to your Plasma desktop environment and ready to configure and use your Arch Linux.**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue