Direct Disk Installation: Creating a Linux Distro That Installs via curl > /dev/sda
By
astralbijection
A baker's-dozen of insight crammed into one ring.
Summary
The article describes a technical experiment where the author created a Linux distribution that can be installed by directly piping a disk image to a storage device using commands like 'curl > /dev/sda' or 'wget | dd'. This unconventional installation method bypasses traditional installation processes by writing the OS image directly to disk, which works even on EFI machines. The article is part of a series about exploring unusual approaches to early Linux boot processes.
Key quotes
· 3 pulledTo replace your Linux installation with a new OS, you can download a pre-prepared disk image directly to your disk by running a command like this: curl https://something.example/foo.img > /dev/sda
No need to save it anywhere first, just pipe it directly to the disk. Then you can reboot into that OS, and congratulations, you've installed a new OS.
This works even for most EFI machines without any further configuration.
You might also wanna read
Understanding Linux Compressed Swap: zswap vs zram Technical Comparison and Recommendations
This article provides expert guidance on Linux memory management technologies zswap and zram, explaining their fundamental differences and o
NixOS: Appreciating Deterministic Package Management and System Reproducibility
The article explains why the author loves NixOS, emphasizing that their appreciation stems primarily from the Nix package manager rather tha
modetc: A Linux Kernel Module for Relocating Dotfiles While Maintaining Compatibility
modetc is a Linux kernel module that allows users to move dotfiles and other files to different locations while maintaining compatibility wi
FZF-Powered Shell Aliases and Functions for Simplified Systemctl Commands
This article presents a collection of shell aliases and functions that use fzf (fuzzy finder) to simplify systemctl commands for managing sy
Debian 13 Trixie Moves /tmp Directory to Memory-Based tmpfs Filesystem
Debian 13 "Trixie" introduces a significant change where the /tmp directory is now mounted as tmpfs, meaning it resides in memory (RAM) rath
How to Install Ubuntu Server 26.04 on Raspberry Pi: A Step-by-Step Guide
A practical guide for installing Ubuntu Server 26.04 on Raspberry Pi models. The article covers using Raspberry Pi Imager or direct download
