Thanks that is going to be very useful. Just some further comment from the little I know -
On Mon, Apr 20, 2009 at 12:14 AM, Vladimir Serbinenko <phco...@gmail.com>wrote: > >> > Now the question is how we do it. We can either keep the current syntax or > IMO it's better to have two commands: > intelmacbless and ppcmacbless both accepting file as an argument. First one > updates finderInfo[1] and the second one updates finderInfo[0] and sets > filetype of given file to tbxi and if any other file has the type tbxi in > the same directory then change it to any other value (e.g. tbxj) > The finderinfo[1] file blessing does seem the best for intel mac, but just based on my imac81 test with current EFI. >> Now all we need is --setBoot to make grub.efi the default boot, no Option >> key required. >> > In my todo. Thanks to ams I have all the needed info now > >> Oh, and how do we get grub.efi booted to bless itself - the only way I >> know at present is to use a rEFIt CD, which is bootable by Apple EFI. >> > I don't understand your question but hfspbless works in grub-emu too. > Do you mean run grub-emu as part of a linux installation to bless grub.ef? It seems to leave the problem of booting the linux installer, which is easy to do from grub.efi - if it is blessed. At present we install grub.efi manually, using only grub-mkimage to build grub.efi, without using other grub utilities, and mostly just use preloaded modules. Here is some more info for the intel mac - Further checking shows that Apple EFI will detect and boot an unblessed file named boot.efi but only if the enclosing folder is blessed. Will not boot unblessed grub.efi in the same folder. im81:~ pxw$ bless --info /Volumes/hfsp finderinfo[0]: 7891 => Blessed System Folder is /Volumes/hfsp/efi/test finderinfo[1]: 0 => No Blessed System File 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]: 7891 => OS X blessed folder is /Volumes/hfsp/efi/test 64-bit VSDB volume id: 0x0F87F7680B9C5211 im81:~ pxw$ ls /Volumes/hfsp/efi/test boot.efi grub.cfg grub523.efi grub523.icns grub64.icns im81:~ pxw$ That boots boot.efi using the Option key. For OSX boot.efi - im81:~ pxw$ bless --info / finderinfo[0]: 149 => Blessed System Folder is /System/Library/CoreServices finderinfo[1]: 297081 => 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]: 149 => OS X blessed folder is /System/Library/CoreServices 64-bit VSDB volume id: 0x0F8CB2A6A4C456E8 > >>>> >> -- >> Cros (pxw) >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Cros (pxw)
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel