[Bug 833562] [NEW] grub-update doesn't check for removal kernels
RoyK
rsk at nilu.no
Thu Aug 25 07:34:29 UTC 2011
Public bug reported:
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
(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
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/833562
Title:
grub-update doesn't check for removal kernels
Status in “grub2” package in Ubuntu:
New
Bug description:
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 (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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/833562/+subscriptions
More information about the foundations-bugs
mailing list