Skip to content

Instantly share code, notes, and snippets.

@Iwwww
Iwwww / Hiberntation-Arch-LUKS-LVM-Encription-SWAP-Partition.md
Last active October 24, 2024 04:57
Enabling hibernation on Arch Linux with LUKS LVM encryption using a swap partition

Introduction

Enabling hibernation on Arch Linux is a useful feature that allows you to save your current system state to your hard disk and power off your computer. When you turn your computer back on, you can resume from where you left off, which is a great way to save time and improve productivity.

Here is a step-by-step guide on how to enable hibernation on Arch Linux.

My setup

I used this installation instruction.

#!/bin/env python3
# Download one file or folder
# from Google Drive using gdown (https://pypi.org/project/gdown)
# REQUIREMENTS:
# pip install gdown
import gdown
url = str(input("url: "))