Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IqsxW-0000DC-4A for mharc-grub-devel@gnu.org; Sat, 10 Nov 2007 11:13:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IqsxU-0000BT-O4 for grub-devel@gnu.org; Sat, 10 Nov 2007 11:13:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IqsxT-00008n-73 for grub-devel@gnu.org; Sat, 10 Nov 2007 11:13:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqsxT-00008h-28 for grub-devel@gnu.org; Sat, 10 Nov 2007 11:13:19 -0500 Received: from smtp-vbr8.xs4all.nl ([194.109.24.28]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IqsxS-0003MD-QH for grub-devel@gnu.org; Sat, 10 Nov 2007 11:13:19 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAAGDHlv016555 for ; Sat, 10 Nov 2007 17:13:18 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <13554502.post@talk.nabble.com> Mail-Copies-To: mgerards@xs4all.nl Date: Sat, 10 Nov 2007 17:13:51 +0100 In-Reply-To: <13554502.post@talk.nabble.com> (misfitsskatermonkey@yahoo.com's message of "Sat, 3 Nov 2007 09:58:37 -0700 (PDT)") Message-ID: <87ejeygjsw.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting? 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, 10 Nov 2007 16:13:21 -0000 CurlyCoconutTree writes: > How do I boot a standalone program in grub (1.95) (a password checker via > serial input) before allowing grub to continue booting? I'm trying to > develop a program that will run, stand alone or with the libraries Grub > gives me access to, parse serial data for a password, store the password to > the MBR, then if valid return to Grub to boot windows... I'm not looking for > a solution, I'm just looking for a place to start! Grub, is pretty poorly > documented and I wouldn't be posting this is there was more (or I could find > more) info on how to develop for GRUB. I guess I'd be a 'noob'... I hate > using that term... we all have to start from some where. Noone is using that term. We also value good documentation and will be very happy if you could work on that. One way of doing this might be writing a new command. See hello/hello.c as an example. -- Marco