Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Turn off Macbook startup sound - Linux
printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82
Copy link

Bios-Marcel commented Jan 9, 2019

Hey, this doesn't work, since not even root has the permission to change these :/

Could you lend your help here?

Copy link

jradmacher commented Mar 31, 2019

If someone else finds this Gist: You need to remove the immutable flag before writing.
chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82

Copy link

OdinElfson commented Jun 8, 2020

I've been looking all over the web, all day, for a solution to this--> jradmacher you're a genius. Thank you thank you!

Copy link

ngeorger commented Sep 14, 2021

Genius, thank you!

Copy link

Tarocafe commented Jan 9, 2022

Doesn't seems to work on the 2010 mbp,

dietpi@srv0:~$ chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82

chattr: Aucun fichier ou dossier de ce type while trying to stat /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82

(file not found) (I tried with sudo too)

dietpi@srv0:~$ sudo printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82

-bash: /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82: Permission non accordée

(no permissions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment