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

Torsten Landschoff torsten at debian.org
Mon Aug 15 06:40:32 UTC 2011


While installation security updates to my lucid system, this made my
system unbootable last week. I spent half an hour today to make it
bootable again.

I booted from supergrubdisk which also failed to detect LVM (it usually
did). I ended up using Knoppix and noticed the leftover snapshot
(created via schroot) on boot, deleting it. I then tried to chroot into
my Lucid system which failed because Knoppix is i386 and my Lucid
install is amd64.

Rebooting with the Lucid installation medium, I was surprised that the
grub installation on my hard drive magically started to work again and
booted fine into my Lucid install.

I would deem this a really important problem and I am all for fixing it in Lucid given that a patch exists.
BTW: The snapshot name created by schroot is quite long, as it contains a UUID.

-- 
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” package in Debian:
  Fix Released

Bug description:
  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.

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