The contents of the is stolen directly from the Debian user forum.
To disable the system beep, blacklist the module snd_pcsp. Add the following to /etc/modprobe.d/blacklist:
blacklist snd_pcsp