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

Metta Crawler metta.crawler at gmail.com
Tue Jun 17 14:07:38 UTC 2014


@psusi - once you've installed on fake RAID and upgraded successfully a
few time, the effort to convert to Linux software RAID is significant.
I've side-stepped that for now by rebuilding grub 1.99-21ubuntu3.15
(from 12.04) on Ubuntu 14.04 and putting package holds on the resulting
debs.  Maybe someday I'll run off lists of installed packages and decide
which ones to re-install, figure out what parts of backups need to be
restored other than the obvious ones like /home, reinstall from scratch,
put all the packages and customizations back and not worry about fake
RAID anymore but for now I'll just putter along.

This isn't the first time grub2 lost the ability to be installed on fake
RAID.  On Maverick it was necessary to back-port the grub from Natty to
get working grub-on-fake RAID.

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