This commit is contained in:
proledatarian 2022-02-11 13:17:32 +00:00
parent f855b5e15d
commit 4e746d37bd
1 changed files with 22 additions and 8 deletions

View File

@ -18,13 +18,13 @@ _Accept._
$ y $ y
_Create a new partition, accept default partition number 1 and first sector._ _Create a new partition, accept default partition number 1 and first sector._
$ n $ n
$ y _Enter_
$ y _Enter_
_Enter partition size (second sector), 512 MB should be plenty for /boot and accept._ _Enter partition size (second sector), 512 MB should be plenty for /boot and accept._
$ +512M $ +512M
_Mark as EFI._ _Mark as EFI._
$ ef00 $ ef00
_New main partition, accept all the following using "y"._ _New main partition, accept all the following pressing "enter"._
$ n $ n
**Print and check your partitions. There should be a 512 MiB EFI system partition and a Linux filesystem filling up the rest of the space** **Print and check your partitions. There should be a 512 MiB EFI system partition and a Linux filesystem filling up the rest of the space**
@ -85,7 +85,7 @@ $ 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.
-p = Exclude pseudofs mounts (default behavior)._ -p = Exclude pseudofs mounts (default behavior)._
**Chroot into your installation.** **Chroot into your installation.**
@ -102,7 +102,8 @@ _Uncomment your language, e.g. de_DE.UTF-8 UTF-8 (and en_US.UTF-8)._
$ locale-gen $ locale-gen
_The uncommented languages should appear followed by "done"._ _The uncommented languages should appear followed by "done"._
echo KEYMAP=de-latin1 > /etc/vconsole.conf echo KEYMAP=de-latin1 > /etc/vconsole.conf
echo LANG=de_DE.UTF-8 > /etc/locale.conf
**Add necessary HOOKS and MODULES.** **Add necessary HOOKS and MODULES.**
$ nano /etc/mkinitcpio.conf $ nano /etc/mkinitcpio.conf
@ -132,7 +133,9 @@ $ nano /bootloader/entries/arch.conf
title Arch Linux title Arch Linux
linux /vmlinuz-linux-zen linux /vmlinuz-linux-zen
initrd /initramfs-linux-zen.img initrd /initramfs-linux-zen.img
options cryptdevice=/dev/sda2:main root=/dev/mapper/main-root rw lang=de init=/usr/lib/systemd/systemd locale=de_DE.UTF-8 options cryptdevice=/dev/sda2:main root=/dev/mapper/main-root rw
options init=/usr/lib/systemd/systemd
options lang=de locale=de_DE.UTF-8
``` ```
**Create a fallback config.** **Create a fallback config.**
@ -145,7 +148,6 @@ $ nano /boot/loader/entries/arch-fallback.conf
``` ```
title Arch Linux Fallback title Arch Linux Fallback
linux /vmlinuz-linux linux /vmlinuz-linux
initrd /initramfs-linux.img
initrd /initramfs-linux-fallback.img initrd /initramfs-linux-fallback.img
``` ```
@ -176,6 +178,18 @@ $ 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.**
**Since it's an encrypted single-user system, we don't need a login screen after boot.**
**Create the following directory and config-file for sddm:**
$ mkdir /etc/sddm.conf.d
$ nano /etc/sddm.conf.d/autologin.conf
```
[Autologin]
User=john
Session=plasma
```
**Exit and reboot.** **Exit and reboot.**
$ exit $ exit
$ umount /mnt/boot $ umount /mnt/boot
@ -214,5 +228,5 @@ $ reboot
- yakuake - yakuake
## Post installation configuration (WIP) : ## Post installation configuration (WIP) :
- Reflector hook
- Installing yay - Installing yay
- Point to this: https://gitlab.com/srtghn3657/random-linux-tips