Driver ‘pcspkr’ is already registered, aborting…

20 Dec

When running Linux inside a virtual machine you may see the following:
Error: Driver 'pcspkr' is already registered, aborting...

To resolve the issue we can simply instruct the kernel not to load the pcspkr module:

echo blacklist pcspkr >> /etc/modprobe.d/blacklist.conf

Just update boot files (with the new configuration):

update-initramfs -u -k all

Leave a Reply

Your email address will not be published.