A complete guide to enable hibernation on Fedora 43 (Workstation) with UEFI and btrfs filesystem, including fixes for Secure Boot and SELinux issues.
Run these commands in sequence to enable hibernation:
# Calculate swap size (RAM-based formula)| // Now available as a Vite plugin! | |
| // https://npmx.dev/@brendonovich/vite-plugin-opencode | |
| import type { IncomingMessage, ServerResponse } from "node:http"; | |
| import type { Plugin } from "vite"; | |
| import { | |
| transformAsync, | |
| types, | |
| type NodePath, |
| # install. | |
| sudo pacman -S audit # if not installed | |
| sudo systemctl enable --now auditd.service | |
| sudo auditctl -s | |
| sudo auditctl -l | |
| # put here for persistent rules: /etc/audit/rules.d/70-aur-malware.rules: |
| #!/usr/bin/env bash | |
| # | |
| # aur_malware_check.sh - official-list + BEHAVIOR-based detection | |
| # | |
| # AUR malware campaign, June 2026 | |
| # (atomic-lockfile / lockfile-js / nextfile-js / js-digest): | |
| # https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/ | |
| # | |
| # Two complementary strategies: | |
| # - Cross-check installed AUR packages against Arch's authoritative live list. |
| #!/usr/bin/env bash | |
| # OUTDATED. YOU MAY WANT TO USE A CHECK THAT PULLS FROM AN AUTHORITATIVE LIST OF INFECTED PACKAGES | |
| # CHECK https://gist.github.com/Kidev/85756c3dcad3623ca5604a8135bafd14 | |
| # AUR atomic-lockfile malware check @ June 11 2026 | |
| # Sources: | |
| # https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/ | |
| # https://gr.ht/aur_pkg_list.txt |
A complete guide to enable hibernation on Fedora 43 (Workstation) with UEFI and btrfs filesystem, including fixes for Secure Boot and SELinux issues.
Run these commands in sequence to enable hibernation:
# Calculate swap size (RAM-based formula)