I am using the official nVidia driver because my card (GeForce 750 Ti) isn't yet supported by the Ubuntu one. Every time the kernel updates, my system breaks.
I've formatted my system two-three times because of kernel updates and today I decided to try to fix it. I tried to fix it with this method and surprisingly it works.
Switch to console (After waiting for the nVidia driver to crash, as it does when you switch consoles :p)
Run a complete uninstall
sudo ./<DRIVER>.run -uninstall
Reboot and switch to the on-board card
Update
sudo apt-get update sudo apt-get dist-upgrade
Reboot again
Reinstall driver
sudo ./<DRIVER>.run
Reboot and switch back to the NVIDIA GPU
Is there a better/easier/faster way to update without going through all this?
sudo apt-get install nvidia-common
without difficult running and compilings. this driver is for Nvidia cards. You can also install the accelerated driver assudo apt-get install xserver-xorg-video-nouveau