From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NavqR-0002EQ-RZ for mharc-grub-devel@gnu.org; Fri, 29 Jan 2010 13:45:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NavqQ-0002Ds-8K for grub-devel@gnu.org; Fri, 29 Jan 2010 13:45:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NavqL-0002As-CM for grub-devel@gnu.org; Fri, 29 Jan 2010 13:45:25 -0500 Received: from [199.232.76.173] (port=55712 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NavqL-0002Al-8z for grub-devel@gnu.org; Fri, 29 Jan 2010 13:45:21 -0500 Received: from aa.81.b6.static.xlhost.com ([207.182.129.170]:57718 helo=wombat.diezmil.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NavqK-00076o-Lg for grub-devel@gnu.org; Fri, 29 Jan 2010 13:45:21 -0500 Received: from wombat (wombat [127.0.0.1]) by wombat.diezmil.com (8.14.2/8.14.2) with ESMTP id o0TIjHkT021531 for ; Fri, 29 Jan 2010 13:45:17 -0500 Date: Fri, 29 Jan 2010 13:45:17 -0500 From: gburanov@gmail.com To: grub-devel@gnu.org Message-ID: <7709455.11264790717499.JavaMail.root@wombat> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Re: Grub2 on UEFI X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2010 18:45:26 -0000 > /EFI/Boot/GRUB/bootx64.efi > /EFI/Boot/eLilo/bootx64.efi > /EFI/Boot/Microsoft/bootx64.efi > > I need a way to load both Boot Manager and eLilo for grub. Can you pleas= e show me the example of > config file? >=20 > The command to use is chainloader or similar (as opposed to the > 'linux' command used to load a Linux kernel) and it takes the name of > other .efi image as the parameter. You can try it in the grub > commandline. >=20 > If you want to put that in a menu look at the existing config and the > scripts in your distro that generate it. Editing the config file is > generally useless as it is usually generated by a script. Thanks I will try chainloader and write about results later! About the scri= pt that generates menu - actually speaking I don't have a distro =3D) I nee= d grub to load small kernel with ramdisk - that do specific actions and qui= t, they don't have functionality to edit config file, so I need to do it by= myself. > > > > > > > > > ?????????????????? If it possible to exit grub with EFI ERROR to proce= ss loading the > > next loader? > > > > > > Exiting grub is in itself an error, an OS loader should never end. > > So look for some quit command. > > > Why? I think it was in old BIOS times. EFI was a boot order concept, in o= ne loader is failed, another=20 > one is trying to boot. >=20 > If the boot loader exited it has obviously not loaded any OS hence it > has failed. Here I disagree. In old BIOS times we got only one try to load OS - the MBR= got the jump to the loader (lilo, grub, ntldr, whatever), and if the loade= r fail - the whole booting it failed (however loader can "pass" execution t= o another loader) Now, EFI has the concept or order of loaders. The EFI firmware loader has = a list of loaders, if the first one (say grub) is failed, it will try next = one (say Windows Boot Manager). So, Windows Boot Manager is executed by EFI= Firmware loader, not by the grub> > > > =C2=B7 What about device names in grub2 for EFI? The problem is= that > old device names were based on BIOS device names, and it seems that in EF= I > it's not the same. For example, what disk is hd0? >=20 > Unfortunately, the disk order is firmware specific and nothing can be > done about that. You should look at disk content or use UUIDs. Please, I need more info on it =3D) How can I identify the disk using disk content or UUID. For example, I got my kernel on NTFS partition and now smth like (hd2,1)/Loader/Kernel/vmlinux is written in grub config. Imagine that new disk is inserted oor new partit= ion is created, the booting will fail. For example I need to examine all pa= rtitions and if one has a dir structure /Loader/Kernel/vmlinux and/or UUID = ... - load the kernel. How can I do that? I can't find mych information on = the topic Thanks in advance, Georgy!! -- This message was sent on behalf of gburanov@gmail.com at openSubscriber.com http://www.opensubscriber.com/message/grub-devel@gnu.org/13347318.html