Recreate bootable hard drive from backup image
I made a mistake and need to fix it by converting the backup image to a fully partitioned hard drive. At the same time I will apply encryption. As root: (source) Now boot the system that allows you to format the remote machine's drive
Create a bootable image from a single ext4 partition
A 1TB hard drive with several partitons, lots of media. The actual root system is on a 10GB partition. Additionally, only 5GB are actually in use. I want to make a bootable image that I can upload to my virtual server (it has a function to install from a raw image).
Thunar Hidden Settings
Thunar is XFCE's file manager. Recently I have tried it again, after having used pcmanfm for many years. After setting everything up the way I like it I noticed that the shortcuts in the sidepane cannot be rearranged (I am used to having devices first, then bookmarks).
A collection of Forum Posts I Don't Want to Sink into Oblivion
Sometimes I get a creative kick when writing a reply on some forum, and then I feel a little sorry to think that this "gem" will soon be forgotten and unfindable. So I decided to copy-paste some of these outbursts to a dedicated page. It's a little narcissistic.
Dist‑upgrade Debian from oldstable to stable
Disclaimer: This article is not a complete tutorial, it is simply a set of notes I took down following these instructions. Today I found out that the debian security team handles oldstable releases only for a year or so, after which the LTS team takes over, which is arguably less secure.
Upgrade PostgreSQL Database (Cluster) from one Major Version to Another
I'm in the process of finally upgrading my Debian install from oldstable (buster) to stable (bullseye). My DAViCal installation uses PostgreSQL for its database backend. Strangely, I have two versions of PostgreSQL (9.6 and 11) and I purged the older one (without deleting the databases, thankfully).
FFmpeg Tips and Tricks
...at keyframes only (forsaking time accuracy), and without messing up timestamps: As always with ffmpeg, the order of the options is relevant. Either -ss [START_TIME] or -t [DURATION] can be omitted. Typically used for game sounds. I had difficulties using the aformat filter, but this syntax worked:
Setting up a ThinkPad x250 with Linux
The latest BIOS update for this machine is from September this year. Impressive for a 5-year-old laptop. I checked the BIOS, it is at a lower verion than the current 1.38. I downloaded the .iso (first item on this list) and followed the instructions here.