bugGNU GRUB - Bugs: bug #36490, grub-probe doesn't work with fat32...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36490: grub-probe doesn't work with fat32 file systems

Submitter:  Benjamin Peterson <gutworth>
Submitted:  Fri 18 May 2012 04:13:43 AM UTC
   
 
Category:  Filesystem Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Jump to the original submission

Sat 02 Jun 2012 09:55:12 PM UTC, comment #16: 

This fixes the issue. Thank you.

Benjamin Peterson <gutworth>
Sat 02 Jun 2012 12:55:07 PM UTC, comment #15: 

The patch has been committed now. Please confirm that it fixes your issue.

Vladimir Serbinenko <phcoder>
Group administrator
Sat 02 Jun 2012 12:10:54 AM UTC, comment #14: 

phcoder posted a fix at http://fpaste.org/G9ZF/raw/

Mads Kiilerich <kiilerix>
Tue 29 May 2012 09:18:37 AM UTC, comment #13: 

Can you try without dev.txt? And what does:
sudo bin/grub-fstest /dev/sda ls -- -l
and what do
sudo sbin/grub-probe -t drive -d /dev/sda1
sudo sbin/grub-probe -t fs -d /dev/sda1
say?

Vladimir Serbinenko <phcoder>
Group administrator
Tue 29 May 2012 04:48:19 AM UTC, comment #12: 

This is what I get:

$ sudo bin/grub-fstest /dev/sda1 ls -- -l
Device loop0: Filesystem type fat, UUID FE14-89C1 - Total size 410157 sectors
Device host: Filesystem type hostfs - Total size 0 sectors

$ sudo sbin/grub-probe -t fs -d /dev/sda1 -m dev.txt
sbin/grub-probe: error: unknown filesystem.

$ cat dev.txt
(hd0) /dev/sda

Benjamin Peterson <gutworth>
Sat 19 May 2012 07:16:09 AM UTC, comment #11: 

My bad, I forgot to decompress it. Now it works:
phcoder@debian.x201.phnet:09:13:42:~/compile$ ./grub-fstest ~/downloads/data.img ls -- -l
Device loop0: Filesystem type fat, UUID FE14-89C1 - Total size 410157 sectors
Device host: Filesystem type hostfs - Total size 0 sectors

phcoder@debian.x201.phnet:09:13:50:~/compile$ ./grub-fstest ~/downloads/data.img ls -- -l /

phcoder@debian.x201.phnet:09:13:56:~/compile$ sudo mount ~/downloads/data.img /mnt/1/

phcoder@debian.x201.phnet:09:14:25:~/compile$ sudo grub-probe -t fs /mnt/1/
fat

Does it work with beta4? And beta5? Could you try bisecting?

Vladimir Serbinenko <phcoder>
Group administrator
Sat 19 May 2012 07:09:59 AM UTC, comment #10: 

I can confirm that I could reproduce the problem, I'll look into it one of these days.

Vladimir Serbinenko <phcoder>
Group administrator
Fri 18 May 2012 10:55:43 PM UTC, comment #9: 

(That's xz compressed.)

Benjamin Peterson <gutworth>
Fri 18 May 2012 10:49:31 PM UTC, comment #8: 

The whole thing (I think) is here:

pantheon.yale.edu/~bcp4/data.part

Benjamin Peterson <gutworth>
Fri 18 May 2012 05:49:25 PM UTC, comment #7: 

This bts is limited to 512K. My mailbox is limited at 10M per mail but splitting is ok. I can't offer an FTP server now since I have only NAT'ed connection.

Vladimir Serbinenko <phcoder>
Group administrator
Fri 18 May 2012 05:41:15 PM UTC, comment #6: 

I mean, would it be possible for you to do something like this:
dd if=/dev/sdXY bs=1M | xz > esp.xz
and send me esp.xz. Unfortunately the 32K weren't enough to reproduce the bug.

Vladimir Serbinenko <phcoder>
Group administrator
Fri 18 May 2012 04:45:16 PM UTC, comment #5: 

I should also note beta3 works correctly.

Benjamin Peterson <gutworth>
Fri 18 May 2012 04:33:48 PM UTC, comment #4: 

I can try shrinking the partition. If it makes a difference, this is supposed to be the EFI system partition.

Benjamin Peterson <gutworth>
Fri 18 May 2012 03:47:24 PM UTC, comment #3: 

I might have seen the same on a Mac ESP but didn't follow up on it while I had access to the machine.

Mads Kiilerich <kiilerix>
Fri 18 May 2012 07:55:26 AM UTC, comment #2: 

Hm, GRUB accepts this superblock just fine. How big is the partition in question? Can it be compressed to a reasonable size?

Vladimir Serbinenko <phcoder>
Group administrator
Fri 18 May 2012 04:51:49 AM UTC, comment #1: 

Can you supply first 32K of the partition in question?

Vladimir Serbinenko <phcoder>
Group administrator
Fri 18 May 2012 04:13:43 AM UTC, original submission:  

/boot/efi is a


With latest bzr:

$ grub-probe -t fs /boot/efi
grub-probe: error: unknown filesystem

grub-probe from Ubuntu correclty identifies it.

Benjamin Peterson <gutworth>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #25876:  part.data added by gutworth (32KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kiilerix (Posted a comment)
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by gutworth (Submitted the item)
  • -email is unavailable- added by gutworth
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-02 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2012-05-18 gutworth Attached File- Added part.data, #25876
    2012-05-18 gutworth Carbon-Copy- Added gutworth

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code