Bug#612874: grub-common: In XEN DomU: 00_header stops update-grub if LANG is not set to C

Christian Motschke christian at motschke.de
Tue Feb 15 11:14:09 UTC 2011


I get the usual grub-probe error under XEN when there is no /dev/xvda (paravitualized machine). It is not handled in any way in 00_header (the part where the locale is being checked).

gcc:~/packages# unset LANG
gcc:~/packages# update-grub
Generating grub.cfg ...
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/xvda2.  Check your device.map.
gcc:~/packages# LANG=C update-grub
Generating grub.cfg …
Found linux image: /boot/vmlinuz-2.6.32-5-xen-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-xen-amd64
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/xvda2.  Check your device.map.
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/xvda2.  Check your device.map.
done

Christian Motschke






More information about the Pkg-grub-devel mailing list