From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1V8wsv-0001qu-Kr for mharc-grub-devel@gnu.org; Mon, 12 Aug 2013 14:30:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8wso-0001qV-Go for grub-devel@gnu.org; Mon, 12 Aug 2013 14:30:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8wsj-0007kD-FF for grub-devel@gnu.org; Mon, 12 Aug 2013 14:30:22 -0400 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:60143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8wsj-0007jq-8R for grub-devel@gnu.org; Mon, 12 Aug 2013 14:30:17 -0400 Received: by mail-lb0-f173.google.com with SMTP id 10so5118177lbf.4 for ; Mon, 12 Aug 2013 11:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=A9Sw/4ZgxlstLOp/uOKhdkylHRYAV/R3rNILIjc0wbU=; b=r205sUqnercYiKK9NJrY1NVINNvaRppvQUHk9Z2MIaaa1dfojKZxtI1t/r3uEqhCs5 abGyXmsHNikxdXuemDwxEh8Ef32JTS9darM1+++BcFcZ3Ov5a8v8K2l5/3rTg3AVlvs/ vUj7GdTHIbefrut+kEAf0e/dKfSY+fWbSwKZFgjiIAjX2HsE170cxkE7qQ/4emW/QyYA oICa956KHwLiUKQ0TFss4GM4JjQfi59x7dh03IqqixM4KefqHs8L6eNdINnoKRTlrAPN UFoaD8H/UslH0sfecaZhedHpVjxyaiiS/5zjQ6UhxqgPGeaE+DVAEfo+LK9v1s5M0ws2 dcHQ== X-Received: by 10.152.29.201 with SMTP id m9mr218195lah.6.1376332215722; Mon, 12 Aug 2013 11:30:15 -0700 (PDT) Received: from opensuse.site (ppp79-139-160-84.pppoe.spdop.ru. [79.139.160.84]) by mx.google.com with ESMTPSA id i9sm12322852lba.0.2013.08.12.11.30.14 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 12 Aug 2013 11:30:14 -0700 (PDT) Date: Mon, 12 Aug 2013 22:30:13 +0400 From: Andrey Borzenkov 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 Message-ID: <20130812223013.33dd022f@opensuse.site> In-Reply-To: <20130811135306.GL27110@riva.ucam.org> References: <20130520185519.5798.65190.reportbug@wormtail.bear-cave.org.uk> <20130811135306.GL27110@riva.ucam.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 18:30:28 -0000 В Sun, 11 Aug 2013 14:53:06 +0100 Colin Watson пишет: > > > > A copy of the offening boot partition (saved with 'dd if=/dev/sda1 of= > > 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.