All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: grub-devel@gnu.org
Subject: Boot delay when using grub.efi on Mac Mini
Date: Tue, 10 Mar 2009 23:36:00 +0000 (UTC)	[thread overview]
Message-ID: <gp6th0$qlr$1@ger.gmane.org> (raw)

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:
          <CFDictionary 0x109320 [0xa08891a0]>{type = mutable, count = 3, capacity = 3, pairs = (
                  0 : <CFString 0x18db0 [0xa08891a0]>{contents = "Auxiliary Partitions"} = <CFArray 0x103a80 [0xa08891a0]>{type = immutable, count = 0, values = (
          )}
                  2 : <CFString 0x18da0 [0xa08891a0]>{contents = "Data Partitions"} = <CFArray 0x109770 [0xa08891a0]>{type = immutable, count = 1, values = (
                  0 : <CFString 0x109750 [0xa08891a0]>{contents = "disk0s1"}
          )}
                  3 : <CFString 0x18dc0 [0xa08891a0]>{contents = "System Partitions"} = <CFArray 0x104ff0 [0xa08891a0]>{type = immutable, count = 1, values = (
                  0 : <CFString 0x109670 [0xa08891a0]>{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='<array><dict><key>IOMatch</key><dict><key>IOProviderClass</key><string>IOMedia</string><key>IOPropertyMatch</key><dict><key>UUID</key><string>CD08BC7E-4A45-4814-A27A-7FA6D02A2F3A</string></dict></dict><key>BLLastBSDName</key><string>disk0s1</string></dict><dict><key>IOEFIDevicePathType</key><string>MediaFilePath</string><key>Path</key><string>\grub\grub.efi</string></dict></array>'
          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!




             reply	other threads:[~2009-03-10 23:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 23:36 Grant Edwards [this message]
2009-03-10 23:48 ` Boot delay when using grub.efi on Mac Mini Grant Edwards
2009-03-11  1:58   ` Peter Cros
2009-03-11  2:54     ` Grant Edwards
2009-03-11 15:06     ` Grant Edwards
2009-03-11 15:15       ` phcoder
2009-03-11 21:43         ` Grant Edwards
2009-03-11 21:54           ` phcoder
2009-03-11 22:48             ` Grant Edwards
2009-03-11 22:12       ` Grant Edwards
2009-03-11 22:41         ` Grant Edwards
2009-03-11 22:42           ` phcoder
2009-03-11 22:51             ` Grant Edwards
2009-03-12  2:17               ` Peter Cros
2009-03-12 14:37                 ` Grant Edwards
2009-03-13 10:59                   ` Peter Cros
2009-03-13 14:26                     ` Grant Edwards
2009-03-13 15:39                       ` phcoder
2009-03-13 16:19                         ` Grant Edwards
2009-03-13 17:20                           ` phcoder
2009-03-14  1:56                             ` Peter Cros
2009-03-14  5:57                       ` Peter Cros
2009-03-14 15:07                         ` Grant Edwards
2009-03-21 21:30                         ` Grant Edwards
2009-03-22  3:56                           ` Peter Cros

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='gp6th0$qlr$1@ger.gmane.org' \
    --to=grante@visi.com \
    --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.