Boot offset modification

  • Thread starter Thread starter Frankie Lai
  • Start date Start date
F

Frankie Lai

Hi,

I would like modify the MBR location on the harddisk, there is no problem
about the offset modification on BIOS. However, I would like to inform that
what I have to do on XPE part?

Thank you so much.

Frankie Lai
Shanda Entertainment
SDO Development Department
 
Frankie,

You can place your MBR code in BIOS itself if you want, but partition table is expected to be in first sector. Too many things
depend on this. ntldr, partition drivers, disk management programs.

So basically this can't be done (easily). What is the reason that you need to do this?

Solution for you:
- Modify bios int13 so that CHS and LBA request to sector 0 are internally redirected to sector that you want. (This will trick
programs that use BIOS like ntldr).
- Write disk filter driver or modify disk.sys (sources are in DDK) so that it remap sector 0 to position that you want. This will
trick all windows drivers and programs above it.

Regards,
Slobodan
 
Back
Top