grub2-probe - error - cannot find a GRUB drive

poma pomidorabelisima at gmail.com
Wed Apr 3 07:54:34 UTC 2013


On 02.04.2013 17:53, poma wrote:
> 
> "grub2-probe: error: cannot find a GRUB drive…"
> What causes this, and why?
> 
> grub2-mkconfig -o /boot/grub2/grub.cfg
> Generating grub.cfg ...
> Found theme: /boot/grub2/themes/system/theme.txt
> /usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/vda2
> /dev/vdb2.  Check your device.map.
> Found linux image: /boot/vmlinuz-3.9.0-0.rc4.git0.1.fc20.i686.PAE
> Found initrd image: /boot/initramfs-3.9.0-0.rc4.git0.1.fc20.i686.PAE.img
> Found linux image: /boot/vmlinuz-0-rescue-e567d261136e65c44daec4be883d00f5
> Found initrd image:
> /boot/initramfs-0-rescue-e567d261136e65c44daec4be883d00f5.img
> /usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/vda2
> /dev/vdb2.  Check your device.map.
> done
> 
> /boot/grub2/device.map:
> # this device map was generated by anaconda
> (hd0)      /dev/vda
> (hd1)      /dev/vdb
> (hd2)      /dev/vda
> (hd3)      /dev/vdb
> 
> /proc/mounts:
> /dev/vda2 / btrfs rw,seclabel,relatime,compress=lzo,space_cache 0 0
> /dev/vda2 /home btrfs rw,seclabel,relatime,compress=lzo,space_cache 0 0
> /dev/vda2 /boot btrfs rw,seclabel,relatime,compress=lzo,space_cache 0 0
> 
> btrfs filesystem show
> Label: 'fedora'  uuid: d5773e24-f14f-4d85-8fd3-b2b5457b4708
> 	Total devices 2 FS bytes used 3.61GB
> 	devid    2 size 18.03GB used 5.78GB path /dev/vdb2
> 	devid    1 size 18.03GB used 5.79GB path /dev/vda2
> 
> Btrfs v0.20-rc1
> 
> btrfs filesystem df /
> Data, RAID1: total=5.00GB, used=3.35GB
> System, RAID1: total=32.00MB, used=4.00KB
> System: total=4.00MB, used=0.00
> Metadata, RAID1: total=768.00MB, used=262.83MB
> 

grub2-mkconfig -o /dev/null
Generating grub.cfg ...
Found theme: /boot/grub2/themes/system/theme.txt
/usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/vda
/dev/vdb.  Check your device.map.
Found linux image: /boot/vmlinuz-3.9.0-0.rc5.git0.2.fc20.i686.PAE
Found initrd image: /boot/initramfs-3.9.0-0.rc5.git0.2.fc20.i686.PAE.img
Found linux image: /boot/vmlinuz-0-rescue-e567d261136e65c44daec4be883d00f5
Found initrd image:
/boot/initramfs-0-rescue-e567d261136e65c44daec4be883d00f5.img
/usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/vda
/dev/vdb.  Check your device.map.
done

/boot/grub2/device.map:
# this device map was generated by anaconda
(hd0)      /dev/vda
(hd1)      /dev/vdb
(hd2)      /dev/vdc
(hd3)      /dev/vdd

/proc/mounts:
/dev/vda / btrfs rw,relatime,space_cache 0 0

btrfs filesystem show
Label: none  uuid: 78448190-f468-4747-8adf-0d1188bd2b6b
	Total devices 2 FS bytes used 2.06GB
	devid    2 size 10.00GB used 3.01GB path /dev/vdb
	devid    1 size 10.00GB used 3.03GB path /dev/vda

Btrfs v0.20-rc1

btrfs filesystem df /
Data, RAID0: total=4.00GB, used=1.94GB
Data: total=8.00MB, used=0.00
System, RAID1: total=8.00MB, used=4.00KB
System: total=4.00MB, used=0.00
Metadata, RAID1: total=1.00GB, used=124.13MB
Metadata: total=8.00MB, used=0.00

So far, "grub2-probe: error: cannot find a GRUB drive…" has nothing to
do with subvolumes - in this configuration, there are none.
Stay tuned. :)

poma



More information about the users mailing list