Yes, I have had this bug on a system without any RAID (neither hardware
nor mdraid) running Lucid amd64. And I can reproduce it on that
particular box.

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

r...@lxbsc02:~# lvcreate -s -L 2G -n kvm-winxp-fresh wdc750g/kvm-winxp
  Logical volume "kvm-winxp-fresh" created
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:~# lvremove wdc750g/kvm-winxp-fresh
Do you really want to remove active logical volume kvm-winxp-fresh? [y/n]: y
  Logical volume "kvm-winxp-fresh" successfully removed
r...@lxbsc02:~# grub-install /dev/sda
Installation finished. No error reported.


Oddly enough I cannot reproduce it on my system at home, which is also running 
Lucid.

r...@pest:~# lvs
  LV        VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  btrfs     wdc  -wi-a-  32,00g                                      
  home      wdc  -wi-ao  16,00g                                      
  karmic    wdc  -wi-ao  16,00g                                      
  karmicold wdc  -wi-a-  16,00g                                      
  swap      wdc  -wi-ao   2,00g                                      
  videos    wdc  -wi-a- 100,00g                                      
  vm-winxp  wdc  -wi-a-  21,00g                                      
r...@pest:~#  lvcreate -s -L 2G -n kvm-winxp-fresh wdc750g/vm-winxp
  Volume group "wdc750g" not found
r...@pest:~# grub-install /dev/sda
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
error: cannot open `/dev/sdb' while attempting to get disk size.
Installation finished. No error reported.

Yes, the VG/LV names are a bit different. I tried making the snapshot LV
name very long, did not change anything.

-- 
grub2 fails to boot or install when an LVM snapshot exists
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