В Sun, 11 Aug 2013 14:53:06 +0100
Colin Watson <cjwat...@debian.org> пишет:

> > 
> > A copy of the offening boot partition (saved with 'dd if=/dev/sda1 of=<file>
> > bs=1M') is at http://www.lunch.org.uk/grub2-empty-partition.bz2.
> 
> This is a pretty specialised (hence the severity downgrade), but
> interesting, corner case.  It appears that the partition in question
> used to be a FAT filesystem 

It still is. Linux kernel silently mounts it as vfat. It looks like an
empty FAT.

bor@opensuse:~> /sbin/losetup  -a
/dev/loop0: []: (/home/bor/tmp/grub2-empty-partition)
bor@opensuse:~> grep loop0 /proc/mounts 
/dev/loop0 /tmp/xx vfat 
rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
 0 0
bor@opensuse:~> LC_ALL=C ls -l /tmp/xx
total 0
bor@opensuse:~> dmesg | tail -2
[124630.727150] EXT4-fs (dm-3): re-mounted. Opts: acl,user_xattr,commit=600
[129578.577311] loop: module loaded
bor@opensuse:~> 

blkid does check BPB signature and so it does not detect is as a FAT.

I'm not sure what can be done here.

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to