* Boot delay when using grub.efi on Mac Mini
@ 2009-03-10 23:36 Grant Edwards
2009-03-10 23:48 ` Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-10 23:36 UTC (permalink / raw)
To: grub-devel
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!
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
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
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-10 23:48 UTC (permalink / raw)
To: grub-devel
On 2009-03-10, Grant Edwards <grante@visi.com> wrote:
> 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.
One more problem I haven't figured out: the control keys don't
work (known issue), so after you've edited a menu entry, how do
you boot it?
--
Grant Edwards grante Yow! Quick, sing me the
at BUDAPEST NATIONAL ANTHEM!!
visi.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
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
0 siblings, 2 replies; 25+ messages in thread
From: Peter Cros @ 2009-03-11 1:58 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
Hi,
Try the other instructions for MacBook
http://grub.enbug.org/TestingOnMacbook ( recentlu updated )
including bless --folder --file --setBoot
(not --mount)
Some more tests done at ubuntuforums.org
http://ubuntuforums.org/showthread.php?t=995704
On Wed, Mar 11, 2009 at 10:48 AM, Grant Edwards <grante@visi.com> wrote:
> On 2009-03-10, Grant Edwards <grante@visi.com> wrote:
>
> > 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.
>
> One more problem I haven't figured out: the control keys don't
> work (known issue), so after you've edited a menu entry, how do
> you boot it?
>
> --
> Grant Edwards grante Yow! Quick, sing me the
> at BUDAPEST NATIONAL
> ANTHEM!!
> visi.com
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Cros (pxw)
[-- Attachment #2: Type: text/html, Size: 2964 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 1:58 ` Peter Cros
@ 2009-03-11 2:54 ` Grant Edwards
2009-03-11 15:06 ` Grant Edwards
1 sibling, 0 replies; 25+ messages in thread
From: Grant Edwards @ 2009-03-11 2:54 UTC (permalink / raw)
To: grub-devel
On 2009-03-11, Peter Cros <pxwpxw8@gmail.com> wrote:
> Hi,
>
>
> Try the other instructions for MacBook
>
>
> http://grub.enbug.org/TestingOnMacbook ( recentlu updated )
>
> including bless --folder --file --setBoot
>
> (not --mount)
I'll try it.
Why does one Wiki page say to use folder mode, and the other to
use mount mode?
> Some more tests done at ubuntuforums.org
>
> http://ubuntuforums.org/showthread.php?t=995704
I've already spent quite a bit of time reading that thread. If
there is any useful info in there, the odds of stumbling across
it are awfully remote. There are 371 posts over about 1-1/2
years, and I've never been able to get the "search" facility to
do anything at all useful.
--
Grant
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
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 22:12 ` Grant Edwards
1 sibling, 2 replies; 25+ messages in thread
From: Grant Edwards @ 2009-03-11 15:06 UTC (permalink / raw)
To: grub-devel
On 2009-03-11, Peter Cros <pxwpxw8@gmail.com> wrote:
> Hi,
>
>
> Try the other instructions for MacBook
>
>
> 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.
I was under the impression that the --folder version only
worked if grub was installed in the default HFS filesystem.
Changing back to the "--mount" version of the bless command
results in the same 30-second delay, but at least it loads
grub.efi.
--
Grant Edwards grante Yow! LBJ, LBJ, how many
at JOKES did you tell today??!
visi.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 15:06 ` Grant Edwards
@ 2009-03-11 15:15 ` phcoder
2009-03-11 21:43 ` Grant Edwards
2009-03-11 22:12 ` Grant Edwards
1 sibling, 1 reply; 25+ messages in thread
From: phcoder @ 2009-03-11 15:15 UTC (permalink / raw)
To: The development of GRUB 2
Grant Edwards wrote:
> On 2009-03-11, Peter Cros <pxwpxw8@gmail.com> wrote:
>> Hi,
>>
>>
>> Try the other instructions for MacBook
>>
>>
>> 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.
> I was under the impression that the --folder version only
> worked if grub was installed in the default HFS filesystem.
>
> Changing back to the "--mount" version of the bless command
> results in the same 30-second delay, but at least it loads
> grub.efi.
>
Can you post bless -info <Volume> and nvram -p in different cases?
--
Regards
Vladimir 'phcoder' Serbinenko
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 15:15 ` phcoder
@ 2009-03-11 21:43 ` Grant Edwards
2009-03-11 21:54 ` phcoder
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-11 21:43 UTC (permalink / raw)
To: grub-devel
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>
--
Grant Edwards grante Yow! Is this going to
at involve RAW human ecstasy?
visi.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 21:43 ` Grant Edwards
@ 2009-03-11 21:54 ` phcoder
2009-03-11 22:48 ` Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: phcoder @ 2009-03-11 21:54 UTC (permalink / raw)
To: The development of GRUB 2
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 15:06 ` Grant Edwards
2009-03-11 15:15 ` phcoder
@ 2009-03-11 22:12 ` Grant Edwards
2009-03-11 22:41 ` Grant Edwards
1 sibling, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-11 22:12 UTC (permalink / raw)
To: grub-devel
On 2009-03-11, Grant Edwards <grante@visi.com> wrote:
> On 2009-03-11, Peter Cros <pxwpxw8@gmail.com> wrote:
>> Hi,
>>
>>
>> Try the other instructions for MacBook
>>
>>
>> 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.
> I was under the impression that the --folder version only
> worked if grub was installed in the default HFS filesystem.
>
> Changing back to the "--mount" version of the bless command
> results in the same 30-second delay, but at least it loads
> grub.efi.
Moving grub from the EFI FAT32 partition to the HFS+ partition
eliminates the 30-second delay. In this case the status looks
like this:
bash-3.2# bless -info /Volumes
finderinfo[0]: 660564 => Blessed System Folder is /Users/grante/grub
finderinfo[1]: 660651 => Blessed System File is /Users/grante/grub/grub.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]: 660564 => OS X blessed folder is /Users/grante/grub
64-bit VSDB volume id: 0x21144BD3838779F5
bash-3.2# 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%02%00%00%00(@%06%00%00%00%00%00`%b8F%09%00%00%00%00w%9b?%8b%d0%b7%00@%8fo%c7-%0d%eb>%0d%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>8B3F9B77-B7D0-4000-8F6F-C72D0DEB3E0D</string></dict></dict><key>BLLastBSDName</key><string>disk0s2</string></dict></array>%00
--
Grant Edwards grante Yow! Should I get locked
at in the PRINCICAL'S
visi.com OFFICE today -- or have
a VASECTOMY??
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 22:12 ` Grant Edwards
@ 2009-03-11 22:41 ` Grant Edwards
2009-03-11 22:42 ` phcoder
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-11 22:41 UTC (permalink / raw)
To: grub-devel
On 2009-03-11, Grant Edwards <grante@visi.com> wrote:
> Moving grub from the EFI FAT32 partition to the HFS+ partition
> eliminates the 30-second delay. In this case the status looks
> like this:
It's usable this way except it would be nice to have grub in a
second parition. That way if I break grub, I can still hold
down the option key and select the OS-X HFS+ partition.
--
Grant Edwards grante Yow! With YOU, I can be
at MYSELF ... We don't NEED
visi.com Dan Rather ...
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 22:41 ` Grant Edwards
@ 2009-03-11 22:42 ` phcoder
2009-03-11 22:51 ` Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: phcoder @ 2009-03-11 22:42 UTC (permalink / raw)
To: The development of GRUB 2
Grant Edwards wrote:
> On 2009-03-11, Grant Edwards <grante@visi.com> wrote:
>
>> Moving grub from the EFI FAT32 partition to the HFS+ partition
>> eliminates the 30-second delay. In this case the status looks
>> like this:
>
> It's usable this way except it would be nice to have grub in a
> second parition. That way if I break grub, I can still hold
> down the option key and select the OS-X HFS+ partition.
>
You can always format an additional HFS+ partition
--
Regards
Vladimir 'phcoder' Serbinenko
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 21:54 ` phcoder
@ 2009-03-11 22:48 ` Grant Edwards
0 siblings, 0 replies; 25+ messages in thread
From: Grant Edwards @ 2009-03-11 22:48 UTC (permalink / raw)
To: grub-devel
On 2009-03-11, phcoder <phcoder@gmail.com> wrote:
> 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+
I may try using bless --device to see if that works any
differently.
What seems particular weird to me is that after doing 15 tries
of <something>, the firmware does find grub.efi and starts it
just fine.
It's like it _finds_ it, but isn't particularly happy about it.
So, it goes off an tries something else 15 times. When that
doesn't work, it goes ahead and boots grub.efi.
I've checked, and it's not sending any network packets during
that 30 seconds. Something via the network is the only thing I
can think of that would be worth re-trying. I can't figure out
what it might be trying that a) is failing, and b) somebody
thought might succeed if it was just re-tried another 14 times
over a period of 30 seconds.
If a particular sector on a disk or a file doesn't contain what
you're looking for, reading it 14 more times isn't going to
help... :/
--
Grant Edwards grante Yow! The Korean War must
at have been fun.
visi.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 22:42 ` phcoder
@ 2009-03-11 22:51 ` Grant Edwards
2009-03-12 2:17 ` Peter Cros
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-11 22:51 UTC (permalink / raw)
To: grub-devel
On 2009-03-11, phcoder <phcoder@gmail.com> wrote:
> Grant Edwards wrote:
>> On 2009-03-11, Grant Edwards <grante@visi.com> wrote:
>>
>>> Moving grub from the EFI FAT32 partition to the HFS+ partition
>>> eliminates the 30-second delay. In this case the status looks
>>> like this:
>>
>> It's usable this way except it would be nice to have grub in a
>> second parition. That way if I break grub, I can still hold
>> down the option key and select the OS-X HFS+ partition.
>
> You can always format an additional HFS+ partition
That sounds like something worth trying. We don't know if it's
working because it's in an HFS+ partition or if it's working
because it's in the same parition as OS-X.
Maybe I'll stick in a USB flash drive with a GPT partition
table and an HFS+ partition.
--
Grant Edwards grante Yow! -- I love KATRINKA
at because she drives a
visi.com PONTIAC. We're going
away now. I fed the cat.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-11 22:51 ` Grant Edwards
@ 2009-03-12 2:17 ` Peter Cros
2009-03-12 14:37 ` Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: Peter Cros @ 2009-03-12 2:17 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]
I have used a separate small hfs+ partition, works well, and fast if
blessed.
The EFI FAT32 partition is OK and a good backup if using rEFIt to recognise
it without needing to bless, but cant be blessed --folder.
On Thu, Mar 12, 2009 at 9:51 AM, Grant Edwards <grante@visi.com> wrote:
> On 2009-03-11, phcoder <phcoder@gmail.com> wrote:
> > Grant Edwards wrote:
> >> On 2009-03-11, Grant Edwards <grante@visi.com> wrote:
> >>
> >>> Moving grub from the EFI FAT32 partition to the HFS+ partition
> >>> eliminates the 30-second delay. In this case the status looks
> >>> like this:
> >>
> >> It's usable this way except it would be nice to have grub in a
> >> second parition. That way if I break grub, I can still hold
> >> down the option key and select the OS-X HFS+ partition.
> >
> > You can always format an additional HFS+ partition
>
> That sounds like something worth trying. We don't know if it's
> working because it's in an HFS+ partition or if it's working
> because it's in the same parition as OS-X.
>
> Maybe I'll stick in a USB flash drive with a GPT partition
> table and an HFS+ partition.
>
> --
> Grant Edwards grante Yow! -- I love KATRINKA
> at because she drives a
> visi.com PONTIAC. We're going
> away now. I fed the cat.
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Cros (pxw)
[-- Attachment #2: Type: text/html, Size: 2480 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-12 2:17 ` Peter Cros
@ 2009-03-12 14:37 ` Grant Edwards
2009-03-13 10:59 ` Peter Cros
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-12 14:37 UTC (permalink / raw)
To: grub-devel
On 2009-03-12, Peter Cros <pxwpxw8@gmail.com> wrote:
> I have used a separate small hfs+ partition, works well, and
> fast if blessed.
I think that's what I'll try next.
The other option I'd like to try is a GPT-partitioned USB flash
drive. For that to be advantageous, I would need to add GPT
partition table support to my Linux kernel to avoid having to
plug in a second USB flash drive for the MiniMyth files.
[The goal of the exercise is to use a Mac Mini as a "diskless"
MythTv frontend using the distro from www.minimyth.org. This
Mini is my first Mac since the 68k days, and I'm very impressed
with the hardware, but the firmware seems mediocre at best.]
> The EFI FAT32 partition is OK and a good backup if using rEFIt
> to recognise it without needing to bless, but cant be blessed
> --folder.
That's what I'd more-or-less concluded. I tried blessing the
device (/dev/disk0s1) and that didn't make any difference
either.
What's odd is that I found step-by-step instructions that
specifically show booting elilo from the EFI partition on an
Intel Mac Mini at
http://www.mythic-beasts.com/resources/macmini/walkthrough.html
Did other versions of firmware allow blessing the EFI partition
somehow?
--
Grant Edwards grante Yow! Now I understand the
at meaning of "THE MOD SQUAD"!
visi.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-12 14:37 ` Grant Edwards
@ 2009-03-13 10:59 ` Peter Cros
2009-03-13 14:26 ` Grant Edwards
0 siblings, 1 reply; 25+ messages in thread
From: Peter Cros @ 2009-03-13 10:59 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 2562 bytes --]
A brief read of the mininmyth docs suggests it can also run on a fat
partition on the gpt hard disk.
You can put an hfs+ partition on a msdos disk, or a fat32 partition on a gpt
disk and grub.efi can handle both. plus linux ext2/3.
Have you installed the rEFIt boot manager http://refit.sourceforge.net/
It simplifies testing and the web site has good information on Apple efi
booting and some history.
You need to read the Mac OSX bless manual closely to compare the options,
and experiment.
Seems to me the key issue is getting your kernel and system running,
identity any grub development issues, the other stuff can be optimised
later.
My experience has been with other users of Apple Intel Macs bootng
Debian/Ubuntu linux and Mac OSX, using grub-pc and grub-efi. It helps to
have a linux installation on the hard drive.
On Fri, Mar 13, 2009 at 1:37 AM, Grant Edwards <grante@visi.com> wrote:
> On 2009-03-12, Peter Cros <pxwpxw8@gmail.com> wrote:
>
> > I have used a separate small hfs+ partition, works well, and
> > fast if blessed.
>
> I think that's what I'll try next.
>
> The other option I'd like to try is a GPT-partitioned USB flash
> drive. For that to be advantageous, I would need to add GPT
> partition table support to my Linux kernel to avoid having to
> plug in a second USB flash drive for the MiniMyth files.
>
> [The goal of the exercise is to use a Mac Mini as a "diskless"
> MythTv frontend using the distro from www.minimyth.org. This
> Mini is my first Mac since the 68k days, and I'm very impressed
> with the hardware, but the firmware seems mediocre at best.]
>
> > The EFI FAT32 partition is OK and a good backup if using rEFIt
> > to recognise it without needing to bless, but cant be blessed
> > --folder.
>
> That's what I'd more-or-less concluded. I tried blessing the
> device (/dev/disk0s1) and that didn't make any difference
> either.
>
> What's odd is that I found step-by-step instructions that
> specifically show booting elilo from the EFI partition on an
> Intel Mac Mini at
>
> http://www.mythic-beasts.com/resources/macmini/walkthrough.html
>
> Did other versions of firmware allow blessing the EFI partition
> somehow?
>
> --
> Grant Edwards grante Yow! Now I understand
> the
> at meaning of "THE MOD
> SQUAD"!
> visi.com
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Cros (pxw)
[-- Attachment #2: Type: text/html, Size: 3620 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-13 10:59 ` Peter Cros
@ 2009-03-13 14:26 ` Grant Edwards
2009-03-13 15:39 ` phcoder
2009-03-14 5:57 ` Peter Cros
0 siblings, 2 replies; 25+ messages in thread
From: Grant Edwards @ 2009-03-13 14:26 UTC (permalink / raw)
To: grub-devel
On 2009-03-13, Peter Cros <pxwpxw8@gmail.com> wrote:
> A brief read of the mininmyth docs suggests it can also run on
> a fat partition on the gpt hard disk.
No, the minimyth kernel doesn't support EFT/GPT partitioned
disks. It also doesn't support SATA hard drives. Currently,
it doesn't even know the hard-drive is there. If it did, it
wouldn't know what to do with it.
> You can put an hfs+ partition on a msdos disk, or a fat32
> partition on a gpt disk and grub.efi can handle both. plus
> linux ext2/3.
Right, but the MiniMyth kenel can only handle msdos parition
tables, and Macs will only boot from GPT partioned disks.
> Have you installed the rEFIt boot manager
> http://refit.sourceforge.net/ It simplifies testing and the
> web site has good information on Apple efi booting and some
> history.
Thanks.
> You need to read the Mac OSX bless manual closely to compare
> the options, and experiment.
I've read that man page dozens of times. It's pretty vague. One
thing that's confusing it talks a lot about "the volume" --
always in the singular. I can't figure out to what "volume"
refers such that there is never more than one in a system.
> Seems to me the key issue is getting your kernel and system
> running, identity any grub development issues, the other stuff
> can be optimised later.
At this point, there aren't any grub development issues. Grub
works fine. The current issues are caused by:
1) Mac firmware not being able to boot from anything other
than an HFS+ partion on a GPT partioned drive.
2) MiniMyth kernel lacks support for EFI/GPT parition tables
and SATA hard drives.
I'm going to try rebuilding MiniMyth with GPT support so that I
can GPT partition a USB flash drive in hopes of getting the Mac
to boot from it. I'm also going to try adding AHCI SATA
controller support to MiniMyth so that I can spin down the
hard-drive.
> My experience has been with other users of Apple Intel Macs
> bootng Debian/Ubuntu linux and Mac OSX, using grub-pc and
> grub-efi. It helps to have a linux installation on the hard
> drive.
That's sort of heading the wrong direction. My goal is not to
have to touch the Mac hard-drive at all. So far, that's not
been possible, but I'm getting closer.
--
Grant Edwards grante Yow! We just joined the
at civil hair patrol!
visi.com
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-13 14:26 ` Grant Edwards
@ 2009-03-13 15:39 ` phcoder
2009-03-13 16:19 ` Grant Edwards
2009-03-14 5:57 ` Peter Cros
1 sibling, 1 reply; 25+ messages in thread
From: phcoder @ 2009-03-13 15:39 UTC (permalink / raw)
To: The development of GRUB 2
Have you tried booting from hfs+ on msdos?
Grant Edwards wrote:
> On 2009-03-13, Peter Cros <pxwpxw8@gmail.com> wrote:
>
>> A brief read of the mininmyth docs suggests it can also run on
>> a fat partition on the gpt hard disk.
>
> No, the minimyth kernel doesn't support EFT/GPT partitioned
> disks. It also doesn't support SATA hard drives. Currently,
> it doesn't even know the hard-drive is there. If it did, it
> wouldn't know what to do with it.
>
>> You can put an hfs+ partition on a msdos disk, or a fat32
>> partition on a gpt disk and grub.efi can handle both. plus
>> linux ext2/3.
>
> Right, but the MiniMyth kenel can only handle msdos parition
> tables, and Macs will only boot from GPT partioned disks.
>
>> Have you installed the rEFIt boot manager
>> http://refit.sourceforge.net/ It simplifies testing and the
>> web site has good information on Apple efi booting and some
>> history.
>
> Thanks.
>
>> You need to read the Mac OSX bless manual closely to compare
>> the options, and experiment.
>
> I've read that man page dozens of times. It's pretty vague. One
> thing that's confusing it talks a lot about "the volume" --
> always in the singular. I can't figure out to what "volume"
> refers such that there is never more than one in a system.
>
>> Seems to me the key issue is getting your kernel and system
>> running, identity any grub development issues, the other stuff
>> can be optimised later.
>
> At this point, there aren't any grub development issues. Grub
> works fine. The current issues are caused by:
>
> 1) Mac firmware not being able to boot from anything other
> than an HFS+ partion on a GPT partioned drive.
>
> 2) MiniMyth kernel lacks support for EFI/GPT parition tables
> and SATA hard drives.
>
> I'm going to try rebuilding MiniMyth with GPT support so that I
> can GPT partition a USB flash drive in hopes of getting the Mac
> to boot from it. I'm also going to try adding AHCI SATA
> controller support to MiniMyth so that I can spin down the
> hard-drive.
>
>> My experience has been with other users of Apple Intel Macs
>> bootng Debian/Ubuntu linux and Mac OSX, using grub-pc and
>> grub-efi. It helps to have a linux installation on the hard
>> drive.
>
> That's sort of heading the wrong direction. My goal is not to
> have to touch the Mac hard-drive at all. So far, that's not
> been possible, but I'm getting closer.
>
--
Regards
Vladimir 'phcoder' Serbinenko
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-13 15:39 ` phcoder
@ 2009-03-13 16:19 ` Grant Edwards
2009-03-13 17:20 ` phcoder
0 siblings, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-13 16:19 UTC (permalink / raw)
To: grub-devel
On 2009-03-13, phcoder <phcoder@gmail.com> wrote:
> Have you tried booting from hfs+ on msdos?
Actually I haven't. I found multiple postings in various
places saying that Mac firmware would only boot from USB drives
if they were GPT partitioned, so I never bothered to try it.
I'll give that a try as well.
--
Grant Edwards grante Yow! Vote for ME -- I'm
at well-tapered, half-cocked,
visi.com ill-conceived and
TAX-DEFERRED!
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-13 16:19 ` Grant Edwards
@ 2009-03-13 17:20 ` phcoder
2009-03-14 1:56 ` Peter Cros
0 siblings, 1 reply; 25+ messages in thread
From: phcoder @ 2009-03-13 17:20 UTC (permalink / raw)
To: The development of GRUB 2
Apple says that booting from msdos partition is unsupported, however
I've reports of people successfully doing so
Grant Edwards wrote:
> On 2009-03-13, phcoder <phcoder@gmail.com> wrote:
>
>> Have you tried booting from hfs+ on msdos?
>
> Actually I haven't. I found multiple postings in various
> places saying that Mac firmware would only boot from USB drives
> if they were GPT partitioned, so I never bothered to try it.
>
> I'll give that a try as well.
>
--
Regards
Vladimir 'phcoder' Serbinenko
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-13 17:20 ` phcoder
@ 2009-03-14 1:56 ` Peter Cros
0 siblings, 0 replies; 25+ messages in thread
From: Peter Cros @ 2009-03-14 1:56 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 885 bytes --]
grub.efi booting from hfsplus on external msdos usb drive has worked for me,
maybe I was usiing rEFIt.
On Sat, Mar 14, 2009 at 4:20 AM, phcoder <phcoder@gmail.com> wrote:
> Apple says that booting from msdos partition is unsupported, however I've
> reports of people successfully doing so
> Grant Edwards wrote:
>
>> On 2009-03-13, phcoder <phcoder@gmail.com> wrote:
>>
>> Have you tried booting from hfs+ on msdos?
>>>
>>
>> Actually I haven't. I found multiple postings in various
>> places saying that Mac firmware would only boot from USB drives
>> if they were GPT partitioned, so I never bothered to try it.
>>
>> I'll give that a try as well.
>>
>>
>
> --
>
> Regards
> Vladimir 'phcoder' Serbinenko
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Cros (pxw)
[-- Attachment #2: Type: text/html, Size: 1807 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-13 14:26 ` Grant Edwards
2009-03-13 15:39 ` phcoder
@ 2009-03-14 5:57 ` Peter Cros
2009-03-14 15:07 ` Grant Edwards
2009-03-21 21:30 ` Grant Edwards
1 sibling, 2 replies; 25+ messages in thread
From: Peter Cros @ 2009-03-14 5:57 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 2110 bytes --]
On Sat, Mar 14, 2009 at 1:26 AM, Grant Edwards <grante@visi.com> wrote:
> 1) Mac firmware not being able to boot from anything other
> than an HFS+ partion on a GPT partioned drive.
>
I got curious and rechecked this -
Here is grub.efi booting from usb msdos drive with hfsplus partition -
sh-3.2# diskutil list /dev/disk1
/dev/disk1
#: TYPE NAME SIZE
IDENTIFIER
0: FDisk_partition_scheme *1.9 Gi disk1
1: Linux 1.2 Gi disk1s1
2: Apple_HFS disk1s2 572.6 Mi disk1s2
3: DOS_FAT_32 fat32 100.4 Mi disk1s3
sh-3.2# bless --folder /Volumes/disk1s2 --file /Volumes/disk1s2/grub64.efi
--label "msdoshfsp" --setBoot
sh-3.2# bless --info /Volumes/disk1s2 finderinfo[0]: 2 => Blessed
System Folder is /Volumes/disk1s2/
finderinfo[1]: 85 => Blessed System File is /Volumes/disk1s2/grub64.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]: 2 => OS X blessed folder is /Volumes/disk1s2/
64-bit VSDB volume id: 0x795006DDA23084CA
sh-3.2#
--setBoot gives deafult fast boot to grub menu, but when booted that way,
grub can only see its own disk (hd0)
If booted via Option key or rEFIt all drives are seen and bootable.
>
> 2) MiniMyth kernel lacks support for EFI/GPT parition tables
> and SATA hard drives.
>
On the GPT drive, an MSDOS partition table is generated from gpt tables by
the Mac OSX Bootcamp utility which creates a fat32 partition for the Windows
msdos compatible mode.
Or the msdos MBR can also be checked and generated by rEFIt (used by apple
intel linux users).
The list of drivers for minimyth seems to include those used for sata on my
macs, but you may have better info.
_______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Cros (pxw)
[-- Attachment #2: Type: text/html, Size: 3292 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-14 5:57 ` Peter Cros
@ 2009-03-14 15:07 ` Grant Edwards
2009-03-21 21:30 ` Grant Edwards
1 sibling, 0 replies; 25+ messages in thread
From: Grant Edwards @ 2009-03-14 15:07 UTC (permalink / raw)
To: grub-devel
On 2009-03-14, Peter Cros <pxwpxw8@gmail.com> wrote:
>> 1) Mac firmware not being able to boot from anything other
>> than an HFS+ partion on a GPT partioned drive.
>>
>
> I got curious and rechecked this -
> Here is grub.efi booting from usb msdos drive with hfsplus partition -
That's good to know. I guess I should have tried it rather
assuming as true the posts about requiring a GPT partition. Of
course that may be something tha varies by model or by firmware
revision.
> --setBoot gives deafult fast boot to grub menu, but when booted that way,
> grub can only see its own disk (hd0)
That's OK for what I'm doing.
>> 2) MiniMyth kernel lacks support for EFI/GPT parition tables
>> and SATA hard drives.
> The list of drivers for minimyth seems to include those used
> for sata on my macs, but you may have better info.
I should have qualified my statement -- it doesn't include the
AHCI SATA driver required for recent Mac Minis.
--
Grant
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
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
1 sibling, 1 reply; 25+ messages in thread
From: Grant Edwards @ 2009-03-21 21:30 UTC (permalink / raw)
To: grub-devel
On 2009-03-14, Peter Cros <pxwpxw8@gmail.com> wrote:
> On Sat, Mar 14, 2009 at 1:26 AM, Grant Edwards <grante@visi.com> wrote:
>
>> 1) Mac firmware not being able to boot from anything other
>> than an HFS+ partion on a GPT partioned drive.
>
> I got curious and rechecked this -
> Here is grub.efi booting from usb msdos drive with hfsplus partition -
When I try that, I get one of two things:
1) When it boots directly into grub, grub can only see hd0
(which appears to be the USB drive), but it can't see any
of the paritions on hd0. Needless to say, it can't find
it's config file.
2) Holding down the Option key and selecting grub allows it to
see both disks -- it can see partitions on the
GPT-partitioned hard drive but not on the MS-DOS
partitioned USB drive. I can manually load a config-file
from the hard drive, none of the menu entries work -- I see
stuff like
error: unknown command `initrd'
or
error: unkown command `search'
Here's the info on the USB drive:
bash-3.2# diskutil list /dev/disk1
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *3.7 Gi disk1
1: DOS_FAT_32 minimyth 1.9 Gi disk1s1
2: Apple_HFS mmhfs 1.9 Gi disk1s2
bash-3.2# bless --info /Volumes/mmhfs
finderinfo[0]: 2 => Blessed System Folder is /Volumes/mmhfs/
finderinfo[1]: 120 => Blessed System File is /Volumes/mmhfs/efi/grub/grub.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]: 2 => OS X blessed folder is /Volumes/mmhfs/
64-bit VSDB volume id: 0xA3FBF66150DE9BB1
> --setBoot gives deafult fast boot to grub menu, but when booted that way,
> grub can only see its own disk (hd0)
Same here, and it can't see any of the partitions on that disk.
End result: still no luck booting from USB drive, just a larger
variety of failure modes.
--
Grant
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Boot delay when using grub.efi on Mac Mini
2009-03-21 21:30 ` Grant Edwards
@ 2009-03-22 3:56 ` Peter Cros
0 siblings, 0 replies; 25+ messages in thread
From: Peter Cros @ 2009-03-22 3:56 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 2633 bytes --]
Don't know, rechecked it here and it sees all the usb partitions whichever
way its booted, maybe something wrong with your grub.efi build preloaded
modules. Check the latest svn.
On Sun, Mar 22, 2009 at 8:30 AM, Grant Edwards <grante@visi.com> wrote:
> On 2009-03-14, Peter Cros <pxwpxw8@gmail.com> wrote:
> > On Sat, Mar 14, 2009 at 1:26 AM, Grant Edwards <grante@visi.com> wrote:
> >
> >> 1) Mac firmware not being able to boot from anything other
> >> than an HFS+ partion on a GPT partioned drive.
> >
> > I got curious and rechecked this -
> > Here is grub.efi booting from usb msdos drive with hfsplus partition -
>
> When I try that, I get one of two things:
>
> 1) When it boots directly into grub, grub can only see hd0
> (which appears to be the USB drive), but it can't see any
> of the paritions on hd0. Needless to say, it can't find
> it's config file.
>
> 2) Holding down the Option key and selecting grub allows it to
> see both disks -- it can see partitions on the
> GPT-partitioned hard drive but not on the MS-DOS
> partitioned USB drive. I can manually load a config-file
> from the hard drive, none of the menu entries work -- I see
> stuff like
>
> error: unknown command `initrd'
>
> or
>
> error: unkown command `search'
>
> Here's the info on the USB drive:
>
> bash-3.2# diskutil list /dev/disk1
> /dev/disk1
> #: TYPE NAME SIZE
> IDENTIFIER
> 0: FDisk_partition_scheme *3.7 Gi disk1
> 1: DOS_FAT_32 minimyth 1.9 Gi disk1s1
> 2: Apple_HFS mmhfs 1.9 Gi disk1s2
>
> bash-3.2# bless --info /Volumes/mmhfs
> finderinfo[0]: 2 => Blessed System Folder is /Volumes/mmhfs/
> finderinfo[1]: 120 => Blessed System File is
> /Volumes/mmhfs/efi/grub/grub.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]: 2 => OS X blessed folder is /Volumes/mmhfs/
> 64-bit VSDB volume id: 0xA3FBF66150DE9BB1
>
> > --setBoot gives deafult fast boot to grub menu, but when booted that way,
> > grub can only see its own disk (hd0)
>
> Same here, and it can't see any of the partitions on that disk.
>
> End result: still no luck booting from USB drive, just a larger
> variety of failure modes.
>
> --
> Grant
>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Cros (pxw)
[-- Attachment #2: Type: text/html, Size: 3411 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2009-03-22 3:56 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.