[Bug 1287436] Re: grub-probe fails in the presence of snapshot logical volumes

Colin Watson cjwatson at canonical.com
Thu Apr 10 15:31:11 UTC 2014


I initially thought that this was due to the LVM metadata parsing
improvements in 2.02~beta2, but upon inspection the low-level tools were
producing the same results in both 2.00 and 2.02~beta2.  In fact this
bug was introduced by 55e706c918922def17f5012c23cfe88c4c645208, which
caused /etc/grub.d/30_os-prober to fail if --target=fs_uuid fails.  I'll
make it tolerate this instead, which is closer to what it did before.

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

Title:
  grub-probe fails in the presence of snapshot logical volumes

Status in “grub2” package in Ubuntu:
  New

Bug description:
  Found in: 2.02~beta2-6

  My upgrade from saucy to trusty ran into problems, with grub-probe
  failing with "unknown filesystem", which propogated up to cause the
  kernel install to fail, resulting in a machine where I cannot install
  packages.  After some debugging:

  (missing here is the trace of it failing with the original snapshot in
  place, that I created to give me a way back in the event that trusty
  hated me horribly.)

  -rover3(root) 351 : update-grub
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.13.0-13-generic
  Found initrd image: /boot/initrd.img-3.13.0-13-generic
  Found linux image: /boot/vmlinuz-3.11.0-17-generic
  Found initrd image: /boot/initrd.img-3.11.0-17-generic
  Found memtest86+ image: /memtest86+.elf
  Found Ubuntu 12.04.1 LTS (12.04) on /dev/mapper/rover3-p
  Found Ubuntu 13.04 (13.04) on /dev/mapper/rover3-root
  Found Ubuntu 13.10 (13.10) on /dev/mapper/rover3-saucy--that--was
  done
  -rover3(root) 352 : lvcreate -s /dev/rover3/saucy -L 30G -n saucy-save
    Logical volume "saucy-save" created
  -rover3(root) 353 : update-grub
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.13.0-13-generic
  Found initrd image: /boot/initrd.img-3.13.0-13-generic
  Found linux image: /boot/vmlinuz-3.11.0-17-generic
  Found initrd image: /boot/initrd.img-3.11.0-17-generic
  Found memtest86+ image: /memtest86+.elf
  grub-probe: error: unknown filesystem.
  Found Ubuntu 12.04.1 LTS (12.04) on /dev/mapper/rover3-p
  Found Ubuntu 13.04 (13.04) on /dev/mapper/rover3-root
  /usr/sbin/grub-probe: error: unknown filesystem.
  -rover3(root) 354 : 

  Bug # 563895 may or may not be relevant.

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



More information about the foundations-bugs mailing list