Update grub menu after kernel updates on Ubuntu 9.10
As we all know, after each kernel update we must use a sudo apt-get autoremove to get rid of the old kernel images. This, however, does not take care of the grub menu which is updated with the new kernel along side with the old kernel entries.
To update the grub menu, you must use the update-grub command because you can no longer edit the menu by hand in grub 2. In fact, if you search for the /boot/grub/menu.lst you will not find it. In grub 2 you have a configuration file, /boot/grub/grub.cfg, which you cannot edit even as root.
To summarize, run sudo update-grub to update your grub boot menu. It will automatically find the existing kernels and other operating systems you may have along side Ubuntu.
Take care.
Related posts
![[del.icio.us]](http://insanityville.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://insanityville.com/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://insanityville.com/wp-content/plugins/bookmarkify/diigo.png)
![[Facebook]](http://insanityville.com/wp-content/plugins/bookmarkify/facebook.png)
![[Friendsite]](http://insanityville.com/wp-content/plugins/bookmarkify/friendsite.png)
![[LinkedIn]](http://insanityville.com/wp-content/plugins/bookmarkify/linkedin.png)
![[Reddit]](http://insanityville.com/wp-content/plugins/bookmarkify/reddit.png)
![[Simpy]](http://insanityville.com/wp-content/plugins/bookmarkify/simpy.png)
![[Slashdot]](http://insanityville.com/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://insanityville.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Twitter]](http://insanityville.com/wp-content/plugins/bookmarkify/twitter.png)
![[Email]](http://insanityville.com/wp-content/plugins/bookmarkify/email.png)







