black screen on 11.04 upgrade

Just have a time to upgrade my desktop to 11.04 after reboot i get black screen. ebbr.bugs from ubuntuforums said this bcoz nvidia driver was intstalled as a package not a drivers. so this two commands will help

sudo apt-get install --reinstall linux-headers-'uname -r'
sudo apt-get install --reinstall linux-image-'uname -r'

and it fix my problem :)