this sort of unhinged fuckery is what i live for

bring on the crazy

https://astrid.tech/2026/03/24/0/curl-to-dev-sda/

curl > /dev/sda

How I made a Linux distro that runs `wget | dd`

astrid dot tech
@Viss my top tip on a Debian based system. Use debootstrap to install a minimal root folder onto tmpfs (eg in /run/ramdisk). Bind mount proc, says and dev into there and then chroot into it. Now you have a functioning shell which won't explode on you. Echo 'u' into proc sysrq-trigger to remount root read-only. Splat /dev/sda in relative safety. It's been a while since I actually did this at work but hopefully it still basically works. Luckily I can no longer remember WHY I did this. Hmm.