break-and-fix linux labs // local KVM // no cloud, no account

A server is broken. Go fix it.

brokenbox gives you hands-on Linux troubleshooting practice on your own machine. Each scenario boots a fresh, disposable virtual machine, a setup script quietly breaks something, and you SSH in to find and fix it. When you think you're done, brokenbox check tells you if you solved it.

Everything runs locally with KVM and libvirt. There's no account and no cloud, and it doesn't cost anything.

[ boot ]A copy-on-write VM is cloned from a golden image in seconds.
[ break ]A hidden setup script runs as root and breaks something.
[ fix ]You SSH in as admin and work out what went wrong.
[ check ]A checker on the host verifies your fix and records your time.

No peeking

Setup and check scripts are piped to the VM over SSH stdin and never written to its disk. Expected answers stay on the host and are generated for each run, so you can't find the solution by grepping the box.

Reset anytime

Right after setup, brokenbox takes a memory-and-disk snapshot. If you make things worse, brokenbox reset puts the box back to its freshly broken state instantly.

Under the hood

debian-12-genericcloud.qcow2        # downloaded once, checksum-verified
  └─ brokenbox-golden.qcow2          # tools installed, services disabled
       └─ brokenbox-<scenario>.qcow2 # copy-on-write overlay per scenario