** Description changed:

  I had 2.6.35-25 installed on a few machines, and found it wasn't really
- what I needed, and wanted to go back to 2.6.23-xx, so I just uninstalled
+ what I needed, and wanted to go back to 2.6.32-xx, so I just uninstalled
  (apt-get remove --purge) the 2.6.35 image. This ran grub-update as
  normal. After reboot, grub tried and failed to start 2.6.35-25.
  Rebooting on a rescue CD showed /boot/grub/grub.cfg was the same old one
  since I installed 2.6.35-25. Running grub-update manually didn't change
  this either. The fix was to run grub-mkconfig -o /boot/grub/grub.cfg
  directly, even though the documentation at
  https://help.ubuntu.com/community/Grub2 says this is done with grub-
  update.
  
  I think this needs to be fixed, because without it, it may render a
  system unbootable. If grub-update could be made to check for the
  presence of the kernel files, or perhaps just run grub-mkconfig for each
  update, that'd be preferable.
  
  roy
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: grub-pc (not installed)
  ProcVersionSignature: Ubuntu 2.6.32-33.72-server 2.6.32.41+drm33.18
  Uname: Linux 2.6.32-33-server x86_64
  Architecture: amd64
  Date: Thu Aug 25 09:26:38 2011
  InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 
(20110211.1)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/csh
  SourcePackage: grub2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833562

Title:
  grub-update doesn't check for removal of kernels

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/833562/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to