The installation of grub2 fails when _any_ snapshot is present. Not only
on the root filesystem (or boot), not even mounted. In my system it was
a snapshot of a WinXP volume used by KVM. Deleting it worked just fine.

r...@lxbsc02:/# grub-install /dev/sda
/usr/sbin/grub-probe: error: no mapping exists for `wdc750g-root'.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.

r...@lxbsc02:~# lvs
  LV             VG      Attr   LSize   Origin    Snap%  Move Log Copy%  Convert
  home           wdc750g -wi-ao  40,00g                                         
  kvm-winxp      wdc750g owi-a-  20,00g                                         
  kvm-winxp-snap wdc750g swi-a-   8,00g kvm-winxp  10,81                        
  root           wdc750g -wi-ao  20,00g                                         
  swap           wdc750g -wi-ao   4,00g                                         
  torrent        wdc750g -wi-ao 200,00g                                         

r...@lxbsc02:~# lvremove wdc750g/kvm-winxp-snap
Do you really want to remove active logical volume kvm-winxp-snap? [y/n]: y
  Logical volume "kvm-winxp-snap" successfully removed
r...@lxbsc02:~# grub-install /dev/sda
Installation finished. No error reported.

This is a clusterf*ck of a bug.

-- 
Disk not found when booting mdadm RAID1 with snapshotted lvm volume
https://bugs.launchpad.net/bugs/563895
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to