On Wed, Jun 30, 2010 at 01:54:36AM -0700, address@hidden wrote:
After having no luck using the grub-efi-amd64 package in ubuntu, or the
grub trunk, I've started trying to compile my own grub and getting it to
boot on a new Intel motherboard which supports EFI. I've not been able
to get any output yet from the acutal linux kernel; usually the system
will simply hang after the boot menu option is selected, or the 'boot'
command is issued from the grub command line.
Currently the farthest I've gotten is using the grub command line and
typing in the following commands:
insmod efi_gop # no impact on result
insmod ext2
insmod part_gpt
set root=(hd0,gpt3)
fakeroot # optional, no impact on result
I guess that should be 'fakebios'.
error: no suitable mode found
After 'insmod efi_gop', could you try 'insmod gfxterm' and then
'terminal_output gfxterm', and see what happens? Before the
terminal_output command, you can also use 'set gfxmode=MODE' (e.g. 'set
gfxmode=1024x768') to change its mode selection. gfxterm can help
matters here, as that way you have a working video mode that the kernel
can be told to inherit, rather than having to probe its own.
Unfortunately right now it's hard to get debugging information on EFI
video modes. Since you're building your own GRUB anyway, though, you
could try this patch against trunk:
http://people.canonical.com/~cjwatson/tmp/grub-efivideoinfo.patch
That will give you an 'efi_video_info' command, which should dump out
the available GOP modes, and might be useful to get a slightly better
idea of what's going on.
booting however
_
And then nothing else happens.
It's possible that the kernel may have booted successfully, but that you
simply don't have a working console. It would be useful to try pinging
the machine to test that.
I've also tried newreloc, but I don't think this has anything to do with
relocations.
Agreed.