diff --git a/.dotfiles/arch_install.md b/.dotfiles/arch_install.md index f2fc41f..ac62039 100644 --- a/.dotfiles/arch_install.md +++ b/.dotfiles/arch_install.md @@ -45,10 +45,10 @@ timedatectl set-ntp true GPT partitioning scheme: -|Mount point|Partition|Partition type|Size| -|---|---|---|---| -|/mnt/boot|/dev/*efi-partition*|EFI system partition|500MiB| -|/mnt|/dev/*root-partition*|Linux x86-64 root(/)|max| +| Mount point | Partition | Partition type | Size | +| ----------- | --------------------- | -------------------- | ------ | +| /mnt/boot | /dev/_efi-partition_ | EFI system partition | 500MiB | +| /mnt | /dev/_root-partition_ | Linux x86-64 root(/) | max | Check available disks and start `fdisk` @@ -60,41 +60,41 @@ fdisk /dev/ Create GPT partition table ```md -Command (m for help): *g* +Command (m for help): _g_ ``` -Create *efi-partition* +Create _efi-partition_ ```md -Command (m for help): *n* -Partition number (1-128, default 1): ** -First sector (x-y, default x): ** -Last sector [...] (x-y, default y): *+500M* +Command (m for help): _n_ +Partition number (1-128, default 1): __ +First sector (x-y, default x): __ +Last sector [...] (x-y, default y): _+500M_ -Command (m for help): *t* +Command (m for help): _t_ Selected partition 1 -Partition type or alias: *1* +Partition type or alias: _1_ Changed type of partition 'Linux Filesystem' to 'EFI System'. ``` -Create *root-partition* +Create _root-partition_ ```md -Command (m for help): *n* -Partition number (1-128, default 2): ** -First sector (x-y, default x): ** -Last sector [...] (x-y, default y): ** +Command (m for help): _n_ +Partition number (1-128, default 2): __ +First sector (x-y, default x): __ +Last sector [...] (x-y, default y): __ -Command (m for help): *t* -Partition number (1,2, default 2): *2* -Partition type or alias: *23* +Command (m for help): _t_ +Partition number (1,2, default 2): _2_ +Partition type or alias: _23_ Changed type of partition 'Linux Filesystem' to 'Linux root (x86-64)'. ``` Write partitions to disk ```md -Command (m for help): *w* +Command (m for help): _w_ ``` ### Format partitions / create filesystems @@ -410,6 +410,15 @@ Set theme for plymouth (this also regenerates the initramfs) $ sudo plymouth-set-default-theme -R script ``` +NOTE: After updating to Kernel 6.0 plymouth didn't show up on boot. I could still type my luks passwort and proceed, +but looking at a black screen was not particularly fun. +I solved this by configuring [early Kernel modesetting](https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start). +Effectively adding `amdgpu` to the mkinitcpio modules in `/etc/mkinitcpio.conf`: + +```ini +MODULES=( ... amdgpu ... ) +``` + ### (optional) Configure display manager These steps will use `greetd` with the `gtkgreet` greeter and will use `sway` as compositor. @@ -447,7 +456,7 @@ command = "sway --config /etc/greetd/sway-config" user = "greeter" ``` -Create `/etc/greetd/sway-config` which will be used by the sway greeter session, e.g.: +Create `/etc/greetd/sway-config` which will be used by the sway greeter session, e.g.: ```config exec "gtkgreet --layer-shell --style /etc/greetd/gtkgreet-style.css; swaymsg exit" @@ -457,9 +466,10 @@ bindsym Mod4+shift+e exec swaynag \ -m 'What do you want to do?' \ -b 'Poweroff' 'systemctl poweroff' \ -b 'Reboot' 'systemctl reboot' - + include /etc/sway/config.d/* ``` + It is advisable to also set the correct output and input configuration. Either write them into the same file or place additional files into `/etc/sway/config.d/`. @@ -470,13 +480,13 @@ window { background-color: rgba(0, 0, 0, 0); background-size: contain; background-position: center; - color: rgba(200, 200, 200, 0.9); + color: rgba(200, 200, 200, 0.9); } box#body { background-color: rgba(50, 50, 50, 0.8); border-radius: 10px; - color: rgba(250, 250, 250, 0.9); + color: rgba(250, 250, 250, 0.9); padding: 50px; } ``` @@ -486,4 +496,3 @@ Enable and start `greetd.service` ```console $ sudo systemctl enable --now greetd.service ``` -