Bug#462449: detection of unreadable files in grub-probe
    Robert Millan 
    rmh at aybabtu.com
       
    Fri Jan 25 23:09:14 UTC 2008
    
    
  
Ok, there are two bugs here, so I'll reply separately.  The first bug is
that ext4 cannot be read;  the second is that grub-probe is unable to
detect that.  This mail is about the second.
On Fri, Jan 25, 2008 at 02:45:27PM +0100, Idzi wrote:
> > What does "grub-probe -t fs /usr" print?
> 
> ext2
If you try the complete command (the same that update-grub is using):
  grub-probe -t fs /usr/share/grub/unicode.pff
I assume it still reports "ext2", but it should print an error because it
can't really be read by GRUB (yet).
I just committed a sanity check to prevent this in upstream CVS, please can
you test:
  cvs -d :pserver:anonymous at cvs.savannah.gnu.org:/sources/grub co grub2
  cd grub2
  ./configure && make grub-probe
  sudo ./grub-probe -t fs /usr/share/grub/unicode.pff
  ?
This should print an error instead (which is the correct reaction given
that our ext2 driver can't read your file).
-- 
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 /.)
    
    
More information about the Pkg-grub-devel
mailing list