š¾ GRUB Invaders: Because Bootloaders Deserve to Have Fun Too
You know how you can make your bootloader sing a little tune?
Well⦠what if instead of music, you could make it play Space Invaders?
Yes, thatās a real thing.
Itās called GRUB Invaders, and it runs before your operating system even wakes up.
Because who needs Linux when you can blast aliens straight from your BIOS screen? š
š¶ From Tunes to Lasers
In a previous post ā āResurrecting My Windows Partition After 4 Years š„ļøš®ā ā
I fell down a delightful rabbit hole while editing my GRUB configuration.
Thatās where I discovered GRUB_INIT_TUNE, spent hours turning my PC speaker into an 80s arcade machine, and learned far more about bootloader acoustics than anyone should. š
So naturally, the next logical step was obvious:
if GRUB can play music, surely it can play games too.
Enter: GRUB Invaders. š¾š„
š§© What the Heck Is GRUB Invaders?
grub-invaders is a multiboot-compliant kernel game ā basically, a program that GRUB can launch like itās an OS.
Except itās not Linux, not BSD, not anything remotely usefulā¦
itās a tiny Space Invaders clone that runs on bare metal.
To install it (on Ubuntu or Debian derivatives):
sudo apt install grub-invaders
Then, in GRUBās boot menu, itāll show up as GRUB Invaders.
Pick it, hit Enter, and bam! ā no kernel, no systemd, just pew-pew-pew.
Your CPU becomes a glorified arcade cabinet. š¹ļø

š ļø How It Works
Under the hood, GRUB Invaders is a multiboot kernel image (yep, same format as Linux).
That means GRUB can load it into memory, set up registers, and jump straight into its entry point.
Thereās no OS, no drivers ā just BIOS interrupts, VGA mode, and a lot of clever 8-bit trickery.
Basically: the game runs in real mode, paints directly to video memory, and uses the keyboard interrupt for controls.
Itās a beautiful reminder that once upon a time, you could build a whole game in a few kilobytes.
š§® Technical Nostalgia
Installed size?
Installed-Size: 30
Size: 8726 bytes
Yes, you read that right: under 9 KB.
Thatās less than one PNG icon on your desktop.
Yet itās fully playable ā proof that programmers in the ā80s had sorcery weāve since forgotten. š§āāļø
The package is ancient but still maintained enough to live in the Ubuntu repositories:
Homepage: http://www.erikyyy.de/invaders/
Maintainer: Debian Games Team
Enhances: grub2-common
So you can still apt install it in 2025, and it just works.
š§ Why Bother?
Because you can.
Because sometimes itās nice to remember that your bootloader isnāt just a boring chunk of C code parsing configs.
Itās a tiny virtual machine, capable of loading kernels, playing music, and ā if youāre feeling chaotic ā defending the Earth from pixelated aliens before breakfast. ā
Itās also a wonderful conversation starter at tech meetups:
āOh, my GRUB doesnāt just boot Linux. It plays Space Invaders. What does yours do?ā
āļø A Note on Shenanigans
Donāt worry ā GRUB Invaders doesnāt modify your boot process or mess with your partitions.
Itās launched manually, like any other GRUB entry.
When youāre done, reboot, and youāre back to your normal OS.
Totally safe. (Mostly. Unless you lose track of time blasting aliens.)
š TL;DR
grub-invaderslets you play Space Invaders in GRUB.- Itās under 9 KB, runs without an OS, and is somehow still in Ubuntu repos.
- Totally useless. Totally delightful.
- Perfect for when you want to flex your inner 8-bit gremlin.

