You are not logged in.
Pages: 1
Topic closed
When I boot the iso from USB, on the countdown screen, there is large beep noise when the menu first show up and when the timer is counting. Also I see something like "ACPI BIOS error" before menu show up if it related. How can I disable large beep noise? And what does that error means, is it come from my hardware or from the iso?
Last edited by Kritiqual (2022-08-06 13:15:25)
Offline
Offline
The beep is made by GRUB, so from jasonwryan's linked options, only "physically" would work. Or if it's an emulated PC speaker, like laptops have, then maybe it can be disabled in firmware settings.
Offline
Thanks, only disable it in firmware setting worked
Offline
echo "blacklist pcspkr" | sudo tee /etc/modprobe.d/nobeep.conf && sudo rmmod pcspkr
Offline
echo "blacklist pcspkr" | sudo tee /etc/modprobe.d/nobeep.conf && sudo rmmod pcspkr
Sorry, but that's not work on iso
Offline
You can edit the .../EFI/BOOT/grub.cfg file on the flash drive and remove or comment the line with the playcommand. Mine was around the line 29.
...
# GRUB init tune for accessibility
# play 600 988 1 1319 4
...
Last edited by eduhoribe (2022-08-12 23:52:15)
Offline
You can edit the .../EFI/BOOT/grub.cfg file on the flash drive and remove or comment the line with the playcommand. Mine was around the line 29.
... # GRUB init tune for accessibility # play 600 988 1 1319 4 ...
Does this save across boot?
Offline
eduhoribe wrote:You can edit the .../EFI/BOOT/grub.cfg file on the flash drive and remove or comment the line with the playcommand. Mine was around the line 29.
... # GRUB init tune for accessibility # play 600 988 1 1319 4 ...
Does this save across boot?
From the USB environment itself probably not, though you can do it through other means. I myself haven't edited a live OS usb drive from another.
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
I came up with some hopefully generic hacky steps that should be able to do this for future ISOs. It basically searches the ISO file for the GRUB play command and comments it out. It means when you then write the ISO to the USB stick it will be silent, permanently.
Here are the commands I used:
# Search the ISO for the byte offset of the GRUB "play 600" command.
$ grep -a -b -o "play 600" archlinux-x86_64.iso
799509406:play 600
# Confirm the byte offset from the previous command is correct, we should see "play" here.
$ dd if=archlinux-x86_64.iso skip=799509406 bs=1 count=4 status=none
play
# Overwrite the byte at the above offset with a hash to comment out the line.
# conv=notrunc is important otherwise it will cut off (truncate) the rest of
# the ISO file after the modified byte.
$ echo '#' | dd of=archlinux-x86_64.iso seek=799509406 bs=1 count=1 conv=notrunc
1+0 records in
1+0 records out
1 byte copied
# Read the data again (same command as above) to confirm the byte got
# overwritten - "play" should now be "#lay".
$ dd if=archlinux-x86_64.iso skip=799509406 bs=1 count=4 status=none
#lay
# Now the ISO won't play the sound and can be written to a USB stick as normal.
You can also run the commands directly on the USB stick instead of the ISO if you already wrote it to the drive, just replace the ISO filename above with the path to the USB stick, e.g. /dev/sdf.
Offline
Closing this old solved thread.
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline
Pages: 1
Topic closed