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

Amit Gurdasani 1318568 at bugs.launchpad.net
Wed Oct 8 15:55:03 UTC 2014


Please note that this also affects the relatively new (~2 years old)
functionality to create "raid1"/"raid4"/"raid5"/"raid6" type logical
volumes that use device mapper on top of Linux md RAID (rather than
requiring the use of mdadm to create an md device first).

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