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
|
@ -46,9 +46,9 @@ 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|
|
||||
| ----------- | --------------------- | -------------------- | ------ |
|
||||
| /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/<disk-to-install-to>
|
|||
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): *<Return>*
|
||||
First sector (x-y, default x): *<Return>*
|
||||
Last sector [...] (x-y, default y): *+500M*
|
||||
Command (m for help): _n_
|
||||
Partition number (1-128, default 1): _<Return>_
|
||||
First sector (x-y, default x): _<Return>_
|
||||
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): *<Return>*
|
||||
First sector (x-y, default x): *<Return>*
|
||||
Last sector [...] (x-y, default y): *<Return>*
|
||||
Command (m for help): _n_
|
||||
Partition number (1-128, default 2): _<Return>_
|
||||
First sector (x-y, default x): _<Return>_
|
||||
Last sector [...] (x-y, default y): _<Return>_
|
||||
|
||||
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.
|
||||
|
@ -460,6 +469,7 @@ bindsym Mod4+shift+e exec swaynag \
|
|||
|
||||
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/`.
|
||||
|
||||
|
@ -486,4 +496,3 @@ Enable and start `greetd.service`
|
|||
```console
|
||||
$ sudo systemctl enable --now greetd.service
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue