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

Colin Watson cjwatson at canonical.com
Tue Nov 15 14:04:03 UTC 2011


** Also affects: grub2 (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Changed in: grub2 (Ubuntu Lucid)
    Milestone: None => ubuntu-10.04.4

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
  New
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 Ubuntu-sponsors mailing list