[Top][All Lists]
[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: |
Tue, 29 Jan 2008 21:29:10 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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 - 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 /.)