Need help on disk.sys on Windows XPE

S

Shiju

Hi,
Has anyone modified disk.sys on windows XPE to interpret an OEM
partition as normal NTFS partition ? If not is it possible to get the
source code of disk.sys. I am setting up windows XPE as dual boot with
windows XP. In this configuration I want to interpret the XPE partition
as an OEM partition when running XP and a normal NTFS partition when
running XPE.

Thanks & Regards,
Shiju
 
S

Slobodan Brcin \(eMVP\)

Hi Shiju,

Disk driver sources are present in DDK that you can easily obtain.
You will probably want to fake MBR data.

Regards,
Slobodan
 
S

Shiju

Hi Slobodan,
Thanks. My requirement is that on booting to XPE, the XPE should
interpret its OEM partition as a normal NTFS partition. But on booting
to XP , the XP should interpret the XPE partition as it is( as
OEM).Could I able to do this dual behavior automatically just by
modifying the MBR data. Could you provide more detail on this.

Thanks & Regards,
 
S

Slobodan Brcin \(eMVP\)

Hi Shiju,

Is this real NTFS filesystem that you try to hide or your propriatery filesystem.
In case that this is your FS then you must write your filesystem driver or FS filter driver at least. To do that you must obtain
Windows IFS Development Kit.
In case that it is NTFS FS you can tamper with Partition type ID in partition table contained within MBR sector by presenting fake
data.

Regards,
Slobodan
 
S

Shiju

Hi Slobodan,
Thanks. The XPE partition is a real NTFS filesystem with partition type
OEM. So on booting to XPE, the XPE should interpret it as a normal NTFS
partition. Since I want to do it automatically without any user
intervention , will the program to modify the MBR data be part of XPE ?

Thanks & Regards,
Shiju
 
S

Slobodan Brcin \(eMVP\)

Shiju,

You can't modify MBR if you want this to work as you intended it to.
You must make disk filter driver or modify disk driver so that read directed to sector 0 return faked data at partition type
position.
I do not know if someone made such driver, but it should be easy to be done.

Regards,
Slobodan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top