Skip to content

Instantly share code, notes, and snippets.

@mayankchhabra
mayankchhabra / umbrel-ubuntu-20-04-x86.md
Last active June 23, 2023 14:28
Installing Umbrel on Ubuntu 20.04 x86

Install Umbrel v0.3.5

sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
sudo sysctl vm.swappiness=10
echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf
sudo sysctl vm.vfs_cache_pressure=50
@artman41
artman41 / wsl-install_another_distro.md
Last active April 5, 2025 19:32
Instructions on how to install a custom distro in WSL2 (Windows SubSystem for Linux 2)

WSL install another distro

  1. Here are some default vars for the process
ISO_DIR=~/fedora;
ROOTFS_MOUNT_DIR=/mnt/contents

DISTRO_LOCATION=