Hi,
Tested and works on Apple imac81 with Mac OSX 10.5, patch applied to r 2074
grub> hfspbless (hd0,3)/efi
Last login: Sun Apr 19 14:30:23 on console
im81:~ pxw$ bless --info /Volumes/hfsp
finderinfo[0]: 52 => Blessed System Folder is /Volumes/hfsp/efi
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]: 0 => No OS 9 + X blessed X folder
64-bit VSDB volume id: 0x0F87F7680B9C5211
im81:~ pxw$
Now it just needs to bless the file in order to boot from grub.efi on Apple EFI
hfspbless <DIRECTORY> <FILE>
This would be VERY useful, making grub.efi boot possible on Apple Mac without needing Mac OSX or refit.
hfspbless is fine for a name
2009/4/19 Vladimir Serbinenko
<address@hidden>
Hello, due to request by ams I wrote this. It's an analog of "bless" command available under OSX rewritten using grub2 fs functions and according to apple specification of hfs+ on-disk format. This command only update the blessed folder on a partition it doesn't change which drive is used for booting. The later will be a separate command. Also you can choose which volume to boot from by holding option key. Syntax:
hfspbless <DIRECTORY>
It works only on HFS+ volumes. Also due to the lack of hardware I wasn't unable to test this "in vivo"
_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel
--
Cros (pxw)
_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel