2009-11-02 Samuel Thibault * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Subtract 1 from GNU partition number to get internal grub DOS partition number. Index: util/hostdisk.c =================================================================== --- util/hostdisk.c (révision 2666) +++ util/hostdisk.c (copie de travail) @@ -1057,7 +1057,7 @@ n = strtol (p, &q, 10); if (p != q && n != GRUB_LONG_MIN && n != GRUB_LONG_MAX) { - dos_part = (int) n; + dos_part = (int) n - 1; if (*q >= 'a' && *q <= 'g') bsd_part = *q - 'a';