Skip to content

Instantly share code, notes, and snippets.

View icedream's full-sized avatar

Carl Kittelberger icedream

View GitHub Profile
@icedream
icedream / 00_MigratingFromOldUbuntuLaptopToNewLinuxMintLaptopViaVMs.md
Last active March 8, 2024 10:42
Migrating from an old laptop to a new one through VMs

These are the bunch of overengineered scripts that allow me to take an old Ubuntu laptop's backup, take the important user data from it, migrate that to Linux Mint and unsnappify it without interrupting use of the old laptop, and then prepare it so it will run a proper setup wizard on first boot to set up the new laptop that will run the copy of Linux Mint in the end.

For this purpose, I set up:

  • The old laptop - The old Linux install machine, in my case an old Acer Aspire E5 with Ubuntu 22 on it. Runs Veeam Agent for Linux, backs up to NAS.
  • A hypervisor - I will use VMs to do a migration of data from the old laptop to Linux Mint without interrupting work on the actual device. In this case, I used Proxmox. It hosts:
    • VM 1 (source VM) - Holds the files of the old laptop from the Veeam backups on NAS so the Linux Mint VM can migrate the important parts over via SFTP. A backup restore script runs regularly.
  • VM 2 (Linux Mint VM) - Runs a copy of Linux Mint that will be sysprepped. A separate disk hold
@icedream
icedream / Dockerfile
Last active October 9, 2024 14:33
PowerTOP 2.14 Ryzen patches for Debian 12
# Dockerfile to build a patched powertop package for Debian 12 with the AMD
# Ryzen fixes.
#
# Debian 12 does not have these patches yet, however Debian 13 will include
# PowerTOP 2.15 which contains these changes already.
#
# Run this directly with this command, you don't need anything else than
# Docker:
#
# docker build --rm --output type=local,dest=output/ https://gist.github.com/icedream/ee7780b87706f2693c75a116759f0fbb/raw/Dockerfile
@icedream
icedream / openpgp.md
Created September 25, 2024 14:29
Identity proof

openpgp4fpr:04ADEF85EA6AEC6F75941E84468BBEEBB9EC6AEA

@icedream
icedream / Dockerfile
Last active October 9, 2024 14:43
Patched mtr for Ubuntu 24
# Dockerfile to build a patched mtr package for Ubuntu 24.
#
# Run this directly with this command, you don't need anything else than
# Docker:
#
# docker build --rm --output type=local,dest=output/ https://gist.github.com/icedream/f34af692ae6a2d63986f149a9001ca54/raw/Dockerfile
#
# This will give you an output/ directory with source and binary packages
# for a version suffixed +icedream.1 containing the patches.
#