Because my blog is not written by an AI, I'll get straight to the point: Fedora (and other RH-based distros) do not load the "play" module in their variant of GRUB, but it does exist in the grub2-efi-x64-modules package. So what you have to do is make GRUB load it. Here's how:
1. Append "GRUB_PRELOAD_MODULES=play" to the start of /etc/default/grub
2. Enter your EFI boot data partition - usually mounted in /boot/efi
3. Make the folder "x86_64-efi" in /boot/efi/EFI/fedora
4. Copy the "play" module (play.mod) in /usr/lib/grub/x86_64-efi to this new folder at /boot/efi/EFI/fedora/x86_64-efi
5. Remake your GRUB config - which you should know how to do, if you've got here after setting GRUB_INIT_TUNE and finding it didn't work. But in case you don't, run the following with sudo:
grub2-mkconfig -o /etc/grub2.cfg
grub2-mkconfig -o /etc/grub2-efi.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg
6. Reboot & hear your computer sing!
If your GRUB_INIT_TUNE still does not play, yet you do not see any errors from GRUB, try using "beep" in a terminal to see if your hardware even processes pcspkr buzzer commands - for example, some laptops either do not process pcspkr/bell commands, or they output them from the inbuilt media speakers instead.
For whoever else is like me & has this same odd use case, just like I did, hope this helps!
The reason I bother with writing these posts, short and simple, is because I didn't manage to find the solution until I came up with it myself. Because after all the googling & manual-reading, the solution I found was one not written in anything & not posted on some niche forum somewhere. So I go out of my way to put it on my niche blog, in the hopes that the odd someone encountering the same odd issue I did, finds my solution & has it fix their issue too. So if this helped you, consider checking out some of my other unrelated ventures: linktr.ee/blanknam3d
No comments:
Post a Comment