grub-devel
[Top][All Lists]
Advanced

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

Re: How to hook bios function?!


From: Navid Movahedi
Subject: Re: How to hook bios function?!
Date: Tue, 17 Feb 2015 14:45:32 +0330

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 <address@hidden> wrote:
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. 

Another question: After the bios hooking is done i need to do this process for UEFI, Does grub2 support UEFI disk routines hooking? and How? 


reply via email to

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