From c674f61876eb8fb583bdfcaa6895ebeca42b21ab Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 9 Jan 2023 20:25:06 +0100 Subject: [PATCH] microcode: added arch microcode install --- wiki/linux/arch-linux/arch-linux.md | 20 +++++++++++++++++-- .../{pacman_and_yay.md => package_manager.md} | 0 wiki/linux/flatpak.md | 2 +- wiki/linux/microcode.md | 15 ++++++++++++++ 4 files changed, 34 insertions(+), 3 deletions(-) rename wiki/linux/arch-linux/{pacman_and_yay.md => package_manager.md} (100%) create mode 100644 wiki/linux/microcode.md diff --git a/wiki/linux/arch-linux/arch-linux.md b/wiki/linux/arch-linux/arch-linux.md index 03d2441..a90ee32 100644 --- a/wiki/linux/arch-linux/arch-linux.md +++ b/wiki/linux/arch-linux/arch-linux.md @@ -2,10 +2,10 @@ [Arch Linux](https://archlinux.org/) is a rolling-release, general-purpose Linux distribution. -Arch Linux uses the [pacman](./pacman_and_yay.md) package manager. +Arch Linux uses the [pacman](./package_manager.md) package manager. The Arch User Repositories (AUR) features community-made packages that can be installed with different -[package manager that inlcude access to the AUR](/wiki/linux/arch-linux/pacman_and_yay.md). +[package manager that inlcude access to the AUR](/wiki/linux/arch-linux/package_manager.md). ## Installation Medium @@ -16,3 +16,19 @@ The ISO file can be found on the The iso can be written on an USB-stick using the command `dd bs=4M if= of=/dev/sdx conv=fsync oflag=direct status=progress`. `` points the command to the location of the ISO file + +## Enable Microcode Updates + +The microcode of Intel and AMD CPUs can be automatically updated by installing +the `amd-ucode` or `intel-ucode` package depending on your CPU. +The following description assumes the system is installed with +[UEFI bootloader](/wiki/linux/arch-linux/installation.md#10-install-and-configure-uefi-bootloader) +similar to the [recommended guide](/wiki/linux/arch-linux/installation.md). +The microcode updates can then be enabled by adding the following line into +`/boot/loader/entries/arch.conf`: + +```txt +initrd /.img +``` + +`` is either `amd-ucode` or `intel-ucode`. diff --git a/wiki/linux/arch-linux/pacman_and_yay.md b/wiki/linux/arch-linux/package_manager.md similarity index 100% rename from wiki/linux/arch-linux/pacman_and_yay.md rename to wiki/linux/arch-linux/package_manager.md diff --git a/wiki/linux/flatpak.md b/wiki/linux/flatpak.md index db421dd..0187b5f 100644 --- a/wiki/linux/flatpak.md +++ b/wiki/linux/flatpak.md @@ -6,7 +6,7 @@ linux systems. ## Setup The `flatpak` package can be installed by most distribution specific package -managers (e.g. [pacman or yay](./arch-linux/pacman_and_yay.md)). +managers (e.g. [pacman or yay](./arch-linux/package_manager.md)). After installation it is important to add [flathub](https://flathub.org/home), a source for many Flatpak packages. The addition of this can be done by running diff --git a/wiki/linux/microcode.md b/wiki/linux/microcode.md new file mode 100644 index 0000000..ff0b6a8 --- /dev/null +++ b/wiki/linux/microcode.md @@ -0,0 +1,15 @@ +# Microcode + +Processor vendors release stability and security updates to the processor +microcode. + +## Installation + +Most Linux based operating systems feature packages depending on the processor +manufacturer (on Arch Linux for example `intel-ucode` and `amd-ucode`). + +## Automatic Updates + +Automatic updates can be enabled depending on bootloader and operating system. +For Arch Linux a description is given in the +[Arch Linux entry](/wiki/linux/arch-linux/arch-linux.md#enable-microcode-updates).