From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JEwIM-0008OP-Nz for mharc-grub-devel@gnu.org; Tue, 15 Jan 2008 19:38:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEwIL-0008OE-6E for grub-devel@gnu.org; Tue, 15 Jan 2008 19:38:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEwIJ-0008O2-Og for grub-devel@gnu.org; Tue, 15 Jan 2008 19:38:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEwIJ-0008Nw-Jw for grub-devel@gnu.org; Tue, 15 Jan 2008 19:38:15 -0500 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JEwIJ-0002VH-Kj for grub-devel@gnu.org; Tue, 15 Jan 2008 19:38:15 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 15 Jan 2008 19:38:18 -0500 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 93868618FE1 for ; Tue, 15 Jan 2008 19:38:14 -0500 (EST) From: Pavel Roskin To: grub-devel@gnu.org Content-Type: text/plain Date: Tue, 15 Jan 2008 19:38:14 -0500 Message-Id: <1200443894.16148.16.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-3.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: hfs breakage 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, 16 Jan 2008 00:38:17 -0000 Hello! I have noticed that GRUB won't list all files on the boot partition of my PowerMAC. I can still get the full list if I mount the partition in Linux of use hfsutils. I put the image here: http://red-bean.com/proski/sda2.img.bz2 It's just 210k compressed. The problem can be reproduced on any ordinary PC. Just uncompress the image and create a file called device.map with the following contents: (hd0) sda2.img Compile grub with grub-emu support: ./configure --enable-grub-emu && make Run grub-emu: grub-emu -m device.map -r hd0 grub> ls (hd0)/ acorn.mod affs.mod amiga.mod apple.mod blocklist.mod boot.mod cat.mod cmp.mod configfile.mod cpio.mod elf.mod ext2.mod fat.mod font.mod fshelp.mod gpt.mod grub grub> Files after "grub" are not shown. I have already considered the possibility that having files with similar names "grub" and "grub.cfg" may be a problem. But renaming "grub" to "gurb" makes no difference. I have been rewriting the file called "grub" many times, so maybe it was moved to some additional leaf of the directory tree, confusing the hfs implementation in GRUB (I'm just guessing, I don't know anything about hfs). Moreover, if I mount the image as loop in Linux and remove files "grub" and "grub.cfg", "ls" in grub-emu will go into infinite loop and print "ofboot.b pc.mod raid.mod reboot.mod reiserfs.mod search.mod sfs.mod sun.mod suspend.mod terminal.mod" over and over again. -- Regards, Pavel Roskin