On Sat, May 03, 2008 at 05:14:31PM +0200, Aurelien Jarno wrote: > > I am sure about that. The only difference is that /usr/sbin/update-grub > does not uses the same command, but this one instead: > > grub-probe --device-map=/boot/grub/device.map -t drive -d /dev/vda1 > > And this command: > 1) fails > 2) destroys /boot/grub/device.map
Ah, I think I see the problem. Please try this patch. -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.)
--- ../grub2/util/biosdisk.c 2008-04-07 18:45:01.000000000 +0200 +++ util/biosdisk.c 2008-05-06 13:25:04.000000000 +0200 @@ -227,6 +227,7 @@ format = "part%d"; } else if ((strncmp (real_dev + 5, "hd", 2) == 0 + || strncmp (real_dev + 5, "vd", 2) == 0 || strncmp (real_dev + 5, "sd", 2) == 0) && real_dev[7] >= 'a' && real_dev[7] <= 'z') {