arch_install: Add note about early kernel modesetting
Also format document.
This commit is contained in:
parent
eabb9593bf
commit
866e1aa9ea
1 changed files with 35 additions and 26 deletions
|
@ -45,10 +45,10 @@ timedatectl set-ntp true
|
||||||
|
|
||||||
GPT partitioning scheme:
|
GPT partitioning scheme:
|
||||||
|
|
||||||
|Mount point|Partition|Partition type|Size|
|
| Mount point | Partition | Partition type | Size |
|
||||||
|---|---|---|---|
|
| ----------- | --------------------- | -------------------- | ------ |
|
||||||
|/mnt/boot|/dev/*efi-partition*|EFI system partition|500MiB|
|
| /mnt/boot | /dev/_efi-partition_ | EFI system partition | 500MiB |
|
||||||
|/mnt|/dev/*root-partition*|Linux x86-64 root(/)|max|
|
| /mnt | /dev/_root-partition_ | Linux x86-64 root(/) | max |
|
||||||
|
|
||||||
Check available disks and start `fdisk`
|
Check available disks and start `fdisk`
|
||||||
|
|
||||||
|
@ -60,41 +60,41 @@ fdisk /dev/<disk-to-install-to>
|
||||||
Create GPT partition table
|
Create GPT partition table
|
||||||
|
|
||||||
```md
|
```md
|
||||||
Command (m for help): *g*
|
Command (m for help): _g_
|
||||||
```
|
```
|
||||||
|
|
||||||
Create *efi-partition*
|
Create _efi-partition_
|
||||||
|
|
||||||
```md
|
```md
|
||||||
Command (m for help): *n*
|
Command (m for help): _n_
|
||||||
Partition number (1-128, default 1): *<Return>*
|
Partition number (1-128, default 1): _<Return>_
|
||||||
First sector (x-y, default x): *<Return>*
|
First sector (x-y, default x): _<Return>_
|
||||||
Last sector [...] (x-y, default y): *+500M*
|
Last sector [...] (x-y, default y): _+500M_
|
||||||
|
|
||||||
Command (m for help): *t*
|
Command (m for help): _t_
|
||||||
Selected partition 1
|
Selected partition 1
|
||||||
Partition type or alias: *1*
|
Partition type or alias: _1_
|
||||||
Changed type of partition 'Linux Filesystem' to 'EFI System'.
|
Changed type of partition 'Linux Filesystem' to 'EFI System'.
|
||||||
```
|
```
|
||||||
|
|
||||||
Create *root-partition*
|
Create _root-partition_
|
||||||
|
|
||||||
```md
|
```md
|
||||||
Command (m for help): *n*
|
Command (m for help): _n_
|
||||||
Partition number (1-128, default 2): *<Return>*
|
Partition number (1-128, default 2): _<Return>_
|
||||||
First sector (x-y, default x): *<Return>*
|
First sector (x-y, default x): _<Return>_
|
||||||
Last sector [...] (x-y, default y): *<Return>*
|
Last sector [...] (x-y, default y): _<Return>_
|
||||||
|
|
||||||
Command (m for help): *t*
|
Command (m for help): _t_
|
||||||
Partition number (1,2, default 2): *2*
|
Partition number (1,2, default 2): _2_
|
||||||
Partition type or alias: *23*
|
Partition type or alias: _23_
|
||||||
Changed type of partition 'Linux Filesystem' to 'Linux root (x86-64)'.
|
Changed type of partition 'Linux Filesystem' to 'Linux root (x86-64)'.
|
||||||
```
|
```
|
||||||
|
|
||||||
Write partitions to disk
|
Write partitions to disk
|
||||||
|
|
||||||
```md
|
```md
|
||||||
Command (m for help): *w*
|
Command (m for help): _w_
|
||||||
```
|
```
|
||||||
|
|
||||||
### Format partitions / create filesystems
|
### Format partitions / create filesystems
|
||||||
|
@ -410,6 +410,15 @@ Set theme for plymouth (this also regenerates the initramfs)
|
||||||
$ sudo plymouth-set-default-theme -R script
|
$ 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
|
### (optional) Configure display manager
|
||||||
|
|
||||||
These steps will use `greetd` with the `gtkgreet` greeter and will use `sway` as compositor.
|
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"
|
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
|
```config
|
||||||
exec "gtkgreet --layer-shell --style /etc/greetd/gtkgreet-style.css; swaymsg exit"
|
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?' \
|
-m 'What do you want to do?' \
|
||||||
-b 'Poweroff' 'systemctl poweroff' \
|
-b 'Poweroff' 'systemctl poweroff' \
|
||||||
-b 'Reboot' 'systemctl reboot'
|
-b 'Reboot' 'systemctl reboot'
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
```
|
```
|
||||||
|
|
||||||
It is advisable to also set the correct output and input configuration.
|
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/`.
|
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-color: rgba(0, 0, 0, 0);
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
color: rgba(200, 200, 200, 0.9);
|
color: rgba(200, 200, 200, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
box#body {
|
box#body {
|
||||||
background-color: rgba(50, 50, 50, 0.8);
|
background-color: rgba(50, 50, 50, 0.8);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
color: rgba(250, 250, 250, 0.9);
|
color: rgba(250, 250, 250, 0.9);
|
||||||
padding: 50px;
|
padding: 50px;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -486,4 +496,3 @@ Enable and start `greetd.service`
|
||||||
```console
|
```console
|
||||||
$ sudo systemctl enable --now greetd.service
|
$ sudo systemctl enable --now greetd.service
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue