docs: Update arch_install.md

Make boot quiet and add instructions for boot splash screen.
This commit is contained in:
histalek 2022-04-21 09:58:36 +02:00
parent 16f44972b7
commit 9bc38cd98e
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -246,7 +246,17 @@ title Arch Linux
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options cryptdevice=UUID=<UUID-OF-ROOT-PARTITION>:luks-root root=/dev/mapper/luks-root rootflags=subvol=@,x-systemd.device-timeout=0 rd.luks.options=timeout=0 rw
options cryptdevice=UUID=<UUID-OF-ROOT-PARTITION>:luks-root root=/dev/mapper/luks-root rootflags=subvol=@,x-systemd.device-timeout=0 rd.luks.options=timeout=0 rw quiet loglevel=0 splash rd.systemd.show_status=0 rd.udev.log_level=0
```
Copy arch boot entry to `/boot/loader/entries/arch-fallback.conf` and set the initramfs to the fallback one. Resulting in the following
```conf
title Arch Linux (fallback)
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux-fallback.img
options cryptdevice=UUID=<UUID-OF-ROOT-PARTITION>:luks-root root=/dev/mapper/luks-root rootflags=subvol=@,x-systemd.device-timeout=0 rd.luks.options=timeout=0 rw quiet loglevel=0 splash rd.systemd.show_status=0 rd.udev.log_level=0
```
Edit boot loader config `/boot/loader/loader.conf`
@ -370,3 +380,23 @@ Install `Flatseal` to manage flatpak permissions via GUI
```console
$ flatpak install flathub com.github.tchx84.Flatseal
```
### (optional) Configure boot splash screen
Install `plymouth`
```console
$ sudo paru -Sa plymouth
```
Adapt mkinitcpio hooks. Add `plymouth plymouth-encrypt` **after** `base udev` and remove `encrypt`. Resulting in e.g.
```ini
HOOKS=(base udev plymouth plymouth-encrypt autodetect modconf block btrfs filesystems keyboard fsck)
```
Set theme for plymouth (this also regenerates the initramfs)
```console
$ sudo plymouth-set-default-theme -R script
```