GRUB2: set Super Mario as startup tune

echo "GRUB_INIT_TUNE=\"1000 334 1 334 1 0 1 334 1 0 1 261 1 334 1 0 1 392 2 0 4 196 2\"" | sudo tee -a /etc/default/grub > /dev/null && sudo update-grub

23
By: stanix
2011-04-12 12:47:04

1 Alternatives + Submit Alt

What Others Think

untested, but if this works, the awesomeness could only be exceeded by changing the startup tune to the imperial death march
linuxrawkstar · 608 weeks and 1 day ago
Can anyone confirm if this works?
leovailati · 608 weeks and 1 day ago
This feature is documented at https://help.ubuntu.com/community/Grub2 , so it's for real. It is worth pointing out that the docs say that the Grub menu will not be displayed until after the music is done playing. Be aware of this when composing long into tunes.
smithadmin · 608 weeks and 1 day ago
yes, it works!
cd1 · 608 weeks ago
Does this work in Fedora14?
dtolj · 607 weeks and 5 days ago
@dtoli if you hav grub2 installed then yes! What I'm interested in knowing is, will it work in burg? I'm going to try it out later.
sinisterstuf · 607 weeks and 4 days ago
@sinisterstuf: it works for burg replace grub by burg and it will work
halohell · 607 weeks and 3 days ago
Found elsewhere: GRUB_INIT_TUNE="480 900 2 1000 2 800 2 400 2 600 3" for the "Close Encounters" greeting message. Sure would be nice to cat /dev/dsp somehow to test these tunes without rebooting.
Mozai · 606 weeks and 2 days ago
"sure would be nice to ..." Ha! instead of waiting, I figured it out myself. Pity that the GRUB2 wiki is down, else I'd add it there. It's too long to be a one-liner; pity I can't use it to curry favour with this website. tune="480 900 2 1000 2 800 2 400 2 600 3"; f="";tmpdir=$(mktemp -d);for d in $tune;do if [ ! "$t" ];then t=$d;elif [ ! "$f" ];then f=$d;else sox -U -r 8000 -n -t raw - synth $(echo "$d*(60/$t)"|bc -l) sine $f >>$tmpdir/grubtune.ul;f="";fi;done;sox -c1 -r 8000 $tmpdir/grubtune.ul $tmpdir/grubtune.au;play -q $tmpdir/grubtune.au;/bin/rm -r $tmpdir
Mozai · 606 weeks and 2 days ago
Hint: divide/multiply every second number by 2 to get a lower/higher octave :)
stanix · 605 weeks and 5 days ago
Amazing. This worked like a charm
nssy · 605 weeks and 2 days ago
Star Wars Imperial Death March: GRUB_INIT_TUNE="480 440 4 440 4 440 4 349 3 523 1 440 4 349 3 523 1 440 8 659 4 659 4 659 4 698 3 523 1 415 4 349 3 523 1 440 8"
Striek · 600 weeks and 2 days ago
:D
sputnick · 600 weeks and 1 day ago
tee is used when you need to print to STDOUT _and_ a file. Using it with sudo like this just adds an unneeded program into the mix. The alternative, passing all the commands to sudo as a string to be execute by bash, is somewhat better but still awkward.
dbbolton · 590 weeks and 3 days ago
this one work with fedora i think. https://digitalsignbrothers.com/
dayothomas857 · 78 weeks and 6 days ago
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. Geronimo Stilton Books
xolabemo · 57 weeks and 3 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. Milano Seo
xolabemo · 54 weeks and 5 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.pre-IPO shares
xolabemo · 54 weeks and 5 days ago
Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.. Huiswerkbegeleiding
xolabemo · 54 weeks and 2 days ago
I know your expertise on this. I must say we should have an online discussion on this. Writing only comments will close the discussion straight away! And will restrict the benefits from this information. valves manufacturers in uae
xolabemo · 53 weeks and 4 days ago
Nice to read your article! I am looking forward to sharing your adventures and experiences. https://mylifelogin.org/
xolabemo · 53 weeks and 4 days ago
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think. Bathroom Supplies
xolabemo · 53 weeks ago
Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. Walworth valves supplier
xolabemo · 52 weeks ago
I was looking at some of your posts on this website and I conceive this web site is really instructive! Keep putting up.. double sided tape suppliers
xolabemo · 51 weeks and 5 days ago
I gotta favorite this website it seems very helpful . double sided tape wholesale
xolabemo · 51 weeks and 5 days ago
I gotta favorite this website it seems very helpful . double sided tape suppliers
xolabemo · 51 weeks and 5 days ago
Thanks for your insight for your fantastic posting. I’m glad I have taken the time to see this. vendita pneumatici online
xolabemo · 51 weeks and 1 day ago
This is a truly good site post. Not too many people would actually, the way you just did. I am really impressed that there is so much information about this subject that have been uncovered and you’ve done your best, with so much class. If wanted to know more about green smoke reviews, than by all means come in and check our stuff. vendita pneumatici online
xolabemo · 51 weeks and 1 day ago
I love the way you write and share your niche! Very interesting and different! Keep it coming! www.headquarterscomplaints.org
xolabemo · 51 weeks and 1 day ago
Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work. wwwroblox.com redeem
xolabemo · 50 weeks and 4 days ago
That is really nice to hear. thank you for the update and good luck. JDA Demand Fulfillment Training
xolabemo · 49 weeks and 4 days ago
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. Python Online Job Support from India
xolabemo · 48 weeks ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.minecraft skindex
xolabemo · 48 weeks ago
Great content material and great layout. Your website deserves all of the positive feedback it’s been getting. https://www.createemailaccounts.net
xolabemo · 47 weeks and 6 days ago
I gotta favorite this website it seems very helpful . UiPath freelancer
xolabemo · 47 weeks and 3 days ago
This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it https://www.roadrunneremails.org/
xolabemo · 45 weeks and 1 day ago
What a great Super Mario tune up. Sharing also this great landscaping company https://landscapingcarlislepa.com/
JessLyn111 · 42 weeks and 5 days ago
An fascinating discussion is value comment. I think that it is best to write extra on this matter, it won’t be a taboo topic however generally people are not enough to talk on such topics. To the next. Cheers ibm blueworks training
xolabemo · 40 weeks ago
Merely a smiling visitant here to share the love (:, btw outstanding style. Stunning Master Bedroom Decorating Ideas
xolabemo · 37 weeks ago
Merely a smiling visitant here to share the love (:, btw outstanding style. Amazing Small House Kitchen Designs
xolabemo · 37 weeks ago
Impressive web site, Distinguished feedback that I can tackle. I am moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards. Incredible Bathroom Decorating Ideas
xolabemo · 36 weeks and 6 days ago
Impressive web site, Distinguished feedback that I can tackle. I am moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards. Master Bathroom Remodel Ideas with Relaxing Tub
xolabemo · 36 weeks and 6 days ago
This is great! Thanks for sharing it on this awesome website. dog bite attorney water heater repair
frank214 · 30 weeks and 1 day ago
What a great Super Mario start up tune! https://www.welldrillingmidlandtx.com/well-maintenance-inspection/
RogerGordon00 · 24 weeks ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
rahimhh21 · 14 weeks and 4 days ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies baby pug puppies for sale pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
Perfecthomepugs · 5 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: