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

Submitted by:  Benjamin Peterson <gutworth>
Submitted on:  Fri 18 May 2012 04:13:43 AM UTC  
 
Category: FilesystemSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

(Jump to the original submission 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>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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>

 

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
  • -unavailable- added by kiilerix (Posted a comment)
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by gutworth (Submitted the item)
  • -unavailable- added by gutworth
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Jun 2012 10:12:28 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 18 May 2012 05:43:37 AM UTCgutworthAttached File-=>Added part.data, #25876
    Fri 18 May 2012 04:13:43 AM UTCgutworthCarbon-Copy-=>Added gutworth

    Back to the top


    Powered by Savane 3.1-cleanup1