grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#709097: grub-pc: Boot failure after updating to 2.00-14 - cannot


From: Andrey Borzenkov
Subject: Re: Bug#709097: grub-pc: Boot failure after updating to 2.00-14 - cannot find normal.mod, grub-rescue reports /boot empty
Date: Mon, 12 Aug 2013 22:30:13 +0400

В Sun, 11 Aug 2013 14:53:06 +0100
Colin Watson <address@hidden> пишет:

> > 
> > 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.

address@hidden:~> /sbin/losetup  -a
/dev/loop0: []: (/home/bor/tmp/grub2-empty-partition)
address@hidden:~> 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
address@hidden:~> LC_ALL=C ls -l /tmp/xx
total 0
address@hidden:~> dmesg | tail -2
[124630.727150] EXT4-fs (dm-3): re-mounted. Opts: acl,user_xattr,commit=600
[129578.577311] loop: module loaded
address@hidden:~> 

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

I'm not sure what can be done here.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]