Failed to start Load Kernel Modules

Hello @The_Quantum_Alpha. I am experiencing the failure to load kernel modules error on boot as well. I also found this post but as I am not an expert with linux, I am struggling to interpret the suggested solution.

I tried your recommend solution, but on pacman -R linux54 it errors with:

checking dependencies…
:: removing linux54 breaks dependency ‘linux54’ required by linux54-nvida-340xx
:: removing linux54 breaks dependency ‘linux54’ required by linux54-virtualbox-host-modules

It was suggested to me to use mhwd-kernel -r linux54 instead. With that in mind, would the following be the correct command to resolve the load kernel modules error?

sudo pacman -S linux510 && mkinitcpio -P && mhwd-kernel -r linux54 && mkinitcpio -P && pacman -S linux54 && mkinitcpio -P && pacman -R linux510 && mkinitcpio -P

Thanks!