[Top][All Lists]

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

Re: Grub Change HELP

From: gilberto
Subject: Re: Grub Change HELP
Date: Tue, 29 Jan 2008 22:33:18 -0200 (BRST)
User-agent: SquirrelMail/1.4.5

Robert thank you, You are great person, because worry with problems of the
others people. The best demonstration of the spirit GNU is this.

I will try put this code, in source grub,

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

but the problem is where??? I thought put in stage2.c. What do you think?
other problem is I need change de file /boot/grub/menu.lst
Because my project is a especial notebook with GNU linux(hibernate), when
the user push the bottom1 the notebook will load the linux GNU e when the
user push the other bottom will load some other system.
How i can change the menu.lst insite the grub it's is possible?
I am desesperate, because I need finish this project in next 3 days.
Because this I said pay to this. If you prefere. I could make payment in
account of the  FSF. U$ 1.000,00

I am waiting to answer people of the GNU comunity.

FeniX Linux

> On Tue, Jan 29, 2008 at 04:46:04PM -0200, address@hidden
> wrote:
>> Hi, People, my name is Gilberto I from Brazil, I am development of Linux
>> FeniX -
>> 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 /.)
> _______________________________________________
> Grub-devel mailing list
> address@hidden

reply via email to

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