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]
|
||||
|
||||
### 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
|
||||
@ -368,7 +376,8 @@ refind-install
|
||||
|
||||
#### 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=@"
|
||||
```
|
||||
@ -376,9 +385,10 @@ refind-install
|
||||
#### Manual boot stanza
|
||||
|
||||
Assuming you use a `/boot` partition containing the `EFI` directory and linux kernels.
|
||||
`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" {
|
||||
icon /EFI/refind/themes/nord/icons/os_arch.png
|
||||
@ -394,7 +404,8 @@ 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
|
||||
@ -542,11 +553,12 @@ pacman -S snap-pac
|
||||
|
||||
## (rEFInd) Show snapshots in bootmenu
|
||||
|
||||
This requires a manual boot entry definition in `/boot/EFI/refind/refind.conf` as shown in [Manual boot stanza](#manual-boot-stanza)
|
||||
This requires a manual boot entry definition in `/boot/EFI/refind/refind.conf` as shown in [Manual boot stanza](#manual-boot-stanza)
|
||||
|
||||
`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]
|
||||
@ -555,6 +567,7 @@ mode = "embed_btrfs_logo"
|
||||
```
|
||||
|
||||
Use the inverted logo for darker themes such as Nord.
|
||||
|
||||
```
|
||||
...
|
||||
[boot-stanza-generation.icon.btrfs-logo]
|
||||
@ -565,4 +578,4 @@ variant = "inverted"
|
||||
`systemctl enable --now refind-btrfs.service`
|
||||
|
||||
**NOTE:** this doesn't work yet, as the UUID naming scheme is not supported by refind-btrfs.
|
||||
See [issue 46](https://github.com/Venom1991/refind-btrfs/issues/46) for details.
|
||||
See [issue 46](https://github.com/Venom1991/refind-btrfs/issues/46) for details.
|
||||
|
Loading…
Reference in New Issue
Block a user