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
|
||||||
@ -368,7 +376,8 @@ 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=@"
|
||||||
```
|
```
|
||||||
@ -376,9 +385,10 @@ refind-install
|
|||||||
#### Manual boot stanza
|
#### Manual boot stanza
|
||||||
|
|
||||||
Assuming you use a `/boot` partition containing the `EFI` directory and linux kernels.
|
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" {
|
menuentry "Arch Linux" {
|
||||||
icon /EFI/refind/themes/nord/icons/os_arch.png
|
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
|
hideui singleuser,badges
|
||||||
@ -542,11 +553,12 @@ pacman -S snap-pac
|
|||||||
|
|
||||||
## (rEFInd) Show snapshots in bootmenu
|
## (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`
|
`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]
|
||||||
@ -565,4 +578,4 @@ variant = "inverted"
|
|||||||
`systemctl enable --now refind-btrfs.service`
|
`systemctl enable --now refind-btrfs.service`
|
||||||
|
|
||||||
**NOTE:** this doesn't work yet, as the UUID naming scheme is not supported by refind-btrfs.
|
**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