All of lore.kernel.org
 help / color / mirror / Atom feed
From: phcoder <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Boot delay when using grub.efi on Mac Mini
Date: Wed, 11 Mar 2009 22:54:41 +0100	[thread overview]
Message-ID: <49B83321.9070006@gmail.com> (raw)
In-Reply-To: <gp9bas$4t9$1@ger.gmane.org>

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 <phcoder@gmail.com> 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 <Volume> and nvram -p in different cases?
> 
> I wasn't sure what <Volume> 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:
> <CFDictionary 0x109310 [0xa08891a0]>{type = mutable, count = 3, capacity = 3, pairs = (
> 	0 : <CFString 0x18db0 [0xa08891a0]>{contents = "Auxiliary Partitions"} = <CFArray 0x103a70 [0xa08891a0]>{type = immutable, count = 0, values = (
> )}
> 	2 : <CFString 0x18da0 [0xa08891a0]>{contents = "Data Partitions"} = <CFArray 0x109760 [0xa08891a0]>{type = immutable, count = 1, values = (
> 	0 : <CFString 0x109740 [0xa08891a0]>{contents = "disk0s1"}
> )}
> 	3 : <CFString 0x18dc0 [0xa08891a0]>{contents = "System Partitions"} = <CFArray 0x104fe0 [0xa08891a0]>{type = immutable, count = 1, values = (
> 	0 : <CFString 0x109660 [0xa08891a0]>{contents = "disk0s1"}
> )}
> )}
> Path to mountpoint given: /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></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.
> 
> + 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	<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></array>
> 
> 
> 
> + 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:
> <CFDictionary 0x109310 [0xa08891a0]>{type = mutable, count = 3, capacity = 3, pairs = (
> 	0 : <CFString 0x18db0 [0xa08891a0]>{contents = "Auxiliary Partitions"} = <CFArray 0x103a70 [0xa08891a0]>{type = immutable, count = 0, values = (
> )}
> 	2 : <CFString 0x18da0 [0xa08891a0]>{contents = "Data Partitions"} = <CFArray 0x109760 [0xa08891a0]>{type = immutable, count = 1, values = (
> 	0 : <CFString 0x109740 [0xa08891a0]>{contents = "disk0s1"}
> )}
> 	3 : <CFString 0x18dc0 [0xa08891a0]>{contents = "System Partitions"} = <CFArray 0x104fe0 [0xa08891a0]>{type = immutable, count = 1, values = (
> 	0 : <CFString 0x109660 [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.
> 
> + 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	<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>
> 
> 


-- 

Regards
Vladimir 'phcoder' Serbinenko



  reply	other threads:[~2009-03-11 21:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 23:36 Boot delay when using grub.efi on Mac Mini Grant Edwards
2009-03-10 23:48 ` 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 [this message]
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=49B83321.9070006@gmail.com \
    --to=phcoder@gmail.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.