On 2009-03-11, phcoder <address@hidden> 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(address@hidden/:%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(address@hidden/:%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>