From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
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 [thread overview]
Message-ID: <20130812223013.33dd022f@opensuse.site> (raw)
In-Reply-To: <20130811135306.GL27110@riva.ucam.org>
В Sun, 11 Aug 2013 14:53:06 +0100
Colin Watson <cjwatson@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.
prev parent reply other threads:[~2013-08-12 18:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20130520185519.5798.65190.reportbug@wormtail.bear-cave.org.uk>
2013-08-11 13:53 ` Bug#709097: grub-pc: Boot failure after updating to 2.00-14 - cannot find normal.mod, grub-rescue reports /boot empty Colin Watson
2013-08-12 9:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-12 18:30 ` Andrey Borzenkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130812223013.33dd022f@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).