[Bug 759545] Re: user prompted to update unmodified grub configuration during Ubuntu server upgrade

Ben Howard 759545 at bugs.launchpad.net
Wed Feb 15 19:56:37 UTC 2012


Regarding comment #13 --  The error messages are cosmetic. It is caused
by the "virtual" partitions in EC2, where a raw disk is presented as a
/dev/{s,xv}da1 when /etc/kernel/*/zz-update-grub is executed. The kernel
update script that handles the kernel updates on EC2 is /etc/kernel/*/x
-grub-legacy-ec2. On both instance-store and EBS instances, there is no
need for to run zz-update-grub, since the paravirtual grub (pvgrub) is
being run outside the instance.  However for HVM instances, we are using
Grub2 to boot the images.

Essentially, the scripts should be mutually exclusive. In order to fix
this problem, there needs to be a mechanism for deciding which one
should run -- for example if it is running on bare metal or HVM, then it
would run the zz-update-grub, but if it was running on EC2-like
hardware, it would run x-grub-legacy-ec2.

-- 
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/759545

Title:
  user prompted to update unmodified grub configuration during Ubuntu
  server upgrade

Status in Release Notes for Ubuntu:
  Fix Released
Status in “grub2” package in Ubuntu:
  Triaged
Status in “grub2” source package in Natty:
  Won't Fix
Status in “grub2” source package in Oneiric:
  Triaged
Status in “grub2” source package in Precise:
  Triaged

Bug description:
  Binary package hint: grub2

  During a server upgrade with 'do-release-upgrade -d' from maverick to
  natty the user is prompted by debconf to update grub-pc the
  configuration file /etc/default/grub. But it was a fresh installation
  of maverick and the original configuration has not been changed before
  the upgrade.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub-pc 1.99~rc1-12ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
  Uname: Linux 2.6.38-8-generic-pae i686
  Architecture: i386
  Date: Wed Apr 13 09:59:10 2011
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to natty on 2011-04-13 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/759545/+subscriptions




More information about the foundations-bugs mailing list