Re: How to hook bios function?!

2015-02-17 Thread Navid Movahedi
I found function grub_disk_read in include/grub/disk.h that is implemented in grub-core/kern/disk.c . If i add my decryption algorithm to this function, Does this modified function do the job after chainload to windows boot manager? On Tue, Feb 17, 2015 at 2:17 PM, Navid Movahedi wrote

Re: How to hook bios function?!

2015-02-17 Thread Navid Movahedi
Thanks Andrei I have systems with windows partition encrypted and i want to patch grub2 to boot windows from this partition. as you know in order to boot windows, bootmgr and winload use int 0x13 to load windows kernel from disk, so i need to hook interrupt 0x13 to decrypt disk on the fly. Anothe

How to hook bios function?!

2015-02-16 Thread Navid Movahedi
Hi Does grub2 have a mechanism to hook bios disk read function (int 0x13) and replace it with a new function? if it is possible how can i do that and which part of code is responsible for it? Thanks ___ Grub-devel mailing list Grub-devel@gnu.org https://