You are not logged in.

#1 2022-08-04 02:50:16

Kritiqual
Member
Registered: 2021-09-10
Posts: 21

[Solved] How to disable beep noise when booting Archlinux iso?

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

#2 2022-08-04 02:55:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] How to disable beep noise when booting Archlinux iso?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-08-04 05:56:09

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 592

Re: [Solved] How to disable beep noise when booting Archlinux iso?

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

#4 2022-08-06 13:15:44

Kritiqual
Member
Registered: 2021-09-10
Posts: 21

Re: [Solved] How to disable beep noise when booting Archlinux iso?

Thanks, only disable it in firmware setting worked

Offline

#5 2022-08-08 07:01:57

mass_t
Member
Registered: 2015-04-21
Posts: 57

Re: [Solved] How to disable beep noise when booting Archlinux iso?

echo "blacklist pcspkr" | sudo tee /etc/modprobe.d/nobeep.conf && sudo rmmod pcspkr

Offline

#6 2022-08-08 09:57:22

Kritiqual
Member
Registered: 2021-09-10
Posts: 21

Re: [Solved] How to disable beep noise when booting Archlinux iso?

mass_t wrote:

echo "blacklist pcspkr" | sudo tee /etc/modprobe.d/nobeep.conf && sudo rmmod pcspkr

Sorry, but that's not work on iso

Offline

#7 2022-08-12 23:21:13

eduhoribe
Member
Registered: 2022-08-12
Posts: 1

Re: [Solved] How to disable beep noise when booting Archlinux iso?

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

#8 2022-08-15 19:17:39

Kritiqual
Member
Registered: 2021-09-10
Posts: 21

Re: [Solved] How to disable beep noise when booting Archlinux iso?

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?

Offline

#9 2022-08-18 02:32:06

JaydenDev
Member
Registered: 2022-07-11
Posts: 172

Re: [Solved] How to disable beep noise when booting Archlinux iso?

Kritiqual wrote:
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

#10 2023-08-15 16:18:17

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 189
Website

Re: [Solved] How to disable beep noise when booting Archlinux iso?

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

#11 2023-08-15 16:21:52

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [Solved] How to disable beep noise when booting Archlinux iso?

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

Board footer

Powered by FluxBB