From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Grub Change HELP
Date: Wed, 30 Jan 2008 14:50:01 +0100 [thread overview]
Message-ID: <20080130135001.GC15861@thorin> (raw)
In-Reply-To: <63853.201.21.145.69.1201659044.squirrel@webmail.sistemafenix.com.br>
On Wed, Jan 30, 2008 at 12:10:44AM -0200, gilberto@sistemafenix.com.br wrote:
> Hi, comunity of GNU Linux, Robert please see my idea about my problem:
> This file is builtins.c line 3974 more less. I add more commands.
> I set variable localiza to adress 0x000ffa17 , I am not sure but I think
> the function grub_sprintf, read the menu.lst if it is true I made the
> condicional expression to verify the variable localiza, depend of the
> value if read menu.lst or menu2.lst this form I can load the linux gnu
> system or other system. Depended of the value of the variable localiza. It
> is correct???
>
> localiza=0x000ffa17;
> grub_printf ("Endereço de 0x000ffa17\"contem= %d\"... ", *localiza);
> if ( *localiza == 0 )
> grub_sprintf (config_filename, "%s%s", prefix, "/menu.lst");
> else
> grub_sprintf (config_filename, "%s%s", prefix, "/menuw.lst");
Sorry I can't tell. I don't see any obvious mistakes in this code, but I'm
only familiar with GRUB 2. Try switching to that. It'll also make it easier
to debug your problem (since you can poke at variables in rescue mode, etc).
--
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 /.)
next prev parent reply other threads:[~2008-01-30 13:51 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
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 [this message]
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=20080130135001.GC15861@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.