Bug#686955: grub-probe: error: no such disk.
I found this bug while searching the web. I am hitting the same issue
with a debian wheezy amd64 netinstall downloaded and burned today.
My disk layout is 2x 250GB sata disk with 2 partitions: first
partition is raid1 mirror which is a ext2 /boot and the second
partition is a raid1 which is a dmcrypt which is a pv for lvm and root
filesystem is an LV there.
so my rootfs is sd(ab)1 RAID1 -> md1 -> md1_crypt(dmcrypt, used as LVM
PV) -> VG encstor -> LV root
During install grub fails and if i switch to 4th console I seen an
error asking to run:
grub-probe --device-map=/boot/grub/device.map --target=fs -v /boot/grub
I tried chrooting into /target and running this command and here is the output
/usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk
hd0,msdos2.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk
hd0,msdos1.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk
hd0,msdos2.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Found array md/1 (mdraid1x).
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk
hd0,msdos1.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: Found array md/0 (mdraid1x).
/usr/sbin/grub-probe: info: scanning md/0 for LVM.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning md/1 for LVM.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: scanning hd0,msdos2 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hd0,msdos1 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 488397168.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: opening encstor-root.
/usr/sbin/grub-probe: error: no such disk.
It appears grub-probe doesnt see the md1_crypt device which is the lvm
PV and therefore doesnt find the VG and LV cant put it into
device.map. Weird thing is that "dmsetup ls" does
show md1_crypt
I renamed device.map and tried running grub-mkdevicemap but same
result still fails to put in the entry for the /dev/encstor/root
Is there way some I can manually put the right info into device.map so
grub can install?
Please copy me as I'm not a member of this list
Thanks
chris
Reply to: