[Bug 1318568] Re: grub upgrade fails with lvm on top of dmraid

Данило Шеган 1318568 at bugs.launchpad.net
Mon Mar 21 08:26:14 UTC 2016


I had this problem as well with software raid after recent upgrade to
Xenial (and then after another update to Xenial packages to
2.02~beta2-36ubuntu1 — however, at about the same time (at least after
the last reboot), I've also added lvm-cache to the root partition, and
that seems to have been the actual problem.

Latest Xenial grub cannot boot from lvm-cached system/boot (they are one
and the same for me) partitions.

Workaround: disable caching of the system partition.  I'll probably move
/boot out into separate partition as well, but thought I'd throw this
out as well.

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

Title:
  grub upgrade fails with lvm on top of dmraid

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  I tried reinstalling grub-pc and it reports that there is a problem
  with GRUB drive:

  grub-probe: error: cannot find a GRUB drive for
  /dev/mapper/[redacted].  Check your device.map.

  For this I could reinstall the system using the installer, however
  that won't let the bug to be fixed.

  Further, after some web search I tried update-grub, grub-probe, grub-
  mkconfig etc. but with no luck. No matter which /dev/mapper device for
  this hardware RAID 1 setup on LVM or the physical drives there is no
  way out of this.

  Also to note, that there is no files found for /boot/grub/device.map.
  So there is nothing I could have checked as well.

  Thanks.


  Extra information:
  Distributor ID: Ubuntu
  Description:    Ubuntu 14.04 LTS
  Release:        14.04
  Codename:       trusty

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: grub-pc 2.02~beta2-9
  ProcVersionSignature: Ubuntu 3.8.0-39.57~precise1-generic 3.8.13.20
  Uname: Linux 3.8.0-39-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  Date: Mon May 12 16:12:08 2014
  DuplicateSignature: package:grub-pc:2.02~beta2-9:ErrorMessage: subprocess installed post-installation script returned error exit status 1
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2014-01-30 (101 days ago)
  InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.2)
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-39-generic root=/dev/mapper/hostname--vg-root ro
  SourcePackage: grub2
  Title: package grub-pc 2.02~beta2-9 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to trusty on 2014-05-12 (0 days ago)

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



More information about the foundations-bugs mailing list