* How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting?
@ 2007-11-03 16:58 CurlyCoconutTree
2007-11-05 15:35 ` Robert Millan
2007-11-10 16:13 ` Marco Gerards
0 siblings, 2 replies; 6+ messages in thread
From: CurlyCoconutTree @ 2007-11-03 16:58 UTC (permalink / raw)
To: grub-devel
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.
-C
--
View this message in context: http://www.nabble.com/How-do-I-boot-a-standalone-program-in-grub-%28a-password-checker-via-serial-input%29-before-allowing-grub-to-continue-booting--tf4739931.html#a13554502
Sent from the Grub - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting?
2007-11-03 16:58 How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting? CurlyCoconutTree
@ 2007-11-05 15:35 ` Robert Millan
2007-11-05 16:57 ` Andrei E. Warkentin
2007-11-05 20:45 ` Christopher Walker
2007-11-10 16:13 ` Marco Gerards
1 sibling, 2 replies; 6+ messages in thread
From: Robert Millan @ 2007-11-05 15:35 UTC (permalink / raw)
To: The development of GRUB 2
On Sat, Nov 03, 2007 at 09:58:37AM -0700, CurlyCoconutTree wrote:
>
> 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.
IIRC someone implemented password checks in boot already, or was working on
that, but hasn't been merged yet. I suggest you check the mailing list
archives.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting?
2007-11-05 15:35 ` Robert Millan
@ 2007-11-05 16:57 ` Andrei E. Warkentin
2007-11-07 20:13 ` Robert Millan
2007-11-05 20:45 ` Christopher Walker
1 sibling, 1 reply; 6+ messages in thread
From: Andrei E. Warkentin @ 2007-11-05 16:57 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]
.... I think the actual question should have been worded more like
"is it possible to return control to GRUB from a booted (say)
Multiboot kernel, provided nothing (say) below 1MB is touched...".
Is it possible? I'm curious myself.
Andrei Evgenievich Warkentin
andrey.warkentin@gmail.com
Cell: (+1) (847) 321-15-55
05.11.2007, в 9:35, Robert Millan писал(а):
> On Sat, Nov 03, 2007 at 09:58:37AM -0700, CurlyCoconutTree wrote:
>>
>> 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.
>
> IIRC someone implemented password checks in boot already, or was
> working on
> that, but hasn't been merged yet. I suggest you check the mailing
> list
> archives.
>
> --
> Robert Millan
>
> <GPLv2> I know my rights; I want my phone call!
> <DRM> What use is a phone call, if you are unable to speak?
> (as seen on /.)
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
[-- Attachment #2: Type: text/html, Size: 5520 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting?
2007-11-05 15:35 ` Robert Millan
2007-11-05 16:57 ` Andrei E. Warkentin
@ 2007-11-05 20:45 ` Christopher Walker
1 sibling, 0 replies; 6+ messages in thread
From: Christopher Walker @ 2007-11-05 20:45 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]
I know someone was working on this. I need to create my own program for
personal use.
On 11/5/07, Robert Millan <rmh@aybabtu.com> wrote:
>
> On Sat, Nov 03, 2007 at 09:58:37AM -0700, CurlyCoconutTree wrote:
> >
> > 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.
>
> IIRC someone implemented password checks in boot already, or was working
> on
> that, but hasn't been merged yet. I suggest you check the mailing list
> archives.
>
> --
> Robert Millan
>
> <GPLv2> I know my rights; I want my phone call!
> <DRM> What use is a phone call, if you are unable to speak?
> (as seen on /.)
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
[-- Attachment #2: Type: text/html, Size: 1906 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting?
2007-11-05 16:57 ` Andrei E. Warkentin
@ 2007-11-07 20:13 ` Robert Millan
0 siblings, 0 replies; 6+ messages in thread
From: Robert Millan @ 2007-11-07 20:13 UTC (permalink / raw)
To: The development of GRUB 2
On Mon, Nov 05, 2007 at 10:57:52AM -0600, Andrei E. Warkentin wrote:
> .... I think the actual question should have been worded more like
> "is it possible to return control to GRUB from a booted (say)
> Multiboot kernel, provided nothing (say) below 1MB is touched...".
>
> Is it possible? I'm curious myself.
No.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting?
2007-11-03 16:58 How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting? CurlyCoconutTree
2007-11-05 15:35 ` Robert Millan
@ 2007-11-10 16:13 ` Marco Gerards
1 sibling, 0 replies; 6+ messages in thread
From: Marco Gerards @ 2007-11-10 16:13 UTC (permalink / raw)
To: The development of GRUB 2
CurlyCoconutTree <misfitsskatermonkey@yahoo.com> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-10 16:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03 16:58 How do I boot a standalone program in grub (a password checker via serial input) before allowing grub to continue booting? CurlyCoconutTree
2007-11-05 15:35 ` Robert Millan
2007-11-05 16:57 ` Andrei E. Warkentin
2007-11-07 20:13 ` Robert Millan
2007-11-05 20:45 ` Christopher Walker
2007-11-10 16:13 ` Marco Gerards
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.