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
_Create a new partition, accept default partition number 1 and first sector._
$ n
$ y
$ y
_Enter_
_Enter_
_Enter partition size (second sector), 512 MB should be plenty for /boot and accept._
$ +512M
_Mark as EFI._
$ ef00
_New main partition, accept all the following using "y"._
_New main partition, accept all the following pressing "enter"._
$ 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**
@ -85,7 +85,7 @@ $ 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).
_-U = Use UUID for source identifiers.
-p = Exclude pseudofs mounts (default behavior)._
**Chroot into your installation.**
@ -103,6 +103,7 @@ $ locale-gen
_The uncommented languages should appear followed by "done"._
echo KEYMAP=de-latin1 > /etc/vconsole.conf
echo LANG=de_DE.UTF-8 > /etc/locale.conf
**Add necessary HOOKS and MODULES.**
$ nano /etc/mkinitcpio.conf
@ -132,7 +133,9 @@ $ nano /bootloader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux-zen
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.**
@ -145,7 +148,6 @@ $ nano /boot/loader/entries/arch-fallback.conf
```
title Arch Linux Fallback
linux /vmlinuz-linux
initrd /initramfs-linux.img
initrd /initramfs-linux-fallback.img
```
@ -176,6 +178,18 @@ $ nano /etc/sudoers
**Uncomment „%wheel ALL=(ALL) ALL“.**
**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
$ umount /mnt/boot
@ -214,5 +228,5 @@ $ reboot
- yakuake
## Post installation configuration (WIP) :
- Reflector hook
- Installing yay
- Point to this: https://gitlab.com/srtghn3657/random-linux-tips