[Bug 563895] Re: grub2 fails to boot or install when an LVM snapshot exists

nutznboltz 563895 at bugs.launchpad.net
Sat Jan 21 00:58:11 UTC 2012


> Why aren't they testing now? What could be wrong?

Wait! Maybe it's that they are all stupid!  Yeah, that's it they're too
stupid to test.  Don't worry stupid people, I'll do your testing for
you.

nutz at lp-563895:~$ apt-cache policy grub-pc
grub-pc:
  Installed: 1.98-1ubuntu13
  Candidate: 1.98-1ubuntu13
  Version table:
 *** 1.98-1ubuntu13 0
        100 /var/lib/dpkg/status
     1.98-1ubuntu12 0
        900 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
     1.98-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
ksta at lp-563895:~$ apt-cache policy grub-pc grub-common
grub-pc:
  Installed: 1.98-1ubuntu13
  Candidate: 1.98-1ubuntu13
  Version table:
 *** 1.98-1ubuntu13 0
        100 /var/lib/dpkg/status
     1.98-1ubuntu12 0
        900 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
     1.98-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
grub-common:
  Installed: 1.98-1ubuntu13
  Candidate: 1.98-1ubuntu13
  Version table:
 *** 1.98-1ubuntu13 0
        100 /var/lib/dpkg/status
     1.98-1ubuntu12 0
        900 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
     1.98-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
nutz at lp-563895:~$ sudo grub-install /dev/vda
Installation finished. No error reported.
nutz at lp-563895:~$ lsb_release -ds ; uname -a
Ubuntu 10.04.3 LTS
Linux lp-563895 2.6.32-37-server #81-Ubuntu SMP Fri Dec 2 20:49:12 UTC 2011 x86_64 GNU/Linux

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

Title:
  grub2 fails to boot or install when an LVM snapshot exists

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

Bug description:
  SRU Justification:

  Impact: When /boot and / are in an LVM VG and a snapshot is made of an
  LVM LV in that VG the system will not boot and grub can not be
  modified (updated, reinstalled) until all snapshots are removed.

  Testcase:

  Binary package hint: grub2

  Steps to reproduce:

  - (Lucid beta2 installed from CD)
  - Take a snapshot of any volume
  - on reboot:
    error: fd0 read error.
    error: no such disk.
    grub rescue>
  - Use the rescue cd to get a root shell
  - Remove the snapshot and reboot
  Now, the system boots. Create a new snapshot to repeat.

  The system has 2 SATA disks in mdadm RAID1 configuration with 1 lvm
  volume on top and no 'normal' partitions.

  Also see Comment #6
  https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/563895/comments/6

  Fix: See debdiff patch
  https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/563895/+attachment/2589269/+files/grub2_1.98-1ubuntu12.1.debdiff

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




More information about the foundations-bugs mailing list