Add zram. Reformat package list as table

This commit is contained in:
exu 2024-08-06 11:16:20 +02:00
parent 06b5d09154
commit e6407d4f48

View File

@ -244,38 +244,27 @@ pacstrap /mnt base base-devel linux linux-firmware linux-headers vim git openssh
[/shroot]
### Microcode
### Other packages
`amd-ucode`
`intel-ucode`
### Filesystems
Fat32:
`dosfstools mtools`
Ext4:
`e2fsprogs`
Btrfs:
`btrfs-progs compsize`
### Wifi
`wpa_supplicant`
### Snapper
`snapper`
### Certificates
`ca-certificates ca-certificates-mozilla`
### other
`cups hplip xdg-utils xdg-user-dirs inetutils`
| Package | Category | Component |
| ------------------------- | ------------- | ------------ |
| `amd-ucode` | CPU microcode |
| `intel-ucode` | CPU microcode |
| `dosfstools` | Filesystems | Fat32 |
| `mtools` | Filesystems | Fat32 |
| `e2fsprogs` | Filesystems | Ext4 |
| `btrfs-progs` | Filesystems | Btrfs |
| `compsize` | Filesystems | Btrfs |
| `wpa_supplicant` | Wifi |
| `snapper` | System | Snapshots |
| `ca-certificates` | System | Certificates |
| `ca-certificates-mozilla` | System | Certificates |
| `zram-generator` | System | Zram |
| `cups` | Printing | General |
| `hplip` | Printing | HP |
| `xdg-utils` | System | Defaults |
| `xdg-user-dirs` | System | Defaults |
| `inetutils` | Tools | Networking |
## Generate fstab
@ -342,6 +331,25 @@ passwd
[/shroot]
## Configure zram
Create the file `/etc/systemd/zram-generator.conf`
```systemd
[zram0]
zram-size = ram / 2
compression-algorithm = zstd
```
[shroot]
```
systemctl daemon-reload
systemctl start systemd-zram-setup@zram<X>.service
```
[/shroot]
## Bootloader installation
### rEFInd
@ -369,6 +377,7 @@ refind-install
#### Autodetection
`/boot/refind_linux.conf`
```
"Boot with standard options" "rw loglevel=3 quiet cryptdevice=LABEL=(label):(name) root=/dev/mapper/(name) rootflags=subvol=@"
```
@ -379,6 +388,7 @@ Assuming you use a `/boot` partition containing the `EFI` directory and linux ke
`refind-nord-theme` is required for the icon configured below. Install it from the AUR or change the icon to `/EFI/refind/icons/os_arch.png`.
`/boot/EFI/refind/refind.conf`
```
menuentry "Arch Linux" {
icon /EFI/refind/themes/nord/icons/os_arch.png
@ -395,6 +405,7 @@ menuentry "Arch Linux" {
```
Edit `/boot/EFI/refind/themes/nord/theme.conf` to show keyboard options by removing `hints` from `hideui`
```
...
hideui singleuser,badges
@ -547,6 +558,7 @@ This requires a manual boot entry definition in `/boot/EFI/refind/refind.conf` a
`paru -S refind-btrfs`
In `/etc/refind-btrfs.conf`, embed the btrfs logo.
```
...
[boot-stanza-generation.icon]
@ -555,6 +567,7 @@ mode = "embed_btrfs_logo"
```
Use the inverted logo for darker themes such as Nord.
```
...
[boot-stanza-generation.icon.btrfs-logo]