Maximillian Laumeister
Illustration of Miku the bird-fox shouting through a megaphone while flying in the sky

Grub Init Tune - Mario Bros. Mushroom Powerup

This Grub Init Tune will make your computer sound like a Super Mushroom every time you turn it on! This only works for the Grub bootloader - this generally means you need to have Linux (or other Grub-based OS) installed.

Here’s the code:

GRUB_INIT_TUNE="1750 523 1 392 1 523 1 659 1 784 1 1047 1 784 1 415 1 523 1 622 1 831 1 622 1 831 1 1046 1 1244 1 1661 1 1244 1 466 1 587 1 698 1 932 1 1195 1 1397 1 1865 1 1397 1"

Installation Instructions

Instructions adapted from john at iavit.org:

  1. Edit the file /etc/default/grub. At the end there are lines like the following:

     # Uncomment to get a beep at grub start
     # GRUB_INIT_TUNE="480 440 1"
    
  2. Replace the # GRUB_INIT_TUNE="480 440 1" line with the new GRUB_INIT_TUNE provided above (make sure to remove the “#” from the beginning of the line, as well). Save the file and exit your text editor.

  3. Open a terminal window and issue the following command to reload the config file: sudo update-grub

  4. Reboot. You should hear the init tune when the grub menu appears.

(originally published Dec 11, 2014)

Comments