[Bug 808059] Re: update-grub is not run when kernel is installed or removed

Steve Langasek steve.langasek at canonical.com
Fri Jul 15 16:14:14 UTC 2011


This is fixed in the grub package in Debian, so merging that into Ubuntu
would solve this problem.  However, the grub package has gone quite a
long time without merge so this would be a lot of work - and bring with
it the question of whether the grub package should automatically upgrade
to grub-pc by default (which it now does in Debian).

I was unfamiliar with PyGrub.  It appears to be a tool that parses the
menu.lst and feeds the kernel information directly to the xen host for
booting.  That's certainly a use case that's difficult to address with
grub2!  It seems that PyGrub does have support for grub.cfg instead of
menu.lst nowadays, but that it will take some time before all hosting
providers are running it.

** Changed in: grub (Ubuntu)
   Importance: Undecided => High

** Changed in: grub (Ubuntu)
       Status: New => Triaged

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

Title:
  update-grub is not run when kernel is installed or removed

Status in “grub” package in Ubuntu:
  Triaged

Bug description:
  Most Xen hosters require legacy grub for PyGrub to work. I have grub
  package installed instead of grub-pc. I can manually run update-grub
  and it does the job correctly. But when new kernel is installed, or
  when old is removed, update-grub is not called. I lost my configured
  VPS after removing old kernel and forgetting to manually run update-
  grub. It should be run automatically, like when grub-pc package is
  installed.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: grub 0.97-29ubuntu60
  ProcVersionSignature: Ubuntu 2.6.32-316.31-ec2 2.6.32.38+drm33.16
  Uname: Linux 2.6.32-316-ec2 x86_64
  Architecture: amd64
  Date: Sat Jul  9 21:15:43 2011
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub

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




More information about the foundations-bugs mailing list