Add zram. Reformat package list as table
This commit is contained in:
parent
06b5d09154
commit
e6407d4f48
@ -244,38 +244,27 @@ pacstrap /mnt base base-devel linux linux-firmware linux-headers vim git openssh
|
|||||||
|
|
||||||
[/shroot]
|
[/shroot]
|
||||||
|
|
||||||
### Microcode
|
### Other packages
|
||||||
|
|
||||||
`amd-ucode`
|
| Package | Category | Component |
|
||||||
|
| ------------------------- | ------------- | ------------ |
|
||||||
`intel-ucode`
|
| `amd-ucode` | CPU microcode |
|
||||||
|
| `intel-ucode` | CPU microcode |
|
||||||
### Filesystems
|
| `dosfstools` | Filesystems | Fat32 |
|
||||||
|
| `mtools` | Filesystems | Fat32 |
|
||||||
Fat32:
|
| `e2fsprogs` | Filesystems | Ext4 |
|
||||||
`dosfstools mtools`
|
| `btrfs-progs` | Filesystems | Btrfs |
|
||||||
|
| `compsize` | Filesystems | Btrfs |
|
||||||
Ext4:
|
| `wpa_supplicant` | Wifi |
|
||||||
`e2fsprogs`
|
| `snapper` | System | Snapshots |
|
||||||
|
| `ca-certificates` | System | Certificates |
|
||||||
Btrfs:
|
| `ca-certificates-mozilla` | System | Certificates |
|
||||||
`btrfs-progs compsize`
|
| `zram-generator` | System | Zram |
|
||||||
|
| `cups` | Printing | General |
|
||||||
### Wifi
|
| `hplip` | Printing | HP |
|
||||||
|
| `xdg-utils` | System | Defaults |
|
||||||
`wpa_supplicant`
|
| `xdg-user-dirs` | System | Defaults |
|
||||||
|
| `inetutils` | Tools | Networking |
|
||||||
### Snapper
|
|
||||||
|
|
||||||
`snapper`
|
|
||||||
|
|
||||||
### Certificates
|
|
||||||
|
|
||||||
`ca-certificates ca-certificates-mozilla`
|
|
||||||
|
|
||||||
### other
|
|
||||||
|
|
||||||
`cups hplip xdg-utils xdg-user-dirs inetutils`
|
|
||||||
|
|
||||||
## Generate fstab
|
## Generate fstab
|
||||||
|
|
||||||
@ -342,6 +331,25 @@ passwd
|
|||||||
|
|
||||||
[/shroot]
|
[/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
|
## Bootloader installation
|
||||||
|
|
||||||
### rEFInd
|
### rEFInd
|
||||||
@ -369,6 +377,7 @@ refind-install
|
|||||||
#### Autodetection
|
#### Autodetection
|
||||||
|
|
||||||
`/boot/refind_linux.conf`
|
`/boot/refind_linux.conf`
|
||||||
|
|
||||||
```
|
```
|
||||||
"Boot with standard options" "rw loglevel=3 quiet cryptdevice=LABEL=(label):(name) root=/dev/mapper/(name) rootflags=subvol=@"
|
"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`.
|
`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`
|
`/boot/EFI/refind/refind.conf`
|
||||||
|
|
||||||
```
|
```
|
||||||
menuentry "Arch Linux" {
|
menuentry "Arch Linux" {
|
||||||
icon /EFI/refind/themes/nord/icons/os_arch.png
|
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`
|
Edit `/boot/EFI/refind/themes/nord/theme.conf` to show keyboard options by removing `hints` from `hideui`
|
||||||
|
|
||||||
```
|
```
|
||||||
...
|
...
|
||||||
hideui singleuser,badges
|
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`
|
`paru -S refind-btrfs`
|
||||||
|
|
||||||
In `/etc/refind-btrfs.conf`, embed the btrfs logo.
|
In `/etc/refind-btrfs.conf`, embed the btrfs logo.
|
||||||
|
|
||||||
```
|
```
|
||||||
...
|
...
|
||||||
[boot-stanza-generation.icon]
|
[boot-stanza-generation.icon]
|
||||||
@ -555,6 +567,7 @@ mode = "embed_btrfs_logo"
|
|||||||
```
|
```
|
||||||
|
|
||||||
Use the inverted logo for darker themes such as Nord.
|
Use the inverted logo for darker themes such as Nord.
|
||||||
|
|
||||||
```
|
```
|
||||||
...
|
...
|
||||||
[boot-stanza-generation.icon.btrfs-logo]
|
[boot-stanza-generation.icon.btrfs-logo]
|
||||||
|
Loading…
Reference in New Issue
Block a user