Skip to content

Instantly share code, notes, and snippets.

View subrezon's full-sized avatar

Daniel Osipishin subrezon

  • Munich, Germany
View GitHub Profile
@subrezon
subrezon / windows.md
Last active July 18, 2023 20:36
Windows 11 checklist

Enablbe PowerShell scripts (as Administrator)

set-executionpolicy remotesigned

Winget packages (as Administrator)

winget install -e --id 7zip.7zip
@subrezon
subrezon / openwrt-on-proxmox.md
Created February 15, 2023 14:56
How to set up an OpenWRT VM in Proxmox
  1. Go to OpenWRT release page, select the latest release stable release, then targets -> x86 -> 64. Right-click generic-ext4-combined.img.gz (not the "efi"!) and copy the link.

  2. On the Proxmox host, download the archive and unpack it:

wget *paste link here*
gunzip openwrt-*.img.gz
  1. Resize the image to be the size you want your VM's disk to be (example with 8 GiB):
@subrezon
subrezon / proxmox-opnsense-serial.md
Last active January 1, 2024 12:40
Proxmox OPNsense serial install

This is a step-by-step guide to install an OPNsense VM using serial instead of VGA output. It's more resource efficient and allows you to connect to the serial console from Proxmox terminal, allowing things like copying / pasting text.

  1. Go to the OPNsense download page and select the correct image:
Architecture: amd64
Image type: serial
Mirror location: something in or close to where you live
@subrezon
subrezon / pop-win-dualboot.md
Created September 23, 2022 16:56
Dual boot Pop!OS + Windows 10/11 (very easy)

This tutorial will illustrate how to set up a dual boot Pop!OS + Windows 10/11 system very easily, without losing much disk space or installing not officially supported alternative boot loaders like GRUB or rEFInd.

The main issue with dual booting Pop!OS and Windows is that unlike most other distributions, Pop!OS uses the systemd-boot bootloader, which in its default configuration does not support loading kernels from partitions other than the EFI partition. Thus, Pop!OS requires the EFI partition to be at least 500 MiB in size, whereas the size of the EFI partition created during the installation of Windows is just 100 MiB. This would suffice for GRUB or rEFInd, since these bootloaders are able to load the kernel from the root partition, but not for systemd-boot. In this guide, we will perform a customized Windows installation with an enlarged EFI partition, and use that for a 100% default Pop!OS installation.

WARNING : this will not work on already existing installations of Windows or Pop!OS, you will hav

These instructions are based on this blogpost by Anton Semjonov and this video by Animortis Productions. Please follow the link if you want more details, they go into much more detail about each step, whereas this document is more focused on being a concise cheat sheet. Let's go.

Install base system

Boot the Ubuntu installation medium. When asked, choose the "Try Ubuntu" option and open a terminal.

Switch to root, otherwise you'll have to type sudo all the time:

sudo su -

Create new configuration files in /etc/pipewire/pipewire.conf.d/.

10-audient-id4-split-output.conf:

context.modules = [
	{
		name = libpipewire-module-loopback
		args = {
			node.description = "Audient iD4 Headphones"
@subrezon
subrezon / arch_install.md
Last active July 20, 2023 08:35
Arch Install Cheatsheet

Set console keyboard layout

Default console keyboard layout is US English. To list other available layouts:

ls /usr/share/kbd/keymaps/**/*.map.gz | less

Find the one you need and set it like this (example for German):