I’m working my way through installing EndeavourOS on a 2011 Macbook Air which has been totally erased from our ISO install (which has given new life to this beauty). Since I had also wiped the NVRAM settings of the laptop the startup sound would chime every cold boot or restart which can be disturbing.
Below are my notes on how to do this (which I tested). Thought best to share here just in case anyone else has recommendations (as I primarily roll with Lenovo).
How to Mute Macbook Startup Chime from Linux
The following steps will allow you to mute the Apple startup chime when cold booting or restarting your Apple device. This was tested on an 2011 Macbook Air.
- Install efivar utility:
sudo pacman -S efivar
- Switch to root:
sudo su
- Set Chime setting to be editable:
sudo chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
- Set the Chime value to mute:
sudo printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
- Set Chime setting to read-only again.
sudo chattr +i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
Note:
- You can use the key combination of <Command + Option + P + R> to reset the Apple\Macbook NVRAM to reset this setting.
Source:
#apple #sound