grub-devel
[Top][All Lists]
Advanced

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

Re: who want money????


From: gilberto
Subject: Re: who want money????
Date: Thu, 31 Jan 2008 21:57:05 -0200 (BRST)
User-agent: SquirrelMail/1.4.5

Hi, thank you by reply my email. I made the download of the source with
grub2 and I will compile now with your suggests. If I understand this code
it's has the capabity of the load automatic the correct option in Grub2 I
will compile now!! Please wait !!! One few moments!!!

Gilberto


> On Thu, Jan 31, 2008 at 08:39:07PM -0200, address@hidden
> wrote:
>> Could You this rotine in grub2 to me? It´s a bussiness proposal to you!
>> If you can't make its. What is the better way?
>
> I think I told you before, but here it goes again:
>
> diff -ur grub2.old/kern/i386/pc/init.c grub2/kern/i386/pc/init.c
> --- grub2.old/kern/i386/pc/init.c       2008-01-23 12:25:52.000000000
> +0100
> +++ grub2/kern/i386/pc/init.c   2008-01-31 23:53:03.000000000 +0100
> @@ -229,6 +229,11 @@
>        }
>      else
>        grub_mm_init_region ((void *) mem_regions[i].addr,
> mem_regions[i].size);
> +
> +  if (*((grub_uint8_t *) 0x000ffa17))
> +    grub_env_set ("default", "1");
> +  else
> +    grub_env_set ("default", "0");
>
>    if (! grub_os_area_addr)
>      grub_fatal ("no upper memory");
>
> Then just add two menuentries, and grub will pick the default depending on
> the value in that memory position.
>
> Btw, if you don't mind me asking, what is this for?
>
> --
> 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
> http://lists.gnu.org/mailman/listinfo/grub-devel
>






reply via email to

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