Bug#578201: grub-common: grub-probe reports incorrect fs type

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sun Apr 18 10:51:37 UTC 2010


Aravind Gottipati wrote:
> My hypothesis that it was simply listing the fs type of the bootable
> partition is incorrect.  I changed sda4 to be bootable, but its still
> listing the fstype of sda1.  Also, I happen to have another
> installation of debian thats not quite so up to date and grub-probe
> seems to be working okay there.  Here is the output from the grub2
> 1.97+20091115-1, and following that is the output from the latest
> grub2 1.98-1.
>
>   
Nailed it. In upstream it was fixed by Grégoire Sutre in r2317
=== modified file 'util/hostdisk.c'
--- util/hostdisk.c     2010-02-07 01:47:18 +0000
+++ util/hostdisk.c     2010-04-18 10:45:51 +0000
@@ -718,7 +718,7 @@
     dos_part_str = xasprintf (",%d", dos_part + 1);
 
   if (bsd_part >= 0)
-    bsd_part_str = xasprintf (",%c", dos_part + 'a');
+    bsd_part_str = xasprintf (",%c", bsd_part + 'a');
 
   ret = xasprintf ("%s%s%s", map[drive].drive,
                    dos_part_str ? : "",





-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100418/3ef57fad/attachment.pgp>


More information about the Pkg-grub-devel mailing list