-
43 votes
-
TIL that you can have a "chiptunes" like music play when GRUB (bootloader) loads
I had to use the Arch Linux live boot usb today and I was pleasantly surprised to hear a short beepy music play when it got booted. It felt quite welcoming! In my particular case, it served quite...
I had to use the Arch Linux live boot usb today and I was pleasantly surprised to hear a short beepy music play when it got booted. It felt quite welcoming!
In my particular case, it served quite useful too as my laptop currently does not have an internal display, and nothing shows up on the external HDMI monitor until after the OS boots up, so it was quite reassuring as well.
I have now configured my GRUB to play a small sound as well (since I have multiple bootloaders installed).
How To
- You need to edit the config file
/etc/default/grub
. - If you simply un-comment the line starting with
GRUB_INIT_TUNE
, it will enable the default tune which is a single and very short "beep" sound. - Or, you can edit that line to have it how you want. Some suggestions: https://jdnash.com/api-makers/grub_init_tune-necropolis/
- Then update the grub config (requires root):
grub-mkconfig -o /boot/grub/grub.cfg
And you're done.
Relevant Arch Wiki: https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Play_a_tune
30 votes - You need to edit the config file
-
Fixing GRUB / Bad Kernels
A few months ago I got a new to me HP Proliant ML310e Gen8. For the most part it works well, but I went to add some drives to it yesterday and grub / whateverthefuck doesn't like the one and only...
A few months ago I got a new to me HP Proliant ML310e Gen8. For the most part it works well, but I went to add some drives to it yesterday and grub / whateverthefuck doesn't like the one and only kernel that is installed.
I'm running Ubuntu 20.04. I looked around saw guides like this. this, and this -- but I'm not sure if this will fix the issue.
After grub I get the ol'
---[end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
I think I need to run something with initramfs or something, but I just want to be sure before I go messing around.
The bad kernel listed is 5.11.0-27-generic. I'm a little out of my element with this part of things.
2 votes