Change MBR on a 64MB CF media

Hi,

I’m new to this subject so please bare with me.

I have a CF media connected via IDE to a PC. The media is mounted as E:
Under XP I want to do a “Format /s” on this media: Change the MBR and copy some DOS
files to make this media DOS bootable.
How can I change the MBR of a CF media ?
What can be a good starting point to handle this challenge ?
I’m aware there are utilities like the “HP format tool”.
But I’m looking for a command prompt utility that will do the job.
Are there any books on this subject ?

I have some experience with developing WDF device drivers for PCI based modules.
Should I develope a device driver for the above purpose ?

Thanks.

wrote in message news:xxxxx@ntfsd…
> Hi,
>
> I’m new to this subject so please bare with me.
>
> I have a CF media connected via IDE to a PC. The media is mounted as E:
> Under XP I want to do a “Format /s” on this media: Change the MBR and copy
> some DOS
> files to make this media DOS bootable.
> How can I change the MBR of a CF media ?
> What can be a good starting point to handle this challenge ?
> I’m aware there are utilities like the “HP format tool”.
> But I’m looking for a command prompt utility that will do the job.
> Are there any books on this subject ?
>
> I have some experience with developing WDF device drivers for PCI based
> modules.
> Should I develope a device driver for the above purpose ?
>
> Thanks.

Hi Zvi,
no need to develop any drivers.
Just leverage your experience with gnu and opensource.
See any Windows port of “dd” for how to write to disk sectors directly.

CreateFile Function :
http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx

IIRC, there was also some opensource DOS clone, from which you can borrow
format.

Good luck,
–pa

try
sys e:\
After formatting the drive e:.

Let me know the result.

-elango

On 10/1/10, xxxxx@gmail.com wrote:
> Hi,
>
> I’m new to this subject so please bare with me.
>
> I have a CF media connected via IDE to a PC. The media is mounted as E:
> Under XP I want to do a “Format /s” on this media: Change the MBR and copy
> some DOS
> files to make this media DOS bootable.
> How can I change the MBR of a CF media ?
> What can be a good starting point to handle this challenge ?
> I’m aware there are utilities like the “HP format tool”.
> But I’m looking for a command prompt utility that will do the job.
> Are there any books on this subject ?
>
> I have some experience with developing WDF device drivers for PCI based
> modules.
> Should I develope a device driver for the above purpose ?
>
> Thanks.
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule of debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>


Elango C (இளங்கோ சொக்கலிங்கம்)
Chennai, India.
website:http://celango.blogspot.com

“Obstacles are those frightful things you see
when you take your eyes off your goal.”

Hi,

What is "sys e:" ?

I tried it on windows XP and got " \sys’ is not recognized as an internal or external …".

Thanks.

Sys was a DOS command that transferred the system files to a disk. I doubt
that it exists on Windows.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Sunday, October 03, 2010 2:37 PM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Change MBR on a 64MB CF media

Hi,

What is "sys e:" ?

I tried it on windows XP and got " \sys’ is not recognized as an internal or
external …".

Thanks.


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars (including our new fs
mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer