I'm blogging about Emacs, Drupal, php and exciting subjects

· Lars Nielsen

Wiring GRUB Into a System That Already Triple-Boots, Without Touching the Other Two

This machine already runs two operating systems off one disk, sharing one EFI System Partition. Adding a third meant writing to that same shared partition and to the machine's live EFI boot configuration — real, hard-to-reverse changes on hardware two other working systems depend on, not a fresh disk with nothing to lose.

Read article Wiring GRUB Into a System That Already Triple-Boots, Without Touching the Other Two
· Lars Nielsen

The Shortcut That Almost Fixed Twenty Files at Once, and Why It Couldn't

Twenty files in one KDE package needed the same fix: remove an unconditional include of a header that doesn't exist on this system. Patching all twenty by hand looked avoidable. One upstream flag, flipped the other way, looked like it would satisfy the missing header everywhere at once. It didn't — and the reason it couldn't is more specific than "it didn't work."

Read article The Shortcut That Almost Fixed Twenty Files at Once, and Why It Couldn't
· Lars Nielsen

One ALTER DATABASE Silently Rebuilt an Entire 22-Table Schema in the Wrong Place

Fixing one database incident accidentally created a second, unrelated one — and the second one hid the evidence needed to see whether the first one was actually fixed. One misordered database setting, changed to avoid a minor inconvenience, ended with an entire application's schema rebuilt from scratch in the wrong place.

Read article One ALTER DATABASE Silently Rebuilt an Entire 22-Table Schema in the Wrong Place
· Lars Nielsen

A Kernel Config Copied From a Working Install Almost Broke the Boot Anyway

A previous attempt at building this system from scratch failed at wifi — a real driver problem that killed that attempt outright. This time, the kernel config started from the one place guaranteed to already have that driver working: this exact machine's own currently-running Ubuntu kernel. That choice fixed the wifi problem completely.

Read article A Kernel Config Copied From a Working Install Almost Broke the Boot Anyway
· Lars Nielsen

The One Flag Everyone Assumes Disables X11, and Sixteen Packages That Needed a Different Fix Each Time

A build flag meant to turn off X11 support gets added to nearly every KDE package script in this from-scratch build — 128 of roughly 150. It's a real, documented flag. It's also, for most of those packages, not the flag that actually controls anything.

Read article The One Flag Everyone Assumes Disables X11, and Sixteen Packages That Needed a Different Fix Each Time
Subscribe to Linkhub