From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhBYR-0002Tz-22 for mharc-grub-devel@gnu.org; Tue, 10 Mar 2009 19:40:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhBYO-0002Tm-KX for grub-devel@gnu.org; Tue, 10 Mar 2009 19:40:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhBYO-0002Ta-1H for grub-devel@gnu.org; Tue, 10 Mar 2009 19:40:08 -0400 Received: from [199.232.76.173] (port=52281 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhBYN-0002TX-Ud for grub-devel@gnu.org; Tue, 10 Mar 2009 19:40:07 -0400 Received: from main.gmane.org ([80.91.229.2]:46614 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhBYN-00042X-DZ for grub-devel@gnu.org; Tue, 10 Mar 2009 19:40:07 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LhBYJ-0004ef-5I for grub-devel@gnu.org; Tue, 10 Mar 2009 23:40:03 +0000 Received: from 65.111.170.175 ([65.111.170.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Mar 2009 23:40:03 +0000 Received: from grante by 65.111.170.175 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Mar 2009 23:40:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: Grant Edwards Date: Tue, 10 Mar 2009 23:36:00 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 65.111.170.175 User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Boot delay when using grub.efi on Mac Mini 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: Tue, 10 Mar 2009 23:40:08 -0000 I installed EFI grub (svn r2024) on a Mac Mini (1.8GHz Core 2 Duo) following the instructions at http://grub.enbug.org/TestingOnEFI. Grub seems to work fine: the menu works, and I can either boot a Linux kernel or I can "chainload" OS X via /usr/standalone/i386/boot.efi. I had previously attempted to use elilo (an old binary I downloaded from somewhere), but it didn't seem to be able to load the initrd correctly. There do seem to be two problems -- I don't think either of them are grub's fault, but I thought I ask just in case somebody has seen either one before: 1) I blessed grub.efi using this command adapted from the Wiki page: bash-3.2# bless --mount=/efi --verbose --file=/efi/grub/grub.efi --setBoot EFI found at IODeviceTree:/efi Mount point for /efi is /efi Mount point is '/efi' No BootX creation requested No boot.efi creation requested GPT detected Booter partition required at index 2 System partition found Returning booter information dictionary: {type = mutable, count = 3, capacity = 3, pairs = ( 0 : {contents = "Auxiliary Partitions"} = {type = immutable, count = 0, values = ( )} 2 : {contents = "Data Partitions"} = {type = immutable, count = 1, values = ( 0 : {contents = "disk0s1"} )} 3 : {contents = "System Partitions"} = {type = immutable, count = 1, values = ( 0 : {contents = "disk0s1"} )} )} Relative path of /efi/grub/grub.efi is \grub\grub.efi IOMedia disk0s1 has UUID CD08BC7E-4A45-4814-A27A-7FA6D02A2F3A Setting EFI NVRAM: efi-boot-device='IOMatchIOProviderClassIOMediaIOPropertyMatchUUIDCD08BC7E-4A45-4814-A27A-7FA6D02A2F3ABLLastBSDNamedisk0s1IOEFIDevicePathTypeMediaFilePathPath\grub\grub.efi' Setting EFI NVRAM: IONVRAM-DELETE-PROPERTY='efi-boot-file' Setting EFI NVRAM: IONVRAM-DELETE-PROPERTY='efi-boot-mkext' NVRAM variable "boot-args" not set. Now the machine boots into grub, but there's about a 30 second delay between the "chime" and when grub starts (it was the same for elilo). If I have a USB flash drive plugged in, I see the activity LED flash once every 2 seconds or so until grub starts. If I hold down the "option" key on startup, there is no delay and I immediately get the screen where I click on a button underneath a picture of a hard-drive to boot. Any ideas on how to eliminate the 30s delay? 2) With the linux kernel command line option video=vesafb, I get a working console, framebuffer graphics don't work. Without that option, I don't get a working console. It's not a grub problem, but any pointers will be appreciated. -- Grant Edwards grante Yow! Wow! Look!! A stray at meatball!! Let's interview visi.com it!