If your keyboard has Sound Off key, you may use it before shutdown, and it may stay in effect after the boot. enter image description here

If the above does not apply to your computer model, then there is no software solution.

Note that silencing the beeper may also prevent notifications if other errors arrive.