Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ncc6q-0003b6-1V for mharc-grub-devel@gnu.org; Wed, 03 Feb 2010 05:05:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ncc6o-0003aY-5g for grub-devel@gnu.org; Wed, 03 Feb 2010 05:05:18 -0500 Received: from [199.232.76.173] (port=43084 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ncc6n-0003aA-Dw for grub-devel@gnu.org; Wed, 03 Feb 2010 05:05:17 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ncc6m-0006cA-9x for grub-devel@gnu.org; Wed, 03 Feb 2010 05:05:17 -0500 Received: from mail-bw0-f219.google.com ([209.85.218.219]:33941) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ncc6l-0006be-9R for grub-devel@gnu.org; Wed, 03 Feb 2010 05:05:16 -0500 Received: by bwz19 with SMTP id 19so6376bwz.8 for ; Wed, 03 Feb 2010 02:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=E3ljj+jlvdAPO9VGMM8stUX588DHNG3YfVoLsG9g3x8=; b=Lo5sweVMfzN0i2hDB2YXi6dLk+HC8+dNeuIqH0g6RBb+Ps9UGIiv0EjTvcVnyxxWsZ kxDKfwYrfs7cb8E3065A6IgzaZ3SUy6sMWGwpLEcwtwuMrV6WNxMRjR/4debNiBXZ7aK 7jBpjX1psCnZWn+vcHDvI5iKqoJOcGIq8R57U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=azRW9+7kG0qr98x14ThGKkiRDboMetdxZNs3H4Tq4D3rTJxSsvcBkexgBDmXabj+O9 AMkXTXAk0LDgXwiYsZecRLq/G4keaeNEOyXzo8+4zMORABhxeVH4+2mJKsNU3FAtW2Kf ph8a1lxndH3zOV0fvvS5/4UnzSN149ybRxMbE= MIME-Version: 1.0 Received: by 10.204.142.132 with SMTP id q4mr628212bku.78.1265191508658; Wed, 03 Feb 2010 02:05:08 -0800 (PST) From: George Buranov Date: Wed, 3 Feb 2010 13:04:48 +0300 Message-ID: To: The development of GNU GRUB Content-Type: multipart/alternative; boundary=00151747884e724ab1047eaf5a5d X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: UEFI. Running grub only once functionality 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: Wed, 03 Feb 2010 10:05:18 -0000 --00151747884e724ab1047eaf5a5d Content-Type: text/plain; charset=ISO-8859-1 Hello everybody. <#inbox> I got situation: I need to load linux kernel from grub, that can easily fail on some computers (even in production). I use grub to load this and the only this kernel. So, what I want to do is to load another OS loader, if grub (or more specificly my kernel) fails. I know that UEFI supports this functionality (BootNext variable, UEFI Spec 3.1.2) "The boot manager is also required to initiate a boot of the boot option specified by the BootNext variable as the first boot option on the next boot, and only on the next boot. The boot manager removes the BootNext variable before transferring control to the BootNext boot option" If the grub can modify BootNext, if would be just ideal! I also read, that grub has internal support for booting-once only http://www.gnu.org/software/grub/manual/html_node/Booting-once_002donly.html#Booting-once_002donly But it is not really clear how does it check if the kernel fails - my kernel just hangs or reboot the OS??? So, this option does not seem too secure. I need 100% garanty that the GRUB will try to load only once, and after that it will pass the loading to another OS Thanks in advance! Regards, Georgy --00151747884e724ab1047eaf5a5d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello everybody.

I got situation: I need to load linux kernel from grub, th= at can easily fail on some computers (even in production). I use grub to lo= ad this and the only this kernel.

So, what I want to do is to load another OS loader, if grub (or more sp= ecificly my kernel) fails.

I know that UEFI supports this functional= ity (BootNext variable, UEFI Spec 3.1.2)
"The boot manager is also = required to initiate a boot of the boot option specified by the BootNext va= riable as the first boot option on the next boot, and only on the next boot= . The boot manager removes the BootNext variable before transferring contro= l to the BootNext boot option"

If the grub can modify BootNext, if would be just ideal!

I also = read, that grub has internal support for booting-once only
http://www.gnu.org/software/grub/manual/html_node/Bo= oting-once_002donly.html#Booting-once_002donly

But it is not really clear how does it check if the kernel fails - my k= ernel just hangs or reboot the OS??? So, this option does not seem too secu= re. I need 100% garanty that the GRUB will try to load only once, and after= that it will pass the loading to another OS

Thanks in advance!

Regards,
Georgy
--00151747884e724ab1047eaf5a5d--