grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub Change HELP


From: Robert Millan
Subject: Re: Grub Change HELP
Date: Wed, 30 Jan 2008 14:50:01 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Jan 30, 2008 at 12:10:44AM -0200, address@hidden 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 /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]