On Tue, Jan 29, 2008 at 04:46:04PM -0200, [EMAIL PROTECTED] 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 /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel