From: Pavel Roskin <proski@gnu.org>
To: grub-devel@gnu.org
Subject: hfs breakage
Date: Tue, 15 Jan 2008 19:38:14 -0500 [thread overview]
Message-ID: <1200443894.16148.16.camel@dv> (raw)
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
next reply other threads:[~2008-01-16 0:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 0:38 Pavel Roskin [this message]
2008-01-19 7:12 ` hfs breakage Bean
2008-01-20 22:06 ` Pavel Roskin
2008-01-21 10:38 ` Marco Gerards
2008-01-22 10:39 ` Bean
2008-01-23 9:01 ` Marco Gerards
2008-01-23 16:56 ` Bean
2008-01-23 19:40 ` Marco Gerards
2008-01-23 20:26 ` Bean
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=1200443894.16148.16.camel@dv \
--to=proski@gnu.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.