๐พ 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.

