All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Grub Change HELP
Date: Tue, 29 Jan 2008 21:29:10 +0100	[thread overview]
Message-ID: <20080129202910.GA17207@thorin> (raw)
In-Reply-To: <63863.201.21.145.69.1201632364.squirrel@webmail.sistemafenix.com.br>

On Tue, Jan 29, 2008 at 04:46:04PM -0200, gilberto@sistemafenix.com.br wrote:
> 
> Hi, People, my name is Gilberto I from Brazil, I am development of Linux
> FeniX - www.sistemafenix.com.br
> I need your help about grub.
> I have a problem with grub source and I need your help urgently, I need
> change the code of the grub I need modify the boot loader code(grub) to
> check the  byte at memory location 0x000ffa17. If
> this byte is 0x00, then go to the normal Windows booting, if this byte is
> 0x01, then
> go to the Instant On booting.
> 
> But I need help to make this. Please help me. If necessary I will pay.

Try inserting something like this in the right place (e.g. grub_machine_init):

if (*((grub_uint8_t *) 0x000ffa17))
  grub_env_set ("default", "1");
else
  grub_env_set ("default", "0");

-- 
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 /.)



  reply	other threads:[~2008-01-29 20:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 18:46 Grub Change HELP gilberto
2008-01-29 20:29 ` Robert Millan [this message]
2008-01-29 20:30   ` Robert Millan
2008-01-30  0:33   ` gilberto
2008-01-30 13:46     ` Robert Millan
2008-01-30 14:03       ` gilberto
2008-01-30  2:10   ` gilberto
2008-01-30 13:50     ` Robert Millan
2008-01-31 21:30       ` What do I make the receive HELP? gilberto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080129202910.GA17207@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.