From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KTIfM-0005Hz-01 for mharc-grub-devel@gnu.org; Wed, 13 Aug 2008 11:53:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTIfK-0005HD-Co for grub-devel@gnu.org; Wed, 13 Aug 2008 11:53:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTIfI-0005GP-ER for grub-devel@gnu.org; Wed, 13 Aug 2008 11:53:37 -0400 Received: from [199.232.76.173] (port=36574 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIfI-0005GF-95 for grub-devel@gnu.org; Wed, 13 Aug 2008 11:53:36 -0400 Received: from mail1.gleim.com ([209.208.68.245]:43659) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTIfH-0005NC-T2 for grub-devel@gnu.org; Wed, 13 Aug 2008 11:53:36 -0400 Received: by mail1.gleim.com (Postfix, from userid 8) id B78001142B3; Wed, 13 Aug 2008 11:53:33 -0400 (EDT) Received: from mail.gleim.com (core.teamgleim.com [209.208.68.231]) by mail1.gleim.com (Postfix) with ESMTP id 9CEB01142A2; Wed, 13 Aug 2008 11:53:33 -0400 (EDT) Received: from [172.17.128.107] (edwardallcutt.pc.teamgleim.com [172.17.128.107]) by mail.gleim.com (Postfix) with ESMTP id 8155A13FCEAF; Wed, 13 Aug 2008 11:53:33 -0400 (EDT) Message-ID: <48A30377.2060707@gleim.com> Date: Wed, 13 Aug 2008 11:53:27 -0400 From: Edward Allcutt User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Cc: 494589@bugs.debian.org Subject: grub-setup fails with "error message = file not found" X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 15:53:39 -0000 I initially reported this as Debian bug #494589 [0] Felix Zielcke asked me to forward this report to this mailing list. Reproduced with latest upstream SVN (rebuilt r1802 today). Failing command: grub-setup -vv --directory=/boot/grub --device-map=/boot/grub/device.map '(hd0)' >grub-setup.log 2>&1 grub-setup.log is available at [1] /boot/grub/core.img exists and was created normally by grub-install. I looked at the parameters passed to grub-mkimage and it was using the correct modules (ext2 gpt biosdisk). I've run sync and unmounted/remounted /boot but that doesn't help. grub-fstest seems to have no problem with reading from the filesystem: # grub-fstest /dev/sda1 ls /grub/core.img core.img # grub-fstest /dev/sda1 blocklist /grub/core.img 655432+55,655487[0-414] # grub-fstest /dev/sda1 cmp /grub/core.img /boot/grub/core.img; echo $? 0 /dev/sda is partitioned using GPT. /boot is a normal ext3 filesystem on /dev/sda1. I've made the MBR [2] and sda1 (about 38MB) [3] available. Final note: this exact setup worked just fine when I installed this system in mid-June. I can probably figure out the version of grub2 on the install CD if that would help. [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494589 [1] http://dev.teamgleim.com/~emallcut/grub2/grub-setup.log [2] http://dev.teamgleim.com/~emallcut/grub2/sda.mbr.gz [3] http://dev.teamgleim.com/~emallcut/grub2/sda1.gz -- Edward Allcutt