URL:
<http://savannah.gnu.org/bugs/?34678>
Summary: grub-install fails to detect lvm2 physical volumes
on top of raid
Project: GNU GRUB
Submitted by: tejing
Submitted on: Fri 28 Oct 2011 08:39:30 PM GMT
Category: Installation
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name: Jeff Huffman
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Bazaar - trunk
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
I'm using lvm over raid over gpt, and I'm trying to install grub on an x86-64
EFI-based system, however grub-install doesn't seem to recognize the lvm
physical volumes on top of raid.
Before running the below commands, I've booted up on a livecd, mounted and
chrooted into my system's root (with /dev, /proc, and /sys bound), then
mounted /dev/lvm/boot on /boot and /dev/sda1 on /boot/efi as type vfat.
Grub-probe should find lvm signatures on /dev/md1 and /dev/md2, but it
doesn't.
# grub2-install --recheck
/boot/grub2 not readable
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/mapper/lvm-boot failed.
Try with --recheck.
If the problem persists please report this together with the output of
"/sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v
/boot/grub2" to <[email protected]>
# /sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v
/boot/grub2
/sbin/grub2-probe: info: changing current directory to /dev/mapper.
/sbin/grub2-probe: info: changing current directory to /dev.
/sbin/grub2-probe: info: changing current directory to /dev.
/sbin/grub2-probe: info: Looking for /dev/sdd1.
/sbin/grub2-probe: info: /dev/sdd1 starts from 34.
/sbin/grub2-probe: info: opening the device hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Partition 0 starts from 34.
/sbin/grub2-probe: info: opening lvm/lvm-boot.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: scanning hd0,gpt3 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: scanning hd1,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd2 for LVM.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: scanning hd2,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd2,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd3 for LVM.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: scanning hd3,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md/2 (mdraid1x).
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md/1 (mdraid1x).
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd2,gpt2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd2,gpt1.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd3,gpt1.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk md/1.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk md/2.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md0 (mdraid09).
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd2,gpt2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd2,gpt1.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd3,gpt1.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk md0.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk md/1.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk md/2.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd2,gpt2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd2,gpt1.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk
hd3,gpt1.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: scanning md0 for LVM.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning md/1 for LVM.
/sbin/grub2-probe: info: scanning md/2 for LVM.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: error: no such disk.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34678>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub