Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OTtmf-0006ko-EO for mharc-grub-devel@gnu.org; Wed, 30 Jun 2010 05:40:45 -0400 Received: from [140.186.70.92] (port=47581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTtmX-0006iS-6E for grub-devel@gnu.org; Wed, 30 Jun 2010 05:40:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTtmV-0003NM-KW for grub-devel@gnu.org; Wed, 30 Jun 2010 05:40:37 -0400 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:60254) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTtmV-0003N7-84 for grub-devel@gnu.org; Wed, 30 Jun 2010 05:40:35 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1OTtmS-0008Ey-Qa for grub-devel@gnu.org; Wed, 30 Jun 2010 09:40:33 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1OTtmR-0002Ed-00; Wed, 30 Jun 2010 10:40:31 +0100 Date: Wed, 30 Jun 2010 10:40:31 +0100 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20100630094029.GN21862@riva.ucam.org> References: <3939aba7614d81ab0dbb3b1cd5d35caa@mail.hyarros.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3939aba7614d81ab0dbb3b1cd5d35caa@mail.hyarros.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: UEFI Boot with Grub-Experimental X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 09:40:42 -0000 On Wed, Jun 30, 2010 at 01:54:36AM -0700, stephen@hyarros.com 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. -- Colin Watson [cjwatson@ubuntu.com]