Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhWNz-0005Tj-5Z for mharc-grub-devel@gnu.org; Wed, 11 Mar 2009 17:54:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhWNx-0005Td-NW for grub-devel@gnu.org; Wed, 11 Mar 2009 17:54:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhWNw-0005TR-7p for grub-devel@gnu.org; Wed, 11 Mar 2009 17:54:44 -0400 Received: from [199.232.76.173] (port=59004 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhWNw-0005TO-2m for grub-devel@gnu.org; Wed, 11 Mar 2009 17:54:44 -0400 Received: from mail-bw0-f172.google.com ([209.85.218.172]:55716) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhWNv-0005Po-EY for grub-devel@gnu.org; Wed, 11 Mar 2009 17:54:43 -0400 Received: by bwz20 with SMTP id 20so186793bwz.42 for ; Wed, 11 Mar 2009 14:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=No9fjhmKBxl9lbVHpf1hepG/eXgwe9WP1yRVD6hbSJQ=; b=Rx9V1ZPFfoM7yX9XEeHov9H3r7FLc5ZEon8Fj5L7H3a4+ztgyMyuIZ8j95zVaeV2h9 lOKbjOPV3l0PgsBSS0UXWh8ceGINzS0jnXOslau6v6CEmfhSFcDPZY4X98fs2n811f3l CM/zc4tIZZFTC7e9/4ekWbc7dp2K/tTCkU+Ow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Q8ydI7xAyLVSsrCqFFo+tExtoWxM8TlhzpMprzMApNdkN6pQ8SfL6wc9VbZdhKnyjh 49Dbb/fa6J3+w0G039WMFqd398C0EenaOFeq7FobkLIVEFh4YsvzXIkHgU2DInZWP44K V/6bnNOj0S0a4afU84sgbFVjp9y+0RjvvWHRg= Received: by 10.86.76.20 with SMTP id y20mr6218184fga.62.1236808481686; Wed, 11 Mar 2009 14:54:41 -0700 (PDT) Received: from ?192.168.1.2? (44-46.3-85.cust.bluewin.ch [85.3.46.44]) by mx.google.com with ESMTPS id 4sm1035442fge.4.2009.03.11.14.54.40 (version=SSLv3 cipher=RC4-MD5); Wed, 11 Mar 2009 14:54:41 -0700 (PDT) Message-ID: <49B83321.9070006@gmail.com> Date: Wed, 11 Mar 2009 22:54:41 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 References: <48f46e890903101858k73ca6673qc56dac25fad8d0d0@mail.gmail.com> <49B7D57D.3080701@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: 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: Wed, 11 Mar 2009 21:54:45 -0000 Looks like for some reason your bless command tries to announce efi partition by uuid. I'm not sure where this uuid comes from, perhaps it's uuid from gpt but I would suspect that EFI has troubles finding your partition because of this try: 1) you could bless manually by writing corresponding data to nvram 2) you could try on HFS+ Grant Edwards wrote: > On 2009-03-11, phcoder wrote: > >>>> http://grub.enbug.org/TestingOnMacbook ( recentlu updated ) >>>> >>>> including bless --folder --file --setBoot >>>> >>>> (not --mount) >>> When I do that, it still goes through 15 of the 2-second >>> time-wasting operations, then it boots directly into OS-X. > [...] > >> Can you post bless -info and nvram -p in different cases? > > I wasn't sure what meant. I included output for both > /efi (the mountpoint for the FAT32 filesystems where grub.efi > is located), and for /Volumes. > > Here you go... > > > + bless --folder=/efi/grub --file=/efi/grub/grub.efi --setBoot --verbose > EFI found at IODeviceTree:/efi > Mount point for /efi/grub is /efi > Common mount point of '/efi/grub' and '' 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"} > )} > )} > Path to mountpoint given: /efi > IOMedia disk0s1 has UUID CD08BC7E-4A45-4814-A27A-7FA6D02A2F3A > Setting EFI NVRAM: > efi-boot-device='IOMatchIOProviderClassIOMediaIOPropertyMatchUUIDCD08BC7E-4A45-4814-A27A-7FA6D02A2F3ABLLastBSDNamedisk0s1' > Setting EFI NVRAM: > IONVRAM-DELETE-PROPERTY='efi-boot-file' > Setting EFI NVRAM: > IONVRAM-DELETE-PROPERTY='efi-boot-mkext' > NVRAM variable "boot-args" not set. > > + bless --info /efi > > + bless --info /Volumes > finderinfo[0]: 116 => Blessed System Folder is /System/Library/CoreServices > finderinfo[1]: 524200 => Blessed System File is /System/Library/CoreServices/boot.efi > finderinfo[2]: 0 => Open-folder linked list empty > finderinfo[3]: 0 => No OS 9 + X blessed 9 folder > finderinfo[4]: 0 => Unused field unset > finderinfo[5]: 116 => OS X blessed folder is /System/Library/CoreServices > 64-bit VSDB volume id: 0x21144BD3838779F5 > > + nvram -p > SystemAudioVolume s > efi-boot-device-data %02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%02%1f%03%12%0a%00%02%00%00%00%00%00%04%01*%00%01%00%00%00(%00%00%00%00%00%00%00%00@%06%00%00%00%00%00~%bc%08%cdEJ%14H%a2z%7f%a6%d0*/:%02%02%7f%ff%04%00 > platform-uuid %00%00%00%00%00%00%10%00%80%00%00%1f%f3FC%d0 > efi-boot-device IOMatchIOProviderClassIOMediaIOPropertyMatchUUIDCD08BC7E-4A45-4814-A27A-7FA6D02A2F3ABLLastBSDNamedisk0s1 > > > > + bless --mount=/efi --file=/efi/grub/grub.efi --setBoot --verbose > 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. > > + bless --info /efi > > + bless --info /Volumes > finderinfo[0]: 116 => Blessed System Folder is /System/Library/CoreServices > finderinfo[1]: 524200 => Blessed System File is /System/Library/CoreServices/boot.efi > finderinfo[2]: 0 => Open-folder linked list empty > finderinfo[3]: 0 => No OS 9 + X blessed 9 folder > finderinfo[4]: 0 => Unused field unset > finderinfo[5]: 116 => OS X blessed folder is /System/Library/CoreServices > 64-bit VSDB volume id: 0x21144BD3838779F5 > > + nvram -p > SystemAudioVolume s > efi-boot-device-data %02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%02%1f%03%12%0a%00%02%00%00%00%00%00%04%01*%00%01%00%00%00(%00%00%00%00%00%00%00%00@%06%00%00%00%00%00~%bc%08%cdEJ%14H%a2z%7f%a6%d0*/:%02%02%04%04"%00\%00g%00r%00u%00b%00\%00g%00r%00u%00b%00.%00e%00f%00i%00%00%00%7f%ff%04%00 > platform-uuid %00%00%00%00%00%00%10%00%80%00%00%1f%f3FC%d0 > efi-boot-device IOMatchIOProviderClassIOMediaIOPropertyMatchUUIDCD08BC7E-4A45-4814-A27A-7FA6D02A2F3ABLLastBSDNamedisk0s1IOEFIDevicePathTypeMediaFilePathPath\grub\grub.efi > > -- Regards Vladimir 'phcoder' Serbinenko