From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CsMFB-0004MS-OZ for mharc-grub-devel@gnu.org; Sat, 22 Jan 2005 09:28:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CsMF7-0004JV-HM for grub-devel@gnu.org; Sat, 22 Jan 2005 09:28:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CsMF0-0004Dm-1z for grub-devel@gnu.org; Sat, 22 Jan 2005 09:27:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CsMEx-0004BP-51 for grub-devel@gnu.org; Sat, 22 Jan 2005 09:27:51 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CsLwA-000496-GA for grub-devel@gnu.org; Sat, 22 Jan 2005 09:08:26 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id C09A39651 for ; Sat, 22 Jan 2005 15:03:40 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 13174-06 for ; Sat, 22 Jan 2005 15:03:38 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id CEB3185E5 for ; Sat, 22 Jan 2005 15:03:38 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 89C29C046 for ; Sat, 22 Jan 2005 15:03:38 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: From: Marco Gerards Date: Sat, 22 Jan 2005 14:03:27 +0000 In-Reply-To: (Aki Tossavainen's message of "Wed, 12 Jan 2005 11:44:24 +0200 (EET)") Message-ID: <873bwt7e8g.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: Feature suggestion to grub 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: Sat, 22 Jan 2005 14:28:03 -0000 Aki Tossavainen writes: > This is something I've been wondering a while, but would it be possible to > build a "failsafe" system for grub which would work as follows: > > When grub loads an image and starts it, it'll write into a well-known > location value (say: 0), which means that the boot has not succeeded. Then > the booted system could write using a tool into the same location a value > (say: 1), which means that the boot succeeded. If the computer is booted > before the value has been changed, grub would choose next option or > failsafe > option to boot. > > Does this sound like something that could be made? Scripting is on the TODO, it is likely that for GRUB 2 such things will be made possible. I have no idea yet how this will work... -- Marco