On Tue, 2008-02-12 at 13:19 +0100, Robert Millan wrote: --snip-- > On Tue, Feb 12, 2008 at 02:14:55AM -0800, Alex Malinovich wrote: > > > > Oddly, trying to do "ls (hd0,1)/" works just fine. Yet when running > "ls > > (hd0,1)/boot" gives that same "out of partition error", even > > though /boot is NOT on a separate partition. > > Alex, what is your filesystem in (hd0,1)/ ? > > Can you identify the problem if you do: > > set debug=all > ls (hd0,1)/boot
The fs on hd0,1 is xfs. I just did an fsck on it and the fs itself is fine. Since it's hard to paste a good amount of code that happens at boot, here's what I get when running grub-emu from the console with the above commands. I'll do a reboot later and verify that I get the same errors. If I see anything different on a regular boot I'll send in a follow-up email. One thing that might be potentially useful, when just doing the ls without the debug=all, I actually get a little bit of output prior to the out of partition error. In this particular case the output is: grub> ls (hd0,1)/boot ?^^ ?^^ ^Q^_ error: out of partition grub> Not sure what those extra characters are about, but they are consistent across multiple runs of grub-emu. So, running ls after setting debug=all I get: grub> ls (hd0,1)/boot --snip-- /home/rmh/hacking/grub/svn/upload/grub2-1.96+20080210/kern/disk.c:364: Reading `hd0,1'... /home/rmh/hacking/grub/svn/upload/grub2-1.96+20080210/kern/disk.c:371: Read out of range: sector 0xffffffffef400000 (out of partition). /home/rmh/hacking/grub/svn/upload/grub2-1.96+20080210/kern/disk.c:364: of range: sector 0xffffffffef400000 (out of partition). --snip-- repeating a few hundred times. There's some other scattered output but it's very hard to make out. I do see some lines about detecting and opening the xfs filesystem early in the log. I have a screenlog of running grub-emu inside a screen session, but I'm having a hell of a time trying to view it since there are lots and lots of terminal control characters in it. In case you have a good way to view it to see the full output, I've attached it. (screenlog.0.gz) Let me know if I can provide more info. -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
screenlog.0.gz
Description: GNU Zip compressed data
signature.asc
Description: This is a digitally signed message part