Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LvdGg-0007Fo-4d for mharc-grub-devel@gnu.org; Sun, 19 Apr 2009 16:05:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvdGe-0007FB-I5 for grub-devel@gnu.org; Sun, 19 Apr 2009 16:05:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvdGZ-0007Cw-L9 for grub-devel@gnu.org; Sun, 19 Apr 2009 16:05:31 -0400 Received: from [199.232.76.173] (port=57280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvdGZ-0007Ct-HK for grub-devel@gnu.org; Sun, 19 Apr 2009 16:05:27 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:62239) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvdGY-0004lJ-Nl for grub-devel@gnu.org; Sun, 19 Apr 2009 16:05:27 -0400 Received: by ewy4 with SMTP id 4so1562458ewy.42 for ; Sun, 19 Apr 2009 13:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=NxZYxFg3o0L3q4roBr76UFOBEN8RB641NI9wCYogS+8=; b=I47adYQBKfiMWCwJ/O6okXrSDcgh+m2sOzn/nWNVIVw3JgFW5s99ZejZ76OOXzeAnY h0svmKV03872KGTpTJ1lO8uGtQMCLnRamMNTyhEvWJd2LRQww4JB0ZCxN58kMsy+7v3G P7gYFTHKIKs4cclzfSF1p5hOZzMpoDX8RLvjw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IZKCtp8n+04/T4NTJLviuHQOJBLEl53ckuVVOfcBaMUisKnG9UEz4CnUAZtc01aG8r phIKZ8BhSVzrFqyHxj/1ujjGR3Iuwvuv+tmyg6+Gl2l4tncQ+kN69HSN5SJmdSKrJVe9 Qu8w4oZWUA56aNodRN4sfaUAJfudh98r1+Wfw= MIME-Version: 1.0 Received: by 10.210.137.17 with SMTP id k17mr4016341ebd.83.1240171525888; Sun, 19 Apr 2009 13:05:25 -0700 (PDT) In-Reply-To: <48f46e890904190830m3d23f7dqdbdf0227a9f580cf@mail.gmail.com> References: <48f46e890904182151t55ad5e29sd7a280c62574ba40@mail.gmail.com> <48f46e890904190626l78773fdbp17f4ddd18566cdec@mail.gmail.com> <48f46e890904190830m3d23f7dqdbdf0227a9f580cf@mail.gmail.com> Date: Sun, 19 Apr 2009 22:05:25 +0200 Message-ID: From: Vladimir Serbinenko To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=0015174c141642da490467edef38 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] bless command X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2009 20:05:32 -0000 --0015174c141642da490467edef38 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello > 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. > You can use the bootable CD of your favourite distro. I hope that grub2.efi will become a default bootloader to install on efi system for major linux distributions > > > 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. > Could you determine the priority? E.g. if you have both blessed file and boot.efi in blessed directory which one is loaded? > > 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 > > --0015174c141642da490467edef38 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello
Do you mean run gru= b-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 insta= ll grub.efi manually, using only grub-mkimage to build grub.efi, without us= ing other grub utilities, and mostly just use preloaded modules.
You can use the bootable CD of you= r favourite distro. I hope that grub2.efi will become a default bootloader = to install on efi system for major linux distributions


Her= e is some more info for the intel mac -

Further ch= ecking shows that Apple EFI will detect and boot an unblessed file named bo= ot.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=A0
=
finderinfo[0]: =A0 7891 =3D> Blessed System Folder is /Volume= s/hfsp/efi/test
finderinfo[1]: =A0 =A0 =A00 =3D> No Blessed Syste= m File
finderinfo[2]: =A0 =A0 =A00 =3D> Open-folder linked list empty
finderinfo[3]: =A0 =A0 =A00 =3D> No OS 9 + X blessed 9 folder
finderinfo[4]: =A0 =A0 =A00 =3D> Unused field unset
finderinfo[5]: =A0 7891 =3D> OS X blessed folder is /Volumes/hfsp/efi/= test
64-bit VSDB volume id: =A00x0F87F7680B9C5211

im81:~ pxw$ ls /Volumes/hfsp/efi/test=A0
boot.efi grub.cfg = grub523.efi grub523.icns grub64.icns
im81:~ pxw$=A0
That boots boot.efi using the Option key.=A0<= /div>
Could you determine the= priority? E.g. if you have both blessed file and boot.efi in blessed directory which one is loaded?
=A0

For OSX boot.efi -
im81:~ pxw$ bles= s --info /
finderinfo[0]: =A0 =A0149 =3D> Blessed System Folde= r is /System/Library/CoreServices
finderinfo[1]: 297081 =3D> Blessed System File is /System/Library/C= oreServices/boot.efi
finderinfo[2]: =A0 =A0 =A0= 0 =3D> Open-folder linked list empty
finderinfo[3]: =A0 =A0 = =A00 =3D> No OS 9 + X blessed 9 folder
finderinfo[4]: =A0 =A0 =A00 =3D> Unused field unset
finderinfo[5]: =A0 =A0149 =3D> OS X blessed folder is /System/Library/C= oreServices
64-bit VSDB volume id: =A00x0F8CB2A6A4C456E8

<= /div>

--
Cros (pxw)



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org<= /a>
http://lists.gnu.org/mailman/listinfo/grub-devel



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org<= /a>
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


--0015174c141642da490467edef38--