[Bug 591202] Re: Grub update fails ("hideously") on usb-creator images

Ubuntu QA's Bug Bot bug-stats at murraytwins.com
Mon Sep 19 21:22:51 UTC 2011


** Tags added: testcase

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

Title:
  Grub update fails ("hideously") on usb-creator images

Status in “grub2” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Lucid:
  Fix Released
Status in “grub2” source package in Maverick:
  Fix Committed

Bug description:
  Binary package hint: grub2

  When dist-upgrading a usb-creator USB system, grub gives very bad
  advice about where to install the updated grub, and then fails when
  the USB partitions are specified.

  SRU justification:

  Impact: Significant confusion.  It's (probably) possible to get this
  upgrade to do the right thing, but it's certainly not obvious.

  Development branch: Fixed in grub2 1.99~rc1-1ubuntu1 with a pair of
  fixes, both straightforwardly backportable:

    * If we're upgrading and /boot/grub/core.img doesn't exist, then don't ask
      where to install GRUB, since it probably means we're in some kind of
      specialised environment such as a live USB stick (LP: #591202).
    * Drop the default priority of grub2/linux_cmdline to medium.  We only
      need to ask it if we're upgrading from GRUB Legacy and found an empty
      kopt in menu.lst (LP: #591202).

  Patch:
   http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/lucid/grub2/lucid/revision/1981?compare_revid=1978
   http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/maverick/grub2/maverick/revision/2050?compare_revid=2047

  TEST CASE: Create a live USB stick from 10.04.1 or 10.10 as released.
  Upgrade the grub-pc package to the current version.  The version
  currently in lucid-updates (1.98-1ubuntu9) and the version currently
  in maverick-updates (1.98+20100804-5ubuntu3) should ask confusing
  questions as described in the original report; the new version should
  install noninteractively, should not generate /boot/grub/core.img, and
  should not affect the system's current boot loader arrangements.

  Regression potential: It would be worth testing normal system upgrades
  (not on a live USB stick) to ensure that they still work properly.  In
  particular, the timestamp of /boot/grub/core.img should be updated
  when upgrading the grub-pc package.

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




More information about the foundations-bugs mailing list