grub upgrade fails with lvm on top of dmraid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/
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/
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
ProcVersionSign
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:
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=
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)
tags: | removed: need-duplicate-check |
It may be worth noting that you actually have a fake raid, not a real hardware raid. Fake raid is not well supported in linux so unless you have to dual boot with windows, you should avoid it in favor of linux software raid.